From d7585b2a921ac48e2f82de50489d9a8ae0169a9c Mon Sep 17 00:00:00 2001 From: padarshr Date: Fri, 28 Oct 2016 11:32:21 +0530 Subject: Enable logdumpd only for userdebug non-perf builds This change will enable logdump daemon only for userdebug non-perf builds. On other builds, it will be disabled by default. Change-Id: Ie47d04e7b3d2cb271580efcffcb968c034323629 --- msmfalcon_64.mk | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 -- cgit v1.2.3