blob: db588647ec090698785d65dcf3d93ffd48c5fae2 [file] [log] [blame]
"""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 = ["//visibility:public"]
ASWB_SUBPACKAGES_VISIBILITY = ["//visibility:public"]
ASWB_PACKAGES_VISIBILITY = ["//visibility:public"]
ASWB_PLUGIN_PACKAGES_VISIBILITY = ["//visibility:public"]
CLWB_PACKAGES_VISIBILITY = None
IJWB_PACKAGES_VISIBILIY = 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"]
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):
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 = [
"//...",
],
)