PRODUCT_FULL_TREBLE disabled warning

Treble is like so 2016, but it's 2023.

Bug: 307369186
Test: build
Change-Id: Icb24e218d0dbc5f76f0c83f809728d33dc67719e
This commit is contained in:
Steven Moreland
2023-12-28 21:39:10 +00:00
parent a79329678d
commit fb1160d0b8

View File

@@ -804,6 +804,10 @@ PRODUCT_NOTICE_SPLIT := true
PRODUCT_FULL_TREBLE \
PRODUCT_NOTICE_SPLIT \
ifneq ($(PRODUCT_FULL_TREBLE),true)
$(warning This device does not have Treble enabled. This is unsafe.)
endif
$(KATI_obsolete_var $(foreach req,$(requirements),$(req)_OVERRIDE) \
,This should be referenced without the _OVERRIDE suffix.)