From bff4b52ce1ae95b263aa44abdd0c1bcfec6e7264 Mon Sep 17 00:00:00 2001 From: SzuWei Lin Date: Thu, 5 Aug 2021 15:29:39 +0800 Subject: [PATCH] Always build modules in GSI from source GSI includes both flattened and unflattened apex at the same time. However, a flattend apex is not built if the module is built from prebuilt binary. So, we enable 'MODULE_BUILD_FROM_SOURCE := true' to force GSI built all modules from source. Bug: 194917545 Test: build gsi_gms_arm64-user Test: check com.google.android.art exists in /system/system_ext/apex/ Change-Id: I89eef3e8d06ec1f9d3245513c2dbbff0777e2c62 Merged-In: I89eef3e8d06ec1f9d3245513c2dbbff0777e2c62 --- target/product/gsi_release.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/product/gsi_release.mk b/target/product/gsi_release.mk index 8591a83e06..d924d0bc11 100644 --- a/target/product/gsi_release.mk +++ b/target/product/gsi_release.mk @@ -71,3 +71,6 @@ PRODUCT_BUILD_USERDATA_IMAGE := false PRODUCT_BUILD_VENDOR_IMAGE := false PRODUCT_BUILD_SUPER_PARTITION := false PRODUCT_BUILD_SUPER_EMPTY_IMAGE := false + +# Always build modules from source +MODULE_BUILD_FROM_SOURCE := true