Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 297bb899 authored by Yao Chen's avatar Yao Chen Committed by android-build-merger
Browse files

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

am: a40fe494

Change-Id: Ic898bbb4d8129097192ca75600682e937cba5f33
parents ce42eb00 a40fe494
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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)