• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1load("//:bzl_library.bzl", "bzl_library")
2
3licenses(["notice"])
4
5package(default_visibility = ["//visibility:public"])
6
7# export bzl files for the documentation
8exports_files(
9    glob(["*.bzl"]),
10    visibility = ["//:__subpackages__"],
11)
12
13bzl_library(
14    name = "collections",
15    srcs = ["collections.bzl"],
16)
17
18bzl_library(
19    name = "dicts",
20    srcs = ["dicts.bzl"],
21)
22
23bzl_library(
24    name = "partial",
25    srcs = ["partial.bzl"],
26)
27
28bzl_library(
29    name = "paths",
30    srcs = ["paths.bzl"],
31)
32
33bzl_library(
34    name = "selects",
35    srcs = ["selects.bzl"],
36)
37
38bzl_library(
39    name = "sets",
40    srcs = ["sets.bzl"],
41    deps = [
42        ":new_sets",
43    ],
44)
45
46bzl_library(
47    name = "new_sets",
48    srcs = ["new_sets.bzl"],
49    deps = [
50        ":dicts",
51    ],
52)
53
54bzl_library(
55    name = "shell",
56    srcs = ["shell.bzl"],
57)
58
59bzl_library(
60    name = "structs",
61    srcs = ["structs.bzl"],
62)
63
64bzl_library(
65    name = "types",
66    srcs = ["types.bzl"],
67)
68
69bzl_library(
70    name = "unittest",
71    srcs = ["unittest.bzl"],
72    deps = [
73        ":new_sets",
74        ":partial",
75        ":sets",
76        ":types",
77    ],
78)
79
80bzl_library(
81    name = "versions",
82    srcs = ["versions.bzl"],
83)
84
85filegroup(
86    name = "test_deps",
87    testonly = True,
88    srcs = ["BUILD"] + glob(["*.bzl"]),
89)
90
91# The files needed for distribution
92filegroup(
93    name = "distribution",
94    srcs = glob(["*"]),
95    visibility = [
96        "//:__pkg__",
97        "//distribution:__pkg__",
98    ],
99)
100
101bzl_library(
102    name = "old_sets",
103    srcs = ["old_sets.bzl"],
104)
105