aboutsummaryrefslogtreecommitdiff
path: root/vendor/google/BUILD
blob: ce0d6e8ec55d4fca1d358567a42b80b8041cdc83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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()],
)