ANDROID: GKI: Enable symbol trimming and strict mode

We will now un-export all symbols that are not in the symbol lists. We
will also require all the symbols in the symbol list to be exported.

Bug: 199945812
Signed-off-by: Will McVicker <willmcvicker@google.com>
Change-Id: I0dbc1fef6e68a75c9c8d6a01dbb1b8d30acc80ec
This commit is contained in:
Will McVicker
2021-09-14 16:08:45 -07:00
parent 745974536d
commit 205d5f733f

View File

@@ -18,6 +18,9 @@ android/abi_gki_aarch64_virtual_device
FILES="${FILES}
arch/arm64/boot/Image.lz4
"
TRIM_NONLISTED_KMI=${TRIM_NONLISTED_KMI:-1}
KMI_SYMBOL_LIST_STRICT_MODE=${KMI_SYMBOL_LIST_STRICT_MODE:-1}
MODULES_ORDER=android/gki_aarch64_modules
if [ -n "${GKI_DEFCONFIG_FRAGMENT}" ]; then