summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2019-05-22 10:54:52 +0100
committerPaul Duffin <paulduffin@google.com>2019-05-22 11:02:00 +0100
commit5b5de803c84ea7927c1df85706004c7930d3a27b (patch)
treec84d9cefe4fdcbe20e4eeba9131839bcb1ed5f4e /annotations/generate_annotated_java_files.py
parentd26241542a05bd0825b39ec679e170292c5d5ea4 (diff)
Use prebuilt bpfmt in upload hook
The bpfmt tool will not always be on the path, e.g. if it has not been compiled. This switches to use the version that is available in prebuilts/build-tools/... The path to the bpfmt executable is passed in to the check-bpfmt.sh script because it depends on the ${BUILD_OS} placeholder. See tools/repohooks/README.md for more information about placeholders. Test: attempted to upload change with badly formatted .bp file. Change-Id: I4d0d12ed9ef533dae7e47d4ea9d840585d831a3b
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions