Skip to content

Commit

Permalink
Fix genrule for android_jar for bazel builds
Browse files Browse the repository at this point in the history
Use the convenience alias in @bazel_tools
Related to bazelbuild/rules_android#122

PiperOrigin-RevId: 563179192
  • Loading branch information
ted-xie authored and Javac Team committed Sep 6, 2023
1 parent cfab9dc commit 39c37bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ alias(
genrule(
name = "android_jar",
srcs = [
"@androidsdk//:platforms/android-32/android.jar",
"@bazel_tools//tools/android:android_jar",
],
outs = ["android_jar.jar"],
cmd = "cp $(location @androidsdk//:platforms/android-32/android.jar) $@",
cmd = "cp $(location @bazel_tools//tools/android:android_jar) $@",
visibility = ["//visibility:public"],
)

0 comments on commit 39c37bb

Please sign in to comment.