summaryrefslogtreecommitdiffstats
path: root/core/cleanbuild.mk
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-02-20 07:38:28 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-02-20 07:38:28 -0800
commit4d23ccc023c8b98eb97a7cce820aa80bff2f3522 (patch)
tree9d28fb439d1c7d37ec01058072c0542e8d6fa763 /core/cleanbuild.mk
parent41977d7cd2f0676a1b135a0991545721d6dce3ef (diff)
downloadbuild-4d23ccc023c8b98eb97a7cce820aa80bff2f3522.zip
build-4d23ccc023c8b98eb97a7cce820aa80bff2f3522.tar.gz
build-4d23ccc023c8b98eb97a7cce820aa80bff2f3522.tar.bz2
auto import from //branches/cupcake/...@132569
Diffstat (limited to 'core/cleanbuild.mk')
-rw-r--r--core/cleanbuild.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/core/cleanbuild.mk b/core/cleanbuild.mk
index 0b292bf..01bf9a5 100644
--- a/core/cleanbuild.mk
+++ b/core/cleanbuild.mk
@@ -104,8 +104,14 @@ else
# Don't bother with this extra part when explicitly building the sdk product.
building_sdk :=
endif
-current_build_config := $(TARGET_PRODUCT)-$(TARGET_BUILD_VARIANT)$(building_sdk)
+
+# A change in the list of locales warrants an installclean, too.
+locale_list := $(subst $(space),$(comma),$(strip $(PRODUCT_LOCALES)))
+
+current_build_config := \
+ $(TARGET_PRODUCT)-$(TARGET_BUILD_VARIANT)$(building_sdk)-{$(locale_list)}
building_sdk :=
+locale_list :=
force_installclean := false
# Read the current state from the file, if present.