aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Cross2017-10-27 18:10:18 -0500
committerColin Cross2017-10-27 18:25:55 -0500
commitd5cce4c3602524e10d3b0558b8f92c4096596344 (patch)
tree20ee7ca63ca3f87fd07310c70999d529e47279de /CleanSpec.mk
parent0bbd8d9e376ff84e417982796b756f032683d2bd (diff)
downloadplatform-build-d5cce4c3602524e10d3b0558b8f92c4096596344.tar.gz
platform-build-d5cce4c3602524e10d3b0558b8f92c4096596344.tar.xz
platform-build-d5cce4c3602524e10d3b0558b8f92c4096596344.zip
Remove PRODUCT_AAPT2_CFLAGS and PRODUCT_AAPT_FLAGS
PRODUCT_AAPT2_CFLAGS and PRODUCT_AAPT_FLAGS are only used to pass --pseudo-localize. The flag doesn't need to be conditional on the product, because the pseudo locale will be stripped out later if it is not wanted. Having it conditional on the product causes the AAPT2-compiled resources to vary between products, which causes unnecessary rebuilds when swithcing products. Remove the variables, always add --pseudo-localize, and move the AAPT2 compiled output to the common intermediates. Test: m checkbuild Change-Id: Iacc914114616b5bd19d9a1011802f4f9bca9bc19
Diffstat (limited to 'CleanSpec.mk')
-rw-r--r--CleanSpec.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/CleanSpec.mk b/CleanSpec.mk
index 23eba4f25..3ba1f45e9 100644
--- a/CleanSpec.mk
+++ b/CleanSpec.mk
@@ -442,6 +442,8 @@ $(call add-clean-step, rm -f $(OUT_DIR)/target/common/obj/*/*_intermediates/java
442$(call add-clean-step, rm -rf $(OUT_DIR)/host/common/obj/*/*_intermediates/src) 442$(call add-clean-step, rm -rf $(OUT_DIR)/host/common/obj/*/*_intermediates/src)
443$(call add-clean-step, rm -f $(OUT_DIR)/host/common/obj/*/*_intermediates/java-source-list) 443$(call add-clean-step, rm -f $(OUT_DIR)/host/common/obj/*/*_intermediates/java-source-list)
444 444
445$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/*/flat-res)
446
445# ************************************************ 447# ************************************************
446# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST 448# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
447# ************************************************ 449# ************************************************