ANDROID: Kleaf: use globs to express sources

The updated kernel_build macro requires the usage of glob() to express
the sources involved.

Bug: 189451175
Signed-off-by: Matthias Maennich <maennich@google.com>
Change-Id: Ib5953fe4ed2c4a219f2296c1991daa317032f64e
This commit is contained in:
Matthias Maennich 2021-06-28 16:59:14 +01:00
parent f0c48487a5
commit 3b77e032e0

View File

@ -14,24 +14,6 @@
load("//build/kleaf:kernel.bzl", "kernel_build")
filegroup(
name = "build_configs",
srcs = glob(["build.config.*"]),
)
filegroup(
name = "sources",
srcs = glob(
["**"],
exclude = [
"build.config.*",
"android/*",
"BUILD.bazel",
"**/*.bzl",
],
),
)
common_outs = [
"System.map",
"modules.builtin",
@ -53,8 +35,14 @@ x86_64_outs = common_outs + ["bzImage"]
name = name,
outs = outs,
build_config = config,
build_configs = "//common:build_configs",
sources = "//common:sources",
sources = glob(
["**"],
exclude = [
"android/*",
"BUILD.bazel",
"**/*.bzl",
],
),
) for name, config, outs in [
(
"kernel_aarch64",