2018-11-26 22:31:29 +00:00
|
|
|
load("//:bzl_library.bzl", "bzl_library")
|
|
|
|
|
2017-10-10 14:59:31 +00:00
|
|
|
licenses(["notice"])
|
|
|
|
|
2018-06-27 08:22:33 +00:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
2017-10-31 21:54:25 +00:00
|
|
|
|
2020-04-02 20:20:57 +00:00
|
|
|
# export bzl files for the documentation
|
|
|
|
exports_files(
|
|
|
|
glob(["*.bzl"]),
|
|
|
|
visibility = ["//:__subpackages__"],
|
|
|
|
)
|
|
|
|
|
2018-09-28 13:09:18 +00:00
|
|
|
bzl_library(
|
2017-10-31 21:54:25 +00:00
|
|
|
name = "collections",
|
|
|
|
srcs = ["collections.bzl"],
|
|
|
|
)
|
|
|
|
|
2018-09-28 13:09:18 +00:00
|
|
|
bzl_library(
|
2017-10-31 21:54:25 +00:00
|
|
|
name = "dicts",
|
|
|
|
srcs = ["dicts.bzl"],
|
|
|
|
)
|
|
|
|
|
2018-09-28 13:09:18 +00:00
|
|
|
bzl_library(
|
2018-04-17 16:33:38 +00:00
|
|
|
name = "partial",
|
|
|
|
srcs = ["partial.bzl"],
|
|
|
|
)
|
|
|
|
|
2018-09-28 13:09:18 +00:00
|
|
|
bzl_library(
|
2017-10-31 21:54:25 +00:00
|
|
|
name = "paths",
|
|
|
|
srcs = ["paths.bzl"],
|
|
|
|
)
|
|
|
|
|
2018-09-28 13:09:18 +00:00
|
|
|
bzl_library(
|
2017-10-31 21:54:25 +00:00
|
|
|
name = "selects",
|
|
|
|
srcs = ["selects.bzl"],
|
|
|
|
)
|
|
|
|
|
2018-09-28 13:09:18 +00:00
|
|
|
bzl_library(
|
2017-10-31 21:54:25 +00:00
|
|
|
name = "sets",
|
2020-02-03 15:39:21 +00:00
|
|
|
srcs = ["sets.bzl"],
|
2017-10-31 21:54:25 +00:00
|
|
|
)
|
|
|
|
|
2018-09-28 13:09:18 +00:00
|
|
|
bzl_library(
|
2018-04-20 21:44:25 +00:00
|
|
|
name = "new_sets",
|
|
|
|
srcs = ["new_sets.bzl"],
|
2019-09-17 14:21:44 +00:00
|
|
|
deps = [
|
2020-02-03 15:39:21 +00:00
|
|
|
":dicts",
|
2019-09-17 14:21:44 +00:00
|
|
|
],
|
2018-04-20 21:44:25 +00:00
|
|
|
)
|
|
|
|
|
2018-09-28 13:09:18 +00:00
|
|
|
bzl_library(
|
2017-10-31 21:54:25 +00:00
|
|
|
name = "shell",
|
|
|
|
srcs = ["shell.bzl"],
|
|
|
|
)
|
|
|
|
|
2018-09-28 13:09:18 +00:00
|
|
|
bzl_library(
|
2017-10-31 21:54:25 +00:00
|
|
|
name = "structs",
|
|
|
|
srcs = ["structs.bzl"],
|
|
|
|
)
|
|
|
|
|
2018-09-28 13:09:18 +00:00
|
|
|
bzl_library(
|
2018-05-08 22:13:31 +00:00
|
|
|
name = "types",
|
|
|
|
srcs = ["types.bzl"],
|
|
|
|
)
|
|
|
|
|
2018-09-28 13:09:18 +00:00
|
|
|
bzl_library(
|
2017-10-31 21:54:25 +00:00
|
|
|
name = "unittest",
|
|
|
|
srcs = ["unittest.bzl"],
|
2018-11-27 10:50:34 +00:00
|
|
|
deps = [
|
|
|
|
":new_sets",
|
|
|
|
":sets",
|
2019-02-20 20:32:47 +00:00
|
|
|
":types",
|
2018-11-27 10:50:34 +00:00
|
|
|
],
|
2017-10-31 21:54:25 +00:00
|
|
|
)
|
2018-02-20 21:11:31 +00:00
|
|
|
|
2018-09-28 13:09:18 +00:00
|
|
|
bzl_library(
|
2018-02-20 21:11:31 +00:00
|
|
|
name = "versions",
|
|
|
|
srcs = ["versions.bzl"],
|
|
|
|
)
|
2019-08-23 18:37:16 +00:00
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "test_deps",
|
|
|
|
testonly = True,
|
|
|
|
srcs = ["BUILD"] + glob(["*.bzl"]),
|
|
|
|
)
|
|
|
|
|
|
|
|
# The files needed for distribution
|
|
|
|
filegroup(
|
|
|
|
name = "distribution",
|
|
|
|
srcs = glob(["*"]),
|
|
|
|
visibility = [
|
|
|
|
"//:__pkg__",
|
|
|
|
"//distribution:__pkg__",
|
|
|
|
],
|
|
|
|
)
|