2019-01-08 08:04:53 +00:00
|
|
|
load("//:bzl_library.bzl", "bzl_library")
|
|
|
|
|
|
|
|
licenses(["notice"])
|
|
|
|
|
2019-01-28 18:51:57 +00:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
2019-01-25 19:34:15 +00:00
|
|
|
bzl_library(
|
|
|
|
name = "build_test",
|
|
|
|
srcs = ["build_test.bzl"],
|
2019-02-28 22:43:57 +00:00
|
|
|
deps = ["//lib:new_sets"],
|
2019-01-25 19:34:15 +00:00
|
|
|
)
|
|
|
|
|
2019-01-08 08:04:53 +00:00
|
|
|
bzl_library(
|
|
|
|
name = "maprule",
|
|
|
|
srcs = ["maprule.bzl"],
|
|
|
|
deps = [":maprule_private"],
|
|
|
|
)
|
|
|
|
|
|
|
|
bzl_library(
|
|
|
|
name = "maprule_private",
|
|
|
|
srcs = ["maprule_private.bzl"],
|
|
|
|
visibility = ["//visibility:private"],
|
|
|
|
deps = [
|
2019-03-04 10:04:01 +00:00
|
|
|
":maprule_util",
|
2019-01-08 08:04:53 +00:00
|
|
|
"//lib:dicts",
|
|
|
|
"//lib:paths",
|
|
|
|
],
|
|
|
|
)
|
2019-01-25 19:34:15 +00:00
|
|
|
|
2019-03-04 10:04:01 +00:00
|
|
|
bzl_library(
|
|
|
|
name = "maprule_util",
|
|
|
|
srcs = ["maprule_util.bzl"],
|
|
|
|
)
|
|
|
|
|
2019-01-25 19:34:15 +00:00
|
|
|
# Exported for build_test.bzl to make sure of, it is an implementation detail
|
|
|
|
# of the rule and should not be directly used by anything else.
|
|
|
|
exports_files(["empty_test.sh"])
|
2019-01-28 18:51:57 +00:00
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "test_deps",
|
|
|
|
testonly = True,
|
|
|
|
srcs = [
|
|
|
|
"BUILD",
|
|
|
|
"empty_test.sh",
|
|
|
|
] + glob(["*.bzl"]),
|
|
|
|
)
|