• 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        ":sets",
75        ":types",
76    ],
77)
78
79bzl_library(
80    name = "versions",
81    srcs = ["versions.bzl"],
82)
83
84filegroup(
85    name = "test_deps",
86    testonly = True,
87    srcs = ["BUILD"] + glob(["*.bzl"]),
88)
89
90# The files needed for distribution
91filegroup(
92    name = "distribution",
93    srcs = glob(["*"]),
94    visibility = [
95        "//:__pkg__",
96        "//distribution:__pkg__",
97    ],
98)
99
100bzl_library(
101    name = "old_sets",
102    srcs = ["old_sets.bzl"],
103)
104