From 2c3f8366e2c6479f75266a98204d02b313891a78 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Mon, 30 Oct 2017 17:57:59 -0700 Subject: [PATCH] Mark some TARGET_* inputs as readonly Nobody should be changing these past this point. Test: build_test.bash Change-Id: I6eb574a0b4d339912d4a09f8f752294871965041 --- core/product_config.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/product_config.mk b/core/product_config.mk index d7881df0b..deb68baaf 100644 --- a/core/product_config.mk +++ b/core/product_config.mk @@ -151,6 +151,13 @@ ifdef unbundled_goals endif # unbundled_goals endif +# Now that we've parsed APP-* and PRODUCT-*, mark these as readonly +TARGET_BUILD_APPS ?= +.KATI_READONLY := \ + TARGET_PRODUCT \ + TARGET_BUILD_VARIANT \ + TARGET_BUILD_APPS + # Default to building dalvikvm on hosts that support it... ifeq ($(HOST_OS),linux) # ... or if the if the option is already set