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

Commit 980333c9 authored by Yao Chen's avatar Yao Chen
Browse files

Allow stats log printing from userdebug builds too.

Test: manually tested.
Change-Id: Id24153dfa9f1520f5037a7af1d54c90c690f99bc
parent ec4dab7c
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