Allow stats log printing from userdebug builds too.
Test: manually tested. Change-Id: Id24153dfa9f1520f5037a7af1d54c90c690f99bc
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user