-
Notifications
You must be signed in to change notification settings - Fork 345
Expand file tree
/
Copy pathbuild-visibility.bzl
More file actions
55 lines (41 loc) · 1.38 KB
/
build-visibility.bzl
File metadata and controls
55 lines (41 loc) · 1.38 KB
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
"""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"]
ASPECT_PROTO_VISIBILITY = None
BAZEL_PLUGIN_SUBPACKAGES = ["//:__subpackages__"]
JAVASCRIPT_PACKAGES_VISIBILITY = None
PYTHON_PACKAGES_VISIBILITY = ["//visibility:public"]
SKYLARK_PACKAGES_VISIBILITY = ["//visibility:public"]
COMMON_PLUGINS_VISIBILITY = ["//visibility:public"]
SDK_COMPAT_VISIBILITY = ["//visibility:public"]
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 = [
"//...",
],
)