diff --git a/bazel/private/BUILD b/bazel/private/BUILD index fc28f6ba46055..0bd9769ea2d66 100644 --- a/bazel/private/BUILD +++ b/bazel/private/BUILD @@ -1,5 +1,4 @@ load("@bazel_skylib//:bzl_library.bzl", "bzl_library") -load(":native_bool_flag.bzl", "native_bool_flag") package(default_applicable_licenses = ["//:license"]) @@ -168,43 +167,12 @@ bzl_library( ], ) -native_bool_flag( - name = "experimental_proto_descriptor_sets_include_source_info", - flag = "experimental_proto_descriptor_sets_include_source_info", - match_value = "true", - visibility = ["//bazel:__subpackages__"], -) - -native_bool_flag( - name = "strict_proto_deps", - flag = "strict_proto_deps", - match_value = "off", - result = False, - visibility = ["//bazel:__subpackages__"], -) - -native_bool_flag( - name = "strict_public_imports", - flag = "strict_public_imports", - match_value = "off", - result = False, - visibility = ["//bazel:__subpackages__"], -) - -bzl_library( - name = "native_bool_flag_bzl", - srcs = ["native_bool_flag.bzl"], - visibility = ["//visibility:private"], - deps = ["@bazel_skylib//rules:common_settings"], -) - filegroup( name = "for_bazel_tests", testonly = True, srcs = [ "BUILD", ":java_proto_library_bzl", - ":native_bool_flag_bzl", ":toolchain_helpers_bzl", "//bazel:for_bazel_tests", "//bazel/private/oss/toolchains:for_bazel_tests", diff --git a/bazel/private/proto_library_rule.bzl b/bazel/private/proto_library_rule.bzl index 41083703ef375..87a3da78f60fe 100644 --- a/bazel/private/proto_library_rule.bzl +++ b/bazel/private/proto_library_rule.bzl @@ -391,23 +391,13 @@ for use with MessageSet. ), # buildifier: disable=attr-license (calling attr.license()) "licenses": attr.license() if hasattr(attr, "license") else attr.string_list(), - "_experimental_proto_descriptor_sets_include_source_info_native": attr.label( - default = "//bazel/private:experimental_proto_descriptor_sets_include_source_info", - ), "_experimental_proto_descriptor_sets_include_source_info": attr.label( default = "//bazel/flags:experimental_proto_descriptor_sets_include_source_info", ), - "_strict_proto_deps_native": attr.label( - default = - "//bazel/private:strict_proto_deps", - ), "_strict_proto_deps": attr.label( default = "//bazel/flags:strict_proto_deps", ), - "_strict_public_imports_native": attr.label( - default = "//bazel/private:strict_public_imports", - ), "_strict_public_imports": attr.label( default = "//bazel/flags:strict_public_imports", ),