From 4022ec99a6e7ac10788d5161d95dbdbadc213d96 Mon Sep 17 00:00:00 2001 From: Jaekyun Seok Date: Mon, 13 Nov 2017 12:08:40 +0900 Subject: [PATCH] Move system default values in system partition The following properties are specified under platform/build as system default values. - tombstoned.max_tombstone_count - debug.atrace.tags.enableflags - dalvik.vm.dex2oat-minidebuginfo So they should move into system partition. Bug: 64661857 Test: confirmed that the default properties were stored in /system/etc/prop.default on sailfish device Change-Id: Ic34c05fd9761e281962b6bb425e4babedfca45a9 --- target/product/core_minimal.mk | 2 +- target/product/embedded.mk | 2 +- target/product/runtime_libart.mk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/target/product/core_minimal.mk b/target/product/core_minimal.mk index fc9da87fa..b2ee7bb0f 100644 --- a/target/product/core_minimal.mk +++ b/target/product/core_minimal.mk @@ -155,7 +155,7 @@ PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\ # On userdebug builds, collect more tombstones by default. ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT))) -PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ +PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ tombstoned.max_tombstone_count=50 endif diff --git a/target/product/embedded.mk b/target/product/embedded.mk index 4e1adc824..9e684f7b3 100644 --- a/target/product/embedded.mk +++ b/target/product/embedded.mk @@ -105,7 +105,7 @@ PRODUCT_PACKAGES_DEBUG += \ # Ensure that this property is always defined so that bionic_systrace.cpp # can rely on it being initially set by init. -PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ +PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ debug.atrace.tags.enableflags=0 PRODUCT_COPY_FILES += \ diff --git a/target/product/runtime_libart.mk b/target/product/runtime_libart.mk index 42c8ea8c5..6e7038e6d 100644 --- a/target/product/runtime_libart.mk +++ b/target/product/runtime_libart.mk @@ -89,5 +89,5 @@ PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ pm.dexopt.shared=speed # Enable minidebuginfo generation unless overridden. -PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ +PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ dalvik.vm.dex2oat-minidebuginfo=true