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 <ramjiyani@google.com>
This commit is contained in:
Ramji Jiyani
2023-02-28 23:36:41 +00:00
committed by Treehugger Robot
parent aa8e0ddc4a
commit d02bc47290

View File

@@ -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,