1*e1997b9aSAndroid Build Coastguard Worker[Builtin Hooks] 2*e1997b9aSAndroid Build Coastguard Workerclang_format = true 3*e1997b9aSAndroid Build Coastguard Workerrustfmt = true 4*e1997b9aSAndroid Build Coastguard Worker 5*e1997b9aSAndroid Build Coastguard Worker[Builtin Hooks Options] 6*e1997b9aSAndroid Build Coastguard Workerclang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp 7*e1997b9aSAndroid Build Coastguard Workerrustfmt = --config-path=rustfmt.toml 8*e1997b9aSAndroid Build Coastguard Worker 9*e1997b9aSAndroid Build Coastguard Worker[Hook Scripts] 10*e1997b9aSAndroid Build Coastguard Workeraosp_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "." 11