From c35a33e59cdc152d383cad8e4ae89753d3eef230 Mon Sep 17 00:00:00 2001 From: Jiyong Park Date: Mon, 11 Feb 2019 21:42:57 +0900 Subject: [PATCH] TARGET_FLATTEN_APEX for GSI Regular (non-flattened) APEX may require changes to the kernel, which is against the Treble promise. For maximum compatibility, APEXes are flattened for GSI so that APEXes can be activated by legacy kernels. Bug: 124159875 Test: N/A Change-Id: Iea5701d3b917ebf8657d3ce38131c1838b51677e --- target/board/BoardConfigGsiCommon.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/target/board/BoardConfigGsiCommon.mk b/target/board/BoardConfigGsiCommon.mk index 1037eec7cd..23cdf53360 100644 --- a/target/board/BoardConfigGsiCommon.mk +++ b/target/board/BoardConfigGsiCommon.mk @@ -61,3 +61,7 @@ BOARD_CACHEIMAGE_PARTITION_SIZE := 16777216 # Disable 64 bit mediadrmserver TARGET_ENABLE_MEDIADRM_64 := + +# Ordinary (non-flattened) APEX may require kernel changes. For maximum compatibility, +# use flattened APEX for GSI +TARGET_FLATTEN_APEX := true