ANDROID: bazel: Switch to arch-specific GKI module list

Currently, the consolidate build uses COMMON_GKI_MODULES as the
implicit build output list. Instead, use the new get_gki_modules_list
macro to get the arch-specific list.

Change-Id: Ia97ed23fc9ac79999681f1357ff86c36e655ac18
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
This commit is contained in:
John Moon 2023-10-17 10:18:14 -07:00
parent d7642260bc
commit f29c4c5e64

View file

@ -6,7 +6,7 @@ load(
"kernel_modules_install",
)
load("//build/kernel/kleaf:constants.bzl", "aarch64_outs")
load(":modules.bzl", "COMMON_GKI_MODULES_LIST")
load(":modules.bzl", "get_gki_modules_list")
rule_base = "kernel_aarch64_consolidate"
@ -49,7 +49,7 @@ def define_consolidate():
"Image.lz4",
"Image.gz",
],
module_implicit_outs = COMMON_GKI_MODULES_LIST,
module_implicit_outs = get_gki_modules_list("arm64"),
build_config = rule_base + "_build_config",
)