Skip to content

Commit a1dcae8

Browse files
bazel-ioted-xieWyverald
authored
[7.1.2] Set public visibility for R8 desugar binary (#22176)
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. Closes #21775. PiperOrigin-RevId: 618272641 Change-Id: I09d9ca19b742049c2d29a75336d1b0680b0005b1 Commit 32fd6e9 Co-authored-by: Ted Xie <[email protected]> Co-authored-by: Xùdōng Yáng <[email protected]>
1 parent a01c443 commit a1dcae8

File tree

1 file changed

+1
-1
lines changed
  • src/tools/android/java/com/google/devtools/build/android/r8

1 file changed

+1
-1
lines changed

src/tools/android/java/com/google/devtools/build/android/r8/BUILD.tools

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ java_binary(
4646
"-Dcom.android.tools.r8.createSingletonsForStatelessLambdas",
4747
],
4848
main_class = "com.google.devtools.build.android.r8.Desugar",
49-
visibility = ["//tools/android:__subpackages__"],
49+
visibility = ["//visibility:public"],
5050
runtime_deps = [
5151
":r8",
5252
],

0 commit comments

Comments
 (0)