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

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

Merge "Allow stats log printing from userdebug builds too."

parents f0b97877 980333c9
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -141,10 +141,14 @@ LOCAL_SHARED_LIBRARIES := $(statsd_common_shared_libraries) \

LOCAL_MODULE_CLASS := EXECUTABLES

# Enable sanitizer and allow very verbose printing on eng builds
# Enable sanitizer ONLY on eng builds.
ifeq ($(TARGET_BUILD_VARIANT),eng)
    LOCAL_CLANG := true
    LOCAL_SANITIZE := address
endif

# Add a flag to enable stats log printing from statsd on debug builds.
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
    LOCAL_CFLAGS += \
        -DVERY_VERBOSE_PRINTING
endif