Merge "Revert "Keep PRODUCT_FULL_TREBLE to true even when some requirements are not met"" am: eba55d2515
am: 4b5c056216
Change-Id: Id1ba76beec7bbe93dbd2841fc6b8df4b26d92ac8
This commit is contained in:
commit
df055ca4ef
|
@ -764,6 +764,9 @@ requirements := \
|
|||
# PRODUCT_FULL_TREBLE
|
||||
$(foreach req,$(requirements),$(eval \
|
||||
$(req) := $(if $($(req)_OVERRIDE),$($(req)_OVERRIDE),$(PRODUCT_FULL_TREBLE))))
|
||||
# If the requirement is false for any reason, then it's not PRODUCT_FULL_TREBLE
|
||||
$(foreach req,$(requirements),$(eval \
|
||||
PRODUCT_FULL_TREBLE := $(if $(filter false,$($(req))),false,$(PRODUCT_FULL_TREBLE))))
|
||||
|
||||
PRODUCT_FULL_TREBLE_OVERRIDE ?=
|
||||
$(foreach req,$(requirements),$(eval $(req)_OVERRIDE ?=))
|
||||
|
|
Loading…
Reference in New Issue