android13/build/bazel/vendor/google/BUILD

20 lines
501 B
Python

load("//build/bazel/rules/apex:mainline_modules.bzl", "apex_aab")
modules = [
"//build/bazel/examples/apex/minimal:build.bazel.examples.apex.minimal",
]
name_label_map = {module[module.index(":") + 1:]: module for module in modules}
[
apex_aab(
name = "%s_apex_aab" % name,
mainline_module = label,
)
for name, label in name_label_map.items()
]
filegroup(
name = "mainline_modules",
srcs = ["%s_apex_aab" % name for name, label in name_label_map.items()],
)