Automated rollback of commit c945c161016235397c8954516a0f1a9660bbcf83.
*** Reason for rollback ***
PiperOrigin-RevId: 454575403
Change-Id: I97ac8ee444cec0d83ea3e525ee9e4799d7458650
diff --git a/src/main/starlark/builtins_bzl/bazel/exports.bzl b/src/main/starlark/builtins_bzl/bazel/exports.bzl
index e2d7eca..aceae7f 100644
--- a/src/main/starlark/builtins_bzl/bazel/exports.bzl
+++ b/src/main/starlark/builtins_bzl/bazel/exports.bzl
@@ -22,6 +22,6 @@
exported_rules = {
"java_library": java_library,
"java_plugin": java_plugin,
- "+java_proto_library": java_proto_library,
+ "-java_proto_library": java_proto_library,
}
exported_to_java = {}
diff --git a/src/main/starlark/builtins_bzl/common/exports.bzl b/src/main/starlark/builtins_bzl/common/exports.bzl
index 3453c72..4265806 100755
--- a/src/main/starlark/builtins_bzl/common/exports.bzl
+++ b/src/main/starlark/builtins_bzl/common/exports.bzl
@@ -46,7 +46,7 @@
# * leading `-` means the Starlark rule exists, but is not used by default
exported_rules = {
"+cc_import": cc_import,
- "+java_lite_proto_library": java_lite_proto_library,
+ "-java_lite_proto_library": java_lite_proto_library,
"objc_import": objc_import,
"objc_library": objc_library,
"+proto_library": proto_library,
diff --git a/src/test/shell/integration/discard_graph_edges_test.sh b/src/test/shell/integration/discard_graph_edges_test.sh
index 4e27e77..9c814d5 100755
--- a/src/test/shell/integration/discard_graph_edges_test.sh
+++ b/src/test/shell/integration/discard_graph_edges_test.sh
@@ -276,7 +276,7 @@
[[ "$glob_count" -le 1 ]] \
|| fail "glob count $glob_count too high"
module_count="$(extract_histogram_count "$histo_file" 'eval.Module$')"
- [[ "$module_count" -lt 120 ]] \
+ [[ "$module_count" -lt 100 ]] \
|| fail "Module count $module_count too high"
ct_count="$(extract_histogram_count "$histo_file" \
'RuleConfiguredTarget$')"