From 9588438023c2d5e53cba53852d940b2ff2c1bd40 Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Thu, 9 Nov 2017 11:27:19 -0800 Subject: [PATCH] Use PRODUCT_ENFORCE_VINTF_MANIFEST. PRODUCT_FULL_TREBLE is being split up into smaller, more manageable flags. Bug: 62019611 Test: manual Change-Id: I046f9eb4099cf441842f3d0e6908d99df063c27e --- target/board/Android.mk | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/target/board/Android.mk b/target/board/Android.mk index c5678d1c4..4b5af3c40 100644 --- a/target/board/Android.mk +++ b/target/board/Android.mk @@ -78,9 +78,7 @@ GEN := $(local-generated-sources-dir)/manifest.xml $(GEN): PRIVATE_FLAGS := -# TODO(b/37954458), (b/37321309) remove check of PRODUCT_FULL_TREBLE after -# putting device compatibility matrices for non-treble devices. -ifeq ($(PRODUCT_FULL_TREBLE),true) +ifeq ($(PRODUCT_ENFORCE_VINTF_MANIFEST),true) ifdef BUILT_VENDOR_MATRIX $(GEN): $(BUILT_VENDOR_MATRIX) $(GEN): PRIVATE_FLAGS += -c "$(BUILT_VENDOR_MATRIX)" @@ -105,9 +103,7 @@ GEN := $(local-generated-sources-dir)/compatibility_matrix.xml $(GEN): PRIVATE_FLAGS := -# TODO(b/37954458), (b/37321309) remove check of PRODUCT_FULL_TREBLE after -# putting complete HAL manifests on non-treble devices. -ifeq ($(PRODUCT_FULL_TREBLE),true) +ifeq ($(PRODUCT_ENFORCE_VINTF_MANIFEST),true) ifdef BUILT_VENDOR_MANIFEST $(GEN): $(BUILT_VENDOR_MANIFEST) $(GEN): PRIVATE_FLAGS += -c "$(BUILT_VENDOR_MANIFEST)"