* commit '631415129c51a24cd5c9843694bd5283fe3b9345': libcutils: enable LOCAL_SANITIZE := integer
This commit is contained in:
commit
3192689b21
1 changed files with 4 additions and 0 deletions
|
|
@ -126,6 +126,8 @@ ifneq ($(ENABLE_CPUSETS),)
|
||||||
LOCAL_CFLAGS += -DUSE_CPUSETS
|
LOCAL_CFLAGS += -DUSE_CPUSETS
|
||||||
endif
|
endif
|
||||||
LOCAL_CFLAGS += -Werror -Wall -Wextra -std=gnu90
|
LOCAL_CFLAGS += -Werror -Wall -Wextra -std=gnu90
|
||||||
|
LOCAL_CLANG := true
|
||||||
|
LOCAL_SANITIZE := integer
|
||||||
include $(BUILD_STATIC_LIBRARY)
|
include $(BUILD_STATIC_LIBRARY)
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
@ -139,6 +141,8 @@ LOCAL_CFLAGS += -DUSE_CPUSETS
|
||||||
endif
|
endif
|
||||||
LOCAL_CFLAGS += -Werror -Wall -Wextra
|
LOCAL_CFLAGS += -Werror -Wall -Wextra
|
||||||
LOCAL_C_INCLUDES := $(libcutils_c_includes)
|
LOCAL_C_INCLUDES := $(libcutils_c_includes)
|
||||||
|
LOCAL_CLANG := true
|
||||||
|
LOCAL_SANITIZE := integer
|
||||||
include $(BUILD_SHARED_LIBRARY)
|
include $(BUILD_SHARED_LIBRARY)
|
||||||
|
|
||||||
include $(call all-makefiles-under,$(LOCAL_PATH))
|
include $(call all-makefiles-under,$(LOCAL_PATH))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue