Fix string literals and cast void* appropriately. Alternatively, we could switch some of the allocations to new/delete, but we would need to make sure that none of those end up passed to other code that will call free(3) on them. Bug: 30110940 Change-Id: I6f39df65cd960930530e5a1f8420a28d50adc25d
13 lines
307 B
Makefile
13 lines
307 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES := sdcard.cpp fuse.cpp
|
|
LOCAL_MODULE := sdcard
|
|
LOCAL_CFLAGS := -Wall -Wno-unused-parameter -Werror
|
|
LOCAL_SHARED_LIBRARIES := liblog libcutils libpackagelistparser
|
|
|
|
LOCAL_SANITIZE := integer
|
|
LOCAL_CLANG := true
|
|
|
|
include $(BUILD_EXECUTABLE)
|