From f58171c35f28fcf843733118123542118c14ff79 Mon Sep 17 00:00:00 2001 From: Ulises Mendez Martinez Date: Mon, 20 Jan 2025 13:36:14 +0000 Subject: [PATCH] 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 --- BUILD.bazel | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/BUILD.bazel b/BUILD.bazel index 46007187b149..a055f57be404 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -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",