forked from bazelbuild/intellij
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build-visibility.bzl
71 lines (50 loc) · 1.74 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
"""Lists of package_groups to be used externally as visibilities in BUILD files targets."""
# Visibility labels lists
PLUGIN_PACKAGES_VISIBILITY = ["//visibility:public"]
G3PLUGINS_VISIBILITY = None # this is similar to not having visibility attribute
INTELLIJ_PLUGINS_VISIBILITY = ["//visibility:public"]
TEST_ASWB_SUBPACKAGES_VISIBILITY = None
ASWB_SUBPACKAGES_VISIBILITY = None
ASWB_PACKAGES_VISIBILITY = None
ASWB_PLUGIN_PACKAGES_VISIBILITY = None
CLWB_PACKAGES_VISIBILITY = None
IJWB_PACKAGES_VISIBILIY = None
GOLANG_PACKAGES_VISIBILITY = None
ASPECT_PROTO_VISIBILITY = None
BAZEL_PLUGIN_SUBPACKAGES = ["//:__subpackages__"]
JAVASCRIPT_PACKAGES_VISIBILITY = None
PYTHON_PACKAGES_VISIBILITY = None
SKYLARK_PACKAGES_VISIBILITY = None
FAST_BUILD_JAVAC_VISIBILITY = [
"//aswb:__pkg__",
"//ijwb:__pkg__",
]
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
ASPECT_TOOLS_PACKAGE = ["//aspect/tools:__pkg__"]
def create_plugin_packages_group(name = None):
# This group is not needed externally
pass
def create_proto_visibility_group(name = None):
# This group is not needed externally
pass
def create_common_plugins_package(name = None):
# This group is not needed externally
pass
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 = [
"//...",
],
)