2019-01-08 08:04:53 +00:00
|
|
|
load("//:bzl_library.bzl", "bzl_library")
|
|
|
|
|
2024-05-01 21:24:18 +00:00
|
|
|
package(
|
|
|
|
default_applicable_licenses = ["//:license"],
|
|
|
|
default_visibility = ["//visibility:public"],
|
|
|
|
)
|
2019-01-28 18:51:57 +00:00
|
|
|
|
2024-05-02 18:38:05 +00:00
|
|
|
licenses(["notice"])
|
|
|
|
|
2020-08-10 18:35:04 +00:00
|
|
|
bzl_library(
|
|
|
|
name = "analysis_test",
|
|
|
|
srcs = ["analysis_test.bzl"],
|
|
|
|
)
|
|
|
|
|
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-03-18 12:23:15 +00:00
|
|
|
bzl_library(
|
|
|
|
name = "copy_file",
|
|
|
|
srcs = ["copy_file.bzl"],
|
2019-03-20 17:13:32 +00:00
|
|
|
deps = ["//rules/private:copy_file_private"],
|
2019-03-04 10:04:01 +00:00
|
|
|
)
|
|
|
|
|
2022-06-01 07:58:09 +00:00
|
|
|
bzl_library(
|
|
|
|
name = "copy_directory",
|
|
|
|
srcs = ["copy_directory.bzl"],
|
|
|
|
deps = ["//rules/private:copy_directory_private"],
|
|
|
|
)
|
|
|
|
|
2019-03-19 06:52:56 +00:00
|
|
|
bzl_library(
|
|
|
|
name = "write_file",
|
|
|
|
srcs = ["write_file.bzl"],
|
2019-03-20 17:13:32 +00:00
|
|
|
deps = ["//rules/private:write_file_private"],
|
2019-03-19 06:52:56 +00:00
|
|
|
)
|
|
|
|
|
2019-04-12 17:35:29 +00:00
|
|
|
bzl_library(
|
|
|
|
name = "diff_test",
|
|
|
|
srcs = ["diff_test.bzl"],
|
2022-04-06 19:16:14 +00:00
|
|
|
deps = ["//lib:shell"],
|
2019-04-12 17:35:29 +00:00
|
|
|
)
|
|
|
|
|
2022-04-01 22:07:48 +00:00
|
|
|
bzl_library(
|
|
|
|
name = "expand_template",
|
|
|
|
srcs = ["expand_template.bzl"],
|
|
|
|
)
|
|
|
|
|
2019-05-14 11:33:01 +00:00
|
|
|
bzl_library(
|
|
|
|
name = "native_binary",
|
|
|
|
srcs = ["native_binary.bzl"],
|
|
|
|
)
|
|
|
|
|
2019-05-21 12:46:09 +00:00
|
|
|
bzl_library(
|
|
|
|
name = "run_binary",
|
|
|
|
srcs = ["run_binary.bzl"],
|
|
|
|
deps = ["//lib:dicts"],
|
|
|
|
)
|
|
|
|
|
2019-07-03 16:46:14 +00:00
|
|
|
bzl_library(
|
|
|
|
name = "common_settings",
|
|
|
|
srcs = ["common_settings.bzl"],
|
|
|
|
)
|
|
|
|
|
2019-01-28 18:51:57 +00:00
|
|
|
filegroup(
|
|
|
|
name = "test_deps",
|
|
|
|
testonly = True,
|
|
|
|
srcs = [
|
|
|
|
"BUILD",
|
2024-08-09 12:40:50 +00:00
|
|
|
"//rules/private:test_deps",
|
2019-01-28 18:51:57 +00:00
|
|
|
] + glob(["*.bzl"]),
|
2024-07-15 17:57:10 +00:00
|
|
|
visibility = ["//:__subpackages__"], # Needs skylib's root BUILD file for default_applicable_licenses
|
2019-01-28 18:51:57 +00:00
|
|
|
)
|
2019-08-23 18:37:16 +00:00
|
|
|
|
|
|
|
# The files needed for distribution
|
|
|
|
filegroup(
|
|
|
|
name = "distribution",
|
2019-10-09 16:43:21 +00:00
|
|
|
srcs = [
|
|
|
|
"BUILD",
|
|
|
|
] + glob(["*.bzl"]),
|
|
|
|
visibility = [
|
|
|
|
"//:__pkg__",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2020-04-02 20:20:57 +00:00
|
|
|
# export bzl files for the documentation
|
|
|
|
exports_files(
|
|
|
|
glob(["*.bzl"]),
|
|
|
|
visibility = ["//:__subpackages__"],
|
|
|
|
)
|
2020-06-26 15:04:12 +00:00
|
|
|
|
|
|
|
bzl_library(
|
|
|
|
name = "select_file",
|
|
|
|
srcs = ["select_file.bzl"],
|
|
|
|
)
|