summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-11-07 22:12:24 -0800
committerLinux Build Service Account <lnxbuild@localhost>2016-11-07 22:12:24 -0800
commit12a382a391319e536653aa90a592ac37c0659f40 (patch)
tree88d66464d2a6dbdb8e01654a623657a5e916b0b8
parentd3e4d3963d5f2ab44605aa2a80b538a3af9bae70 (diff)
parentd7585b2a921ac48e2f82de50489d9a8ae0169a9c (diff)
Promotion of qcom-devices.lnx.1.0-00023.
CRs Change ID Subject -------------------------------------------------------------------------------------------------------------- 1083516 Ie47d04e7b3d2cb271580efcffcb968c034323629 Enable logdumpd only for userdebug non-perf builds Change-Id: I43cf263926eebe5bd5928ceec0d2e683c7b3da79 CRs-Fixed: 1083516
-rw-r--r--msmfalcon_64.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/msmfalcon_64.mk b/msmfalcon_64.mk
index c657b64..b777fe9 100644
--- a/msmfalcon_64.mk
+++ b/msmfalcon_64.mk
@@ -83,3 +83,16 @@ PRODUCT_COPY_FILES += device/qcom/msmfalcon_64/msm_irqbalance.conf:system/vendor
PRODUCT_PACKAGES += \
fs_config_files
+# Enable logdumpd service only for non-perf bootimage
+ifeq ($(findstring perf,$(KERNEL_DEFCONFIG)),)
+ ifeq ($(TARGET_BUILD_VARIANT),user)
+ PRODUCT_DEFAULT_PROPERTY_OVERRIDES+= \
+ ro.logdumpd.enabled=0
+ else
+ PRODUCT_DEFAULT_PROPERTY_OVERRIDES+= \
+ ro.logdumpd.enabled=1
+ endif
+else
+ PRODUCT_DEFAULT_PROPERTY_OVERRIDES+= \
+ ro.logdumpd.enabled=0
+endif