2018-11-26 22:31:29 +00:00
|
|
|
load("//:bzl_library.bzl", "bzl_library")
|
|
|
|
|
2019-10-28 16:20:43 +00:00
|
|
|
licenses(["notice"])
|
2017-10-31 21:54:25 +00:00
|
|
|
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
2020-06-26 15:04:12 +00:00
|
|
|
# gazelle:exclude internal_deps.bzl
|
|
|
|
# gazelle:exclude internal_setup.bzl
|
|
|
|
# buildifier: disable=skylark-comment
|
|
|
|
# gazelle:exclude skylark_library.bzl
|
|
|
|
|
2020-04-02 20:20:57 +00:00
|
|
|
exports_files(["LICENSE"])
|
2017-10-10 14:59:31 +00:00
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "test_deps",
|
2018-02-20 21:09:20 +00:00
|
|
|
testonly = True,
|
2017-10-10 14:59:31 +00:00
|
|
|
srcs = [
|
|
|
|
"BUILD",
|
|
|
|
"//lib:test_deps",
|
2019-01-28 18:51:57 +00:00
|
|
|
"//rules:test_deps",
|
2019-01-16 22:00:03 +00:00
|
|
|
"//toolchains/unittest:test_deps",
|
2017-10-10 14:59:31 +00:00
|
|
|
] + glob(["*.bzl"]),
|
2017-10-31 21:54:25 +00:00
|
|
|
)
|
|
|
|
|
2018-09-28 13:09:18 +00:00
|
|
|
bzl_library(
|
2017-10-31 21:54:25 +00:00
|
|
|
name = "lib",
|
|
|
|
srcs = ["lib.bzl"],
|
2018-09-24 19:48:24 +00:00
|
|
|
deprecation = (
|
|
|
|
"lib.bzl will go away in the future, please directly depend on the" +
|
|
|
|
" module(s) needed as it is more efficient."
|
|
|
|
),
|
2017-10-31 21:54:25 +00:00
|
|
|
deps = [
|
|
|
|
"//lib:collections",
|
|
|
|
"//lib:dicts",
|
2018-04-20 21:44:25 +00:00
|
|
|
"//lib:new_sets",
|
2018-04-17 16:33:38 +00:00
|
|
|
"//lib:partial",
|
2017-10-31 21:54:25 +00:00
|
|
|
"//lib:paths",
|
|
|
|
"//lib:selects",
|
|
|
|
"//lib:sets",
|
|
|
|
"//lib:shell",
|
|
|
|
"//lib:structs",
|
2018-06-13 18:11:04 +00:00
|
|
|
"//lib:types",
|
2017-10-31 21:54:25 +00:00
|
|
|
"//lib:unittest",
|
2018-02-20 21:52:51 +00:00
|
|
|
"//lib:versions",
|
2017-10-31 21:54:25 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2018-09-28 13:09:18 +00:00
|
|
|
bzl_library(
|
|
|
|
name = "bzl_library",
|
|
|
|
srcs = ["bzl_library.bzl"],
|
2017-10-10 14:59:31 +00:00
|
|
|
)
|
2019-08-23 18:37:16 +00:00
|
|
|
|
2020-06-26 15:04:12 +00:00
|
|
|
bzl_library(
|
|
|
|
name = "version",
|
|
|
|
srcs = ["version.bzl"],
|
|
|
|
)
|
|
|
|
|
|
|
|
bzl_library(
|
|
|
|
name = "workspace",
|
|
|
|
srcs = ["workspace.bzl"],
|
|
|
|
)
|
|
|
|
|
2019-08-23 18:37:16 +00:00
|
|
|
# The files needed for distribution.
|
|
|
|
# TODO(aiuto): We should strip this from the release, but there is no
|
|
|
|
# capability now to generate BUILD.foo from BUILD and have it appear in the
|
|
|
|
# tarball as BUILD.
|
|
|
|
filegroup(
|
|
|
|
name = "distribution",
|
|
|
|
srcs = [
|
|
|
|
"LICENSE",
|
|
|
|
"BUILD",
|
|
|
|
"CODEOWNERS",
|
|
|
|
"CONTRIBUTORS",
|
|
|
|
"//lib:distribution",
|
|
|
|
"//rules:distribution",
|
2019-10-08 19:05:48 +00:00
|
|
|
"//rules/private:distribution",
|
|
|
|
"//toolchains/unittest:distribution",
|
2019-08-23 18:37:16 +00:00
|
|
|
] + glob(["*.bzl"]),
|
|
|
|
)
|
2019-10-09 16:43:21 +00:00
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "bins",
|
|
|
|
srcs = [
|
|
|
|
"//rules:bins",
|
|
|
|
],
|
|
|
|
)
|