From d02bc472905d26396fa193966728a5d3d10b6c80 Mon Sep 17 00:00:00 2001 From: Ramji Jiyani Date: Tue, 28 Feb 2023 23:36:41 +0000 Subject: [PATCH] ANDROID: GKI: define protected exports and modules list Define protected modules and exports list for the aarch64 target. This enables support to update and/or create protected exports list at common/android/abi_gki_protected_exports based on the modules listed in common/android/gki_protected_modules. Command: bazel run --config=fast //common:kernel_aarch64_abi_update_protected_exports Bug: 268679215 Test: bazel run //common:kernel_aarch64_abi_update_protected_exports Test: TH Change-Id: I36a18162c2ef253fcf691b016b4da861d9c61e4a Signed-off-by: Ramji Jiyani --- BUILD.bazel | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/BUILD.bazel b/BUILD.bazel index 06a24808d89f..c8e0b4fcbeee 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -27,6 +27,8 @@ define_common_kernels(target_configs = { "module_implicit_outs": COMMON_GKI_MODULES_LIST, "kmi_symbol_list": "android/abi_gki_aarch64", "additional_kmi_symbol_lists": _aarch64_additional_kmi_symbol_lists, + "protected_exports_list": "android/abi_gki_protected_exports", + "protected_modules_list": "android/gki_protected_modules", }, "kernel_aarch64_16k": { "kmi_symbol_list_strict_mode": False, @@ -38,6 +40,8 @@ define_common_kernels(target_configs = { "module_implicit_outs": COMMON_GKI_MODULES_LIST, "kmi_symbol_list": "android/abi_gki_aarch64", "additional_kmi_symbol_lists": _aarch64_additional_kmi_symbol_lists, + "protected_exports_list": "android/abi_gki_protected_exports", + "protected_modules_list": "android/gki_protected_modules", }, "kernel_riscv64": { "kmi_symbol_list_strict_mode": False,