diff options
author | padarshr <padarshr@codeaurora.org> | 2016-10-28 11:32:21 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-10-27 23:04:33 -0700 |
commit | d7585b2a921ac48e2f82de50489d9a8ae0169a9c (patch) | |
tree | 88d66464d2a6dbdb8e01654a623657a5e916b0b8 | |
parent | b28cd127736d827383f6193fc8e17bca2bdd2a76 (diff) |
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
-rw-r--r-- | msmfalcon_64.mk | 13 |
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 |