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

Commit dc567733 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents f2e00697 cd7f9005
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)