Merge "Keep PRODUCT_FULL_TREBLE to true even when some requirements are not met"

This commit is contained in:
Treehugger Robot 2017-11-14 22:14:28 +00:00 committed by Gerrit Code Review
commit 8a89848373

View file

@ -709,9 +709,6 @@ 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))))
.KATI_READONLY := \
$(requirements) \