2019-01-08 08:04:53 +00:00
|
|
|
load("//:bzl_library.bzl", "bzl_library")
|
|
|
|
|
|
|
|
licenses(["notice"])
|
|
|
|
|
2019-01-28 18:51:57 +00:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
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
|
|
|
)
|
|
|
|
|
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"],
|
|
|
|
)
|
|
|
|
|
2019-05-14 11:33:01 +00:00
|
|
|
bzl_library(
|
|
|
|
name = "native_binary",
|
|
|
|
srcs = ["native_binary.bzl"],
|
|
|
|
deps = ["//rules/private:copy_file_private"],
|
|
|
|
)
|
|
|
|
|
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-25 19:34:15 +00:00
|
|
|
# Exported for build_test.bzl to make sure of, it is an implementation detail
|
|
|
|
# of the rule and should not be directly used by anything else.
|
|
|
|
exports_files(["empty_test.sh"])
|
2019-01-28 18:51:57 +00:00
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "test_deps",
|
|
|
|
testonly = True,
|
|
|
|
srcs = [
|
|
|
|
"BUILD",
|
|
|
|
"empty_test.sh",
|
|
|
|
] + glob(["*.bzl"]),
|
|
|
|
)
|
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__",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "bins",
|
|
|
|
srcs = glob(["*.sh"]),
|
2019-08-23 18:37:16 +00:00
|
|
|
visibility = [
|
|
|
|
"//:__pkg__",
|
|
|
|
],
|
|
|
|
)
|