summaryrefslogtreecommitdiffstats
path: root/CleanSpec.mk
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2015-01-15 18:16:24 +0000
committerNarayan Kamath <narayan@google.com>2015-01-16 10:16:52 +0000
commitbaf3eb93ee4b81fcd2736e7642443799725989fe (patch)
tree3e2a321474b0472cd074b3f7ea433be8c5a235a7 /CleanSpec.mk
parentc56a60451188da6385ae9f52e0adbef14c647f21 (diff)
downloadbuild-baf3eb93ee4b81fcd2736e7642443799725989fe.zip
build-baf3eb93ee4b81fcd2736e7642443799725989fe.tar.gz
build-baf3eb93ee4b81fcd2736e7642443799725989fe.tar.bz2
Add ro.product.locale
This is a BCP-47 language tag representing the default locale for a given device. Support for the earlier mechanism of supplying a language and region via ro.product.locale.region/language has been removed. This change also removes support for supplying these properties via PRODUCT_ADDITIONAL_PROPERTY_OVERRIDES. Devices that need to override this should either rearrange their PRODUCT_LANGUAGES or supply a custom .prop file. bug: 17691569 Change-Id: I00c74098542b49b9c514a6ca39ea8d08179546c1
Diffstat (limited to 'CleanSpec.mk')
-rw-r--r--CleanSpec.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/CleanSpec.mk b/CleanSpec.mk
index 52a1b1f..4591fb7 100644
--- a/CleanSpec.mk
+++ b/CleanSpec.mk
@@ -315,6 +315,10 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/recovery/root/default.prop)
# an ABI change since the names will mangle differently.
$(call add-clean-step, rm -rf $(OUT_DIR))
+# Remove ro.product.locale.language/country and add ro.product.locale
+# instead.
+$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
+
# ************************************************
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
# ************************************************