forked from openkylin/platform_build
Revert "Keep PRODUCT_FULL_TREBLE to true even when some requirements are not met"
This reverts commit 55e17a753e
.
Reason for revert: Soong recognizes requirements.
Bug: 62019611
Test: still PRODUCT_FULL_TREBLE true on 2017 pixel
Change-Id: Id2b2186af5c9aa08e8f10ec2894f0f8d69f15d60
This commit is contained in:
parent
55e17a753e
commit
27aaecaf1e
|
@ -709,6 +709,9 @@ requirements := \
|
||||||
# PRODUCT_FULL_TREBLE
|
# PRODUCT_FULL_TREBLE
|
||||||
$(foreach req,$(requirements),$(eval \
|
$(foreach req,$(requirements),$(eval \
|
||||||
$(req) := $(if $($(req)_OVERRIDE),$($(req)_OVERRIDE),$(PRODUCT_FULL_TREBLE))))
|
$(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 := \
|
.KATI_READONLY := \
|
||||||
$(requirements) \
|
$(requirements) \
|
||||||
|
|
Loading…
Reference in New Issue