Mark some TARGET_* inputs as readonly

Nobody should be changing these past this point.

Test: build_test.bash
Change-Id: I6eb574a0b4d339912d4a09f8f752294871965041
This commit is contained in:
Dan Willemsen 2017-10-30 17:57:59 -07:00
parent 8b664d0d96
commit 2c3f8366e2
1 changed files with 7 additions and 0 deletions

View File

@ -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