From fb1160d0b89f5c21609308a989eebdb79f152020 Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Thu, 28 Dec 2023 21:39:10 +0000 Subject: [PATCH] PRODUCT_FULL_TREBLE disabled warning Treble is like so 2016, but it's 2023. Bug: 307369186 Test: build Change-Id: Icb24e218d0dbc5f76f0c83f809728d33dc67719e --- core/config.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/config.mk b/core/config.mk index d5fec33a1a..4d79e2bcb5 100644 --- a/core/config.mk +++ b/core/config.mk @@ -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.)