Merge "Enable sanitizer on statsd eng build." into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
dc5677336c
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user