Make more Treble make variables read only.
This makes the following readonly if they are defined: - PRODUCT_FULL_TREBLE_OVERRIDE - Linker/sepolicy/vintf overrides for PRODUCT_FULL_TREBLE Test: multiproduct_kati Change-Id: Ib33e2e23b74a049e87667358bed331f86e517837
This commit is contained in:
parent
2655e57bbb
commit
0e6301c996
1 changed files with 6 additions and 1 deletions
|
@ -724,9 +724,14 @@ requirements := \
|
|||
$(foreach req,$(requirements),$(eval \
|
||||
$(req) := $(if $($(req)_OVERRIDE),$($(req)_OVERRIDE),$(PRODUCT_FULL_TREBLE))))
|
||||
|
||||
PRODUCT_FULL_TREBLE_OVERRIDE ?=
|
||||
$(foreach req,$(requirements),$(eval $(req)_OVERRIDE ?=))
|
||||
|
||||
.KATI_READONLY := \
|
||||
PRODUCT_FULL_TREBLE_OVERRIDE \
|
||||
$(foreach req,$(requirements),$(req)_OVERRIDE) \
|
||||
$(requirements) \
|
||||
PRODUCT_FULL_TREBLE
|
||||
PRODUCT_FULL_TREBLE \
|
||||
|
||||
requirements :=
|
||||
|
||||
|
|
Loading…
Reference in a new issue