-
Notifications
You must be signed in to change notification settings - Fork 304
/
build-visibility.bzl
77 lines (56 loc) · 1.93 KB
/
build-visibility.bzl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
"""Lists of package_groups to be used externally as visibilities in BUILD files targets."""
# Visibility labels lists
PLUGIN_PACKAGES_VISIBILITY = ["//visibility:public"]
G3PLUGINS_VISIBILITY = ["//visibility:public"]
INTELLIJ_PLUGINS_VISIBILITY = ["//visibility:public"]
DEFAULT_TEST_VISIBILITY = ["//visibility:public"]
TEST_ASWB_SUBPACKAGES_VISIBILITY = []
ASWB_SUBPACKAGES_VISIBILITY = ["//visibility:public"]
ASWB_PACKAGES_VISIBILITY = ["//visibility:public"]
ASWB_PLUGIN_PACKAGES_VISIBILITY = ["//visibility:public"]
CLWB_PACKAGES_VISIBILITY = None
IJWB_PACKAGES_VISIBILITY = None
GOLANG_PACKAGES_VISIBILITY = None
KOTLIN_PACKAGE_VISIBILITY = None
ASPECT_PROTO_VISIBILITY = None
BAZEL_PLUGIN_SUBPACKAGES = ["//:__subpackages__"]
JAVASCRIPT_PACKAGES_VISIBILITY = None
PYTHON_PACKAGES_VISIBILITY = ["//visibility:public"]
SKYLARK_PACKAGES_VISIBILITY = ["//visibility:public"]
FAST_BUILD_JAVAC_VISIBILITY = ["//visibility:public"]
COMMON_PLUGINS_VISIBILITY = ["//visibility:public"]
SDK_COMPAT_VISIBILITY = ["//visibility:public"]
ASPECT_TEST_RULES_VISIBILITY_TO_TESTS = [
"//aspect/testing/tests:__subpackages__",
]
ASPECT_TEST_RULES_VISIBILITY_TO_ALL = [
"//aspect/testing:__subpackages__",
]
SERVICES_EXPERIMENT_SUBPACKAGES = None
def create_plugin_packages_group(name = None):
native.package_group(
name = "plugin_packages",
packages = [
"//...",
],
)
def create_proto_visibility_group(name = None):
# This group is not needed externally
pass
def create_common_plugins_package(name = None):
native.package_group(
name = "common_plugins",
packages = [
"//...",
],
)
def create_sdkcompat_visibility_package(name = None):
# This group is not needed externally
pass
def create_test_libs_visibility_package(name = None):
native.package_group(
name = "test_libs_visibility",
packages = [
"//...",
],
)