ANDROID: Add target to generate report of modules

* This is based on the modinfo from all the possible modules in the
  allmodconfig targets for x86_64 and aarch64 architectures.

Bug: 374932907
Change-Id: I7a76f3431f17924c14b01adbcc02414e5a0c2f7d
Signed-off-by: Ulises Mendez Martinez <umendez@google.com>
This commit is contained in:
Ulises Mendez Martinez
2025-01-20 13:36:14 +00:00
parent 57fa6d9435
commit f58171c35f
+10
View File
@@ -27,6 +27,7 @@ load(
"kernel_modules_install",
"merge_kzip",
"merged_kernel_uapi_headers",
"modinfo_summary_report",
)
load(":abi.bzl", "cc_binary_with_abi")
load(
@@ -1329,6 +1330,15 @@ kernel_build(
visibility = ["//visibility:private"],
)
# tools/bazel build //common:allmodconfig_modinfo_summaries --allow_undeclared_modules
modinfo_summary_report(
name = "allmodconfig_modinfo_summaries",
deps = [
":kernel_aarch64_allmodconfig",
":kernel_x86_64_allmodconfig",
],
)
# tools/bazel build --allow_undeclared_modules //common:kernel_arm_allmodconfig
kernel_build(
name = "kernel_arm_allmodconfig",