Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fb1160d0 authored by Steven Moreland's avatar Steven Moreland
Browse files

PRODUCT_FULL_TREBLE disabled warning

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

Bug: 307369186
Test: build
Change-Id: Icb24e218d0dbc5f76f0c83f809728d33dc67719e
parent a7932967
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -804,6 +804,10 @@ PRODUCT_NOTICE_SPLIT := true
    PRODUCT_FULL_TREBLE \
    PRODUCT_FULL_TREBLE \
    PRODUCT_NOTICE_SPLIT \
    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) \
$(KATI_obsolete_var $(foreach req,$(requirements),$(req)_OVERRIDE) \
    ,This should be referenced without the _OVERRIDE suffix.)
    ,This should be referenced without the _OVERRIDE suffix.)