aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/bootstrap
diff options
context:
space:
mode:
authorGravatar ajmichael <ajmichael@google.com>2017-05-10 11:17:30 -0400
committerGravatar Kristina Chodorow <kchodorow@google.com>2017-05-10 13:37:24 -0400
commit20824c1b23ba56188e725c43bf42d7a413827d5b (patch)
tree921e348e92aff3dc0d21d0f5600e099526fa671c /scripts/bootstrap
parent889bbe55d21d646d45c99208d595c7b9566ea662 (diff)
Set the correct main class on the desugar java_binary target in Bazel.
This will make it easier to build the desugarer tool from the Bazel source tree as an executable (deploy) jar and then use it for something else. For example, with this CL, you can do the following steps to get a standalone desugarer binary: 1. git clone https://github.com/bazelbuild/bazel 2. bazel build //src/tools/android/java/com/google/devtools/build/android/desugar:desugar_bin_deploy.jar 3. cp bazel-bin/src/tools/android/java/com/google/devtools/build/android/desugar/desugar_bin_deploy.jar ~/bin/desugar.jar And then you can invoke desugar without bazel with `java -jar ~/bin/desugar.jar`. https://github.com/bazelbuild/bazel/issues/2975 RELNOTES: None PiperOrigin-RevId: 155629711
Diffstat (limited to 'scripts/bootstrap')
0 files changed, 0 insertions, 0 deletions