ANDROID: GKI: enable KMI enforcement

Add android/abi_gki_aarch64.stg as initial ABI representation of the
KMI, enable trimming of symbols outside KMI and start enforcing KMI.

While this is hard enforcement in the code base, we still allow
controlled changes to the ABI until KMI freeze.

Test: TH
Bug: 269323432
Change-Id: I016fe12aff4d781640340e16a2ae278e6bf5cd84
Signed-off-by: Aleksei Vetrov <vvvvvv@google.com>
This commit is contained in:
Aleksei Vetrov
2023-02-15 16:20:26 +00:00
parent 2f173b83a0
commit d34386a49d
2 changed files with 340480 additions and 4 deletions

View File

@@ -29,19 +29,18 @@ _aarch64_additional_kmi_symbol_lists = [
define_common_kernels(target_configs = {
"kernel_aarch64": {
# TODO(b/188620248): re-enable trimming
"trim_nonlisted_kmi": False,
# TODO(b/269346251): re-enable strict mode
"kmi_symbol_list_strict_mode": False,
"module_implicit_outs": COMMON_GKI_MODULES_LIST,
"kmi_symbol_list": "android/abi_gki_aarch64",
"additional_kmi_symbol_lists": _aarch64_additional_kmi_symbol_lists,
},
"kernel_aarch64_16k": {
"kmi_symbol_list_strict_mode": False,
"module_implicit_outs": COMMON_GKI_MODULES_LIST,
},
"kernel_aarch64_debug": {
# TODO(b/188620248): re-enable trimming
"trim_nonlisted_kmi": False,
# TODO(b/269346251): re-enable strict mode
"kmi_symbol_list_strict_mode": False,
"module_implicit_outs": COMMON_GKI_MODULES_LIST,
"kmi_symbol_list": "android/abi_gki_aarch64",

340477
android/abi_gki_aarch64.stg Normal file

File diff suppressed because it is too large Load Diff