summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Martins <bgcngm@gmail.com>2018-04-01 11:55:15 +0100
committerBruno Martins <bgcngm@gmail.com>2018-04-01 22:37:50 +0000
commit512837f09b00019fb12d0890ace8b05e31f0b6a0 (patch)
treefe5f357267afd18073ed068b0525a8d290a6317d
parent13c3638d3cbd8b6594d62bb5e86760f9861f19a6 (diff)
flounder: Only add minidebug info on eng builds
Change-Id: Icd089a5ec94245186bd81abdbec99c6bd3681c16
-rw-r--r--device.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/device.mk b/device.mk
index 3de85f4..b866c0f 100644
--- a/device.mk
+++ b/device.mk
@@ -341,9 +341,9 @@ PRODUCT_PACKAGES += \
verity_warning_images
endif
-# In userdebug, add minidebug info the the boot image and the system server to support
-# diagnosing native crashes.
-ifneq (,$(filter userdebug, $(TARGET_BUILD_VARIANT)))
+# Add minidebug info the the boot image and the system server to support
+# diagnosing native crashes, only on eng builds.
+ifeq ($(TARGET_BUILD_VARIANT),eng)
# Boot image.
PRODUCT_DEX_PREOPT_BOOT_FLAGS += --generate-mini-debug-info
# System server and some of its services.