Skip to content

Commit

Permalink
Set public visibility for R8 desugar binary
Browse files Browse the repository at this point in the history
We are migrating Android functionality out of Bazel into rules_android.
Currently rules_android depends on
@bazel_tools//tools/android:desugar_java8 for a sh_binary that calls the
R8 desugar binary. Going forward, we'll maintain the sh_binary directly
in rules_android, and therefore will require public visibility on
[...]/r8:desugar. Eventually the source code for the Bazel R8 desugar
wrapper will also move into rules_android.

Part of bazelbuild/rules_android#122.
  • Loading branch information
ted-xie committed Mar 22, 2024
1 parent b78d73f commit 3b676ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ java_binary(
"-Dcom.android.tools.r8.createSingletonsForStatelessLambdas",
],
main_class = "com.google.devtools.build.android.r8.Desugar",
visibility = ["//tools/android:__subpackages__"],
visibility = ["//visibility:public"],
runtime_deps = [
":r8",
],
Expand Down

0 comments on commit 3b676ed

Please sign in to comment.