xref: /aosp_15_r20/external/bazel-skylib/rules/private/BUILD (revision bcb5dc7965af6ee42bf2f21341a2ec00233a8c8a)
1*bcb5dc79SHONG Yifanload("//:bzl_library.bzl", "bzl_library")
2*bcb5dc79SHONG Yifan
3*bcb5dc79SHONG Yifanpackage(default_applicable_licenses = ["//:license"])
4*bcb5dc79SHONG Yifan
5*bcb5dc79SHONG Yifanlicenses(["notice"])
6*bcb5dc79SHONG Yifan
7*bcb5dc79SHONG Yifanbzl_library(
8*bcb5dc79SHONG Yifan    name = "copy_common",
9*bcb5dc79SHONG Yifan    srcs = ["copy_common.bzl"],
10*bcb5dc79SHONG Yifan    visibility = ["//rules:__pkg__"],
11*bcb5dc79SHONG Yifan)
12*bcb5dc79SHONG Yifan
13*bcb5dc79SHONG Yifanbzl_library(
14*bcb5dc79SHONG Yifan    name = "copy_directory_private",
15*bcb5dc79SHONG Yifan    srcs = ["copy_directory_private.bzl"],
16*bcb5dc79SHONG Yifan    visibility = ["//rules:__pkg__"],
17*bcb5dc79SHONG Yifan    deps = [":copy_common"],
18*bcb5dc79SHONG Yifan)
19*bcb5dc79SHONG Yifan
20*bcb5dc79SHONG Yifanbzl_library(
21*bcb5dc79SHONG Yifan    name = "copy_file_private",
22*bcb5dc79SHONG Yifan    srcs = ["copy_file_private.bzl"],
23*bcb5dc79SHONG Yifan    visibility = ["//rules:__pkg__"],
24*bcb5dc79SHONG Yifan    deps = [":copy_common"],
25*bcb5dc79SHONG Yifan)
26*bcb5dc79SHONG Yifan
27*bcb5dc79SHONG Yifanbzl_library(
28*bcb5dc79SHONG Yifan    name = "write_file_private",
29*bcb5dc79SHONG Yifan    srcs = ["write_file_private.bzl"],
30*bcb5dc79SHONG Yifan    visibility = ["//rules:__pkg__"],
31*bcb5dc79SHONG Yifan)
32*bcb5dc79SHONG Yifan
33*bcb5dc79SHONG Yifanbzl_library(
34*bcb5dc79SHONG Yifan    name = "maprule_util",
35*bcb5dc79SHONG Yifan    srcs = ["maprule_util.bzl"],
36*bcb5dc79SHONG Yifan)
37*bcb5dc79SHONG Yifan
38*bcb5dc79SHONG Yifan# The files needed for distribution
39*bcb5dc79SHONG Yifanfilegroup(
40*bcb5dc79SHONG Yifan    name = "distribution",
41*bcb5dc79SHONG Yifan    srcs = glob(["*"]),
42*bcb5dc79SHONG Yifan    visibility = [
43*bcb5dc79SHONG Yifan        "//:__subpackages__",
44*bcb5dc79SHONG Yifan    ],
45*bcb5dc79SHONG Yifan)
46