Merge "Enable sanitizer on statsd eng build." into pi-dev

This commit is contained in:
TreeHugger Robot
2018-03-21 20:09:10 +00:00
committed by Android (Google) Code Review

View File

@@ -135,6 +135,12 @@ LOCAL_SHARED_LIBRARIES := $(statsd_common_shared_libraries) \
LOCAL_MODULE_CLASS := EXECUTABLES
# Enable sanitizer on eng builds
ifeq ($(TARGET_BUILD_VARIANT),eng)
LOCAL_CLANG := true
LOCAL_SANITIZE := address unsigned-integer-overflow signed-integer-overflow
endif
LOCAL_INIT_RC := statsd.rc
include $(BUILD_EXECUTABLE)