From cb5b8d2d473dc0b0a45a00ce8072e55dce3309f4 Mon Sep 17 00:00:00 2001 From: Michael Schwartz Date: Mon, 22 May 2017 14:02:27 -0700 Subject: [PATCH] Include Treble metadata on Treble enabled devices Bug: 38431773 Test: `m -j dist` for bullhead and sailfish and inspect target_files Change-Id: I55da654f42af08f27a79249177a0078b66cf1662 --- core/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/Makefile b/core/Makefile index b6a704ae9..3f29ac265 100644 --- a/core/Makefile +++ b/core/Makefile @@ -2338,6 +2338,8 @@ endif ifdef INSTALLED_SYSTEMOTHERIMAGE_TARGET $(hide) $(call fs_config,$(zip_root)/SYSTEM_OTHER,system/) > $(zip_root)/META/system_other_filesystem_config.txt endif + +ifeq ($(PRODUCT_FULL_TREBLE),true) @# Metadata for compatibility verification. $(hide) cp $(BUILT_SYSTEM_MANIFEST) $(zip_root)/META/system_manifest.xml $(hide) cp $(BUILT_SYSTEM_COMPATIBILITY_MATRIX) $(zip_root)/META/system_compatibility_matrix.xml @@ -2346,6 +2348,7 @@ ifdef BUILT_VENDOR_MANIFEST endif ifdef BUILT_VENDOR_MATRIX $(hide) cp $(BUILT_VENDOR_MATRIX) $(zip_root)/META/vendor_matrix.xml +endif endif $(hide) PATH=$(foreach p,$(INTERNAL_USERIMAGES_BINARY_PATHS),$(p):)$$PATH MKBOOTIMG=$(MKBOOTIMG) \