ANDROID: Remove list of protected modules & exports

* This logic was previously used to configure runtime symbol protection
  for exports and imports, which after the refactor are no longer
  needed.

Bug: 393366754
Change-Id: Ia446873e738e0262bc49ec290af3abc3e610df8c
Signed-off-by: Ulises Mendez Martinez <umendez@google.com>
This commit is contained in:
Ulises Mendez Martinez
2025-05-29 19:36:43 +00:00
parent 4446f7e727
commit 97f4744468

View File

@@ -100,14 +100,6 @@ write_file(
],
)
write_file(
name = "gki_aarch64_protected_modules",
out = "gki/aarch64/protected_modules",
content = get_gki_protected_modules_list("arm64") + [
"", # Ensure new line at the end.
],
)
write_file(
name = "gki_aarch64_protected_module_names",
out = "gki/aarch64/protected_module_names",
@@ -129,14 +121,6 @@ write_file(
],
)
write_file(
name = "gki_x86_64_protected_modules",
out = "gki/x86_64/protected_modules",
content = get_gki_protected_modules_list("x86_64") + [
"", # Ensure new line at the end.
],
)
write_file(
name = "gki_x86_64_protected_module_names",
out = "gki/x86_64/protected_module_names",
@@ -270,9 +254,7 @@ common_kernel(
make_goals = _GKI_AARCH64_MAKE_GOALS,
makefile = ":Makefile",
module_implicit_outs = get_gki_modules_list("arm64") + get_kunit_modules_list("arm64"),
protected_exports_list = "gki/aarch64/protected_exports",
protected_module_names_list = ":gki_aarch64_protected_module_names",
protected_modules_list = ":gki_aarch64_protected_modules",
system_dlkm_extra_archive_files = [":generate_gki_module_info_arm64"],
trim_nonlisted_kmi = True,
visibility = ["//visibility:public"],
@@ -302,9 +284,7 @@ common_kernel(
makefile = ":Makefile",
module_implicit_outs = get_gki_modules_list("arm64") + get_kunit_modules_list("arm64"),
page_size = "16k",
protected_exports_list = "gki/aarch64/protected_exports",
protected_module_names_list = ":gki_aarch64_protected_module_names",
protected_modules_list = ":gki_aarch64_protected_modules",
system_dlkm_extra_archive_files = [":generate_gki_module_info_arm64"],
trim_nonlisted_kmi = True,
visibility = ["//visibility:public"],
@@ -332,9 +312,7 @@ common_kernel(
makefile = ":Makefile",
module_implicit_outs = get_gki_modules_list("arm64") + get_kunit_modules_list("arm64"),
pre_defconfig_fragments = ["arch/arm64/configs/tv_gki.fragment"],
protected_exports_list = "gki/aarch64/protected_exports",
protected_module_names_list = ":gki_aarch64_protected_module_names",
protected_modules_list = ":gki_aarch64_protected_modules",
system_dlkm_extra_archive_files = [":generate_gki_module_info_arm64"],
trim_nonlisted_kmi = True,
visibility = ["//visibility:public"],
@@ -373,9 +351,7 @@ common_kernel(
make_goals = _GKI_AARCH64_MAKE_GOALS,
makefile = ":Makefile",
module_implicit_outs = get_gki_modules_list("arm64") + get_kunit_modules_list("arm64"),
protected_exports_list = "gki/aarch64/protected_exports",
protected_module_names_list = ":gki_aarch64_protected_module_names",
protected_modules_list = ":gki_aarch64_protected_modules",
system_dlkm_extra_archive_files = [":generate_gki_module_info_arm64"],
trim_nonlisted_kmi = True,
visibility = ["//visibility:public"],