platform_manifest/GLOBAL-PREUPLOAD.cfg
Jeff Davidson a335958f39 Add google-java-format tools to GLOBAL-PREUPLOAD.cfg.
Bug: 31552314
Test: Verified on a sample project
Change-Id: Ie15d0233e186c61c8f65fb567614aeb754995cb1
2016-12-15 12:32:51 -08:00

16 lines
781 B
INI

# Settings in here control defaults for `repo upload` checks for all projects
# listed in the manifest. Do not turn on things here without first consulting
# the wider Android team, and make sure you send out a PSA before landing.
[Options]
ignore_merged_commits = true
[Builtin Hooks]
commit_msg_test_field = true
[Tool Paths]
clang-format = ${REPO_ROOT}/prebuilts/clang/host/${BUILD_OS}/clang-stable/bin/clang-format
git-clang-format = ${REPO_ROOT}/prebuilts/clang/host/${BUILD_OS}/clang-stable/bin/git-clang-format
gofmt = ${REPO_ROOT}/prebuilts/go/${BUILD_OS}/bin/gofmt
google-java-format = ${REPO_ROOT}/prebuilts/tools/common/google-java-format/google-java-format
google-java-format-diff = ${REPO_ROOT}/prebuilts/tools/common/google-java-format/google-java-format-diff.py