Do not fail formatting when google-java-formatter is not found
A missing google-java-format should not break older chromium branches and non-chromium projects. This causes the formatting step to skip .java files when google-java-format is not available, and introduces an environment variable GOOGLE_JAVA_FORMAT_PATH to set a custom path. Bug: 1491627 Change-Id: I5e3155553630ddc59c1a8d197e96079f6a372454 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4930437 Commit-Queue: Andrew Grieve <agrieve@chromium.org> Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>changes/37/4930437/3
parent
aabd869daf
commit
69e597f8e5
Loading…
Reference in New Issue