xref: /aosp_15_r20/external/bazel-skylib/rules/directory/private/BUILD (revision bcb5dc7965af6ee42bf2f21341a2ec00233a8c8a)
1*bcb5dc79SHONG Yifanload("@bazel_skylib//: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 Yifan# export bzl files for the documentation
8*bcb5dc79SHONG Yifanexports_files(
9*bcb5dc79SHONG Yifan    glob(["*.bzl"]),
10*bcb5dc79SHONG Yifan    visibility = ["//:__subpackages__"],
11*bcb5dc79SHONG Yifan)
12*bcb5dc79SHONG Yifan
13*bcb5dc79SHONG Yifanbzl_library(
14*bcb5dc79SHONG Yifan    name = "glob",
15*bcb5dc79SHONG Yifan    srcs = ["glob.bzl"],
16*bcb5dc79SHONG Yifan    visibility = ["//rules/directory:__pkg__"],
17*bcb5dc79SHONG Yifan)
18*bcb5dc79SHONG Yifan
19*bcb5dc79SHONG Yifanbzl_library(
20*bcb5dc79SHONG Yifan    name = "paths",
21*bcb5dc79SHONG Yifan    srcs = ["paths.bzl"],
22*bcb5dc79SHONG Yifan    visibility = ["//rules/directory:__pkg__"],
23*bcb5dc79SHONG Yifan    deps = [
24*bcb5dc79SHONG Yifan        "//lib:paths",
25*bcb5dc79SHONG Yifan    ],
26*bcb5dc79SHONG Yifan)
27*bcb5dc79SHONG Yifan
28*bcb5dc79SHONG Yifan# The files needed for distribution
29*bcb5dc79SHONG Yifanfilegroup(
30*bcb5dc79SHONG Yifan    name = "distribution",
31*bcb5dc79SHONG Yifan    srcs = [
32*bcb5dc79SHONG Yifan        "BUILD",
33*bcb5dc79SHONG Yifan    ] + glob(["*.bzl"]),
34*bcb5dc79SHONG Yifan    visibility = [
35*bcb5dc79SHONG Yifan        "//:__pkg__",
36*bcb5dc79SHONG Yifan    ],
37*bcb5dc79SHONG Yifan)
38