Skip to content

Commit c945c16

Browse files
comiuscopybara-github
authored andcommitted
Export Java proto libraries by default
Downstream tests: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/2494 PiperOrigin-RevId: 454132022 Change-Id: If82d45f4746730569afbaac63cf75938c8906eaa
1 parent f299522 commit c945c16

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/main/starlark/builtins_bzl/bazel/exports.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ exported_toplevels = {}
2222
exported_rules = {
2323
"java_library": java_library,
2424
"java_plugin": java_plugin,
25-
"-java_proto_library": java_proto_library,
25+
"+java_proto_library": java_proto_library,
2626
}
2727
exported_to_java = {}

src/main/starlark/builtins_bzl/common/exports.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ exported_toplevels = {
4545
# * leading `-` means the Starlark rule exists, but is not used by default
4646
exported_rules = {
4747
"+cc_import": cc_import,
48-
"-java_lite_proto_library": java_lite_proto_library,
48+
"+java_lite_proto_library": java_lite_proto_library,
4949
"objc_import": objc_import,
5050
"objc_library": objc_library,
5151
"+proto_library": proto_library,

src/test/shell/integration/discard_graph_edges_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ function test_packages_cleared() {
276276
[[ "$glob_count" -le 1 ]] \
277277
|| fail "glob count $glob_count too high"
278278
module_count="$(extract_histogram_count "$histo_file" 'eval.Module$')"
279-
[[ "$module_count" -lt 100 ]] \
279+
[[ "$module_count" -lt 120 ]] \
280280
|| fail "Module count $module_count too high"
281281
ct_count="$(extract_histogram_count "$histo_file" \
282282
'RuleConfiguredTarget$')"

0 commit comments

Comments
 (0)