Skip to content

Commit

Permalink
Export Java proto libraries by default
Browse files Browse the repository at this point in the history
Downstream tests: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/2494

PiperOrigin-RevId: 454132022
Change-Id: If82d45f4746730569afbaac63cf75938c8906eaa
  • Loading branch information
comius authored and copybara-github committed Jun 10, 2022
1 parent f299522 commit c945c16
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/starlark/builtins_bzl/bazel/exports.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ exported_toplevels = {}
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 = {}
2 changes: 1 addition & 1 deletion src/main/starlark/builtins_bzl/common/exports.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ exported_toplevels = {
# * 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,
Expand Down
2 changes: 1 addition & 1 deletion src/test/shell/integration/discard_graph_edges_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ function test_packages_cleared() {
[[ "$glob_count" -le 1 ]] \
|| fail "glob count $glob_count too high"
module_count="$(extract_histogram_count "$histo_file" 'eval.Module$')"
[[ "$module_count" -lt 100 ]] \
[[ "$module_count" -lt 120 ]] \
|| fail "Module count $module_count too high"
ct_count="$(extract_histogram_count "$histo_file" \
'RuleConfiguredTarget$')"
Expand Down

0 comments on commit c945c16

Please sign in to comment.