Merge "init: Enable LOCAL_DETECT_INTEGER_OVERFLOWS"

This commit is contained in:
Nick Kralevich 2015-06-16 20:36:48 +00:00 committed by Gerrit Code Review
commit 6b27b7d608
1 changed files with 4 additions and 0 deletions

View File

@ -30,6 +30,8 @@ LOCAL_SRC_FILES:= \
LOCAL_STATIC_LIBRARIES := libbase
LOCAL_MODULE := libinit
LOCAL_DETECT_INTEGER_OVERFLOWS := true
LOCAL_CLANG := true
include $(BUILD_STATIC_LIBRARY)
@ -77,6 +79,7 @@ LOCAL_POST_INSTALL_CMD := $(hide) mkdir -p $(TARGET_ROOT_OUT)/sbin; \
ln -sf ../init $(TARGET_ROOT_OUT)/sbin/ueventd; \
ln -sf ../init $(TARGET_ROOT_OUT)/sbin/watchdogd
LOCAL_DETECT_INTEGER_OVERFLOWS := true
LOCAL_CLANG := true
include $(BUILD_EXECUTABLE)
@ -94,5 +97,6 @@ LOCAL_SHARED_LIBRARIES += \
libbase \
LOCAL_STATIC_LIBRARIES := libinit
LOCAL_DETECT_INTEGER_OVERFLOWS := true
LOCAL_CLANG := true
include $(BUILD_NATIVE_TEST)