bazel-lib/lib/private/BUILD.bazel

171 lines
3.4 KiB
Python
Raw Normal View History

2021-11-08 14:40:36 +00:00
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
exports_files(
glob(["*.bzl"]),
visibility = ["//docs:__pkg__"],
)
bzl_library(
name = "copy_common",
srcs = ["copy_common.bzl"],
visibility = ["//lib:__subpackages__"],
)
bzl_library(
name = "copy_file",
srcs = ["copy_file.bzl"],
visibility = ["//lib:__subpackages__"],
deps = [
":copy_common",
":directory_path",
],
)
2022-04-04 00:52:03 +00:00
bzl_library(
name = "copy_directory",
srcs = ["copy_directory.bzl"],
visibility = ["//lib:__subpackages__"],
deps = [":copy_common"],
2022-04-04 00:52:03 +00:00
)
bzl_library(
name = "copy_to_directory",
srcs = ["copy_to_directory.bzl"],
visibility = ["//lib:__subpackages__"],
deps = [
":copy_common",
":directory_path",
":output_files",
":paths",
"@bazel_skylib//lib:paths",
],
)
2022-04-12 23:31:04 +00:00
bzl_library(
name = "copy_to_bin",
srcs = ["copy_to_bin.bzl"],
visibility = ["//lib:__subpackages__"],
deps = [
":copy_file",
"@bazel_skylib//lib:paths",
],
2022-04-12 23:31:04 +00:00
)
2021-11-08 14:40:36 +00:00
bzl_library(
name = "params_file",
srcs = ["params_file.bzl"],
visibility = ["//lib:__subpackages__"],
deps = [":expand_make_vars"],
)
bzl_library(
name = "paths",
srcs = ["paths.bzl"],
visibility = ["//lib:__subpackages__"],
deps = ["@bazel_skylib//lib:paths"],
)
bzl_library(
name = "docs",
srcs = ["docs.bzl"],
visibility = ["//lib:__subpackages__"],
deps = [
"//lib:write_source_files",
"@io_bazel_stardoc//stardoc:stardoc_lib",
],
)
2021-11-08 14:40:36 +00:00
bzl_library(
name = "expand_make_vars",
srcs = ["expand_make_vars.bzl"],
visibility = ["//lib:__subpackages__"],
deps = [
"@bazel_skylib//lib:paths",
],
2021-11-08 14:40:36 +00:00
)
bzl_library(
name = "utils",
srcs = ["utils.bzl"],
visibility = ["//lib:__subpackages__"],
)
2021-12-09 00:47:45 +00:00
bzl_library(
name = "jq",
srcs = ["jq.bzl"],
visibility = ["//lib:__subpackages__"],
)
2022-01-28 02:15:28 +00:00
bzl_library(
name = "write_source_file",
srcs = ["write_source_file.bzl"],
2022-01-28 02:15:28 +00:00
visibility = ["//lib:__subpackages__"],
deps = [
":directory_path",
":output_files",
"//lib:utils",
],
2022-01-28 02:15:28 +00:00
)
bzl_library(
name = "fail_with_message_test",
srcs = ["fail_with_message_test.bzl"],
visibility = ["//lib:__subpackages__"],
)
bzl_library(
name = "directory_path",
srcs = ["directory_path.bzl"],
visibility = ["//lib:__subpackages__"],
deps = ["//lib:utils"],
)
bzl_library(
name = "output_files",
srcs = ["output_files.bzl"],
visibility = ["//lib:__subpackages__"],
deps = ["//lib:utils"],
)
bzl_library(
name = "diff_test",
srcs = ["diff_test.bzl"],
visibility = ["//lib:__subpackages__"],
)
bzl_library(
name = "run_binary",
srcs = ["run_binary.bzl"],
visibility = ["//lib:__subpackages__"],
deps = [
":expand_make_vars",
"@bazel_skylib//lib:dicts",
],
)
bzl_library(
name = "repo_utils",
srcs = ["repo_utils.bzl"],
visibility = ["//lib:__subpackages__"],
)
bzl_library(
name = "patch",
srcs = ["patch.bzl"],
visibility = ["//lib:__subpackages__"],
deps = [":repo_utils"],
)
2022-04-20 04:45:06 +00:00
bzl_library(
name = "yq",
srcs = ["yq.bzl"],
visibility = ["//lib:__subpackages__"],
)
bzl_library(
name = "host_repo",
srcs = ["host_repo.bzl"],
visibility = ["//lib:__subpackages__"],
deps = [":repo_utils"],
)