Tao Bao | 6b1aae3 | 2017-09-26 15:37:59 -0700 | [diff] [blame] | 1 | [Builtin Hooks] |
| 2 | clang_format = true |
| 3 | |
| 4 | [Builtin Hooks Options] |
| 5 | # Handle native codes only. |
| 6 | clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp |
Zhomart Mukhamejanov | 0e007e8 | 2018-04-17 16:09:31 -0700 | [diff] [blame] | 7 | |
| 8 | [Hook Scripts] |
Elliott Hughes | f393cef | 2021-09-23 14:02:10 -0700 | [diff] [blame] | 9 | aosp_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "." |
Zhomart Mukhamejanov | 0e007e8 | 2018-04-17 16:09:31 -0700 | [diff] [blame] | 10 | checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT} |
Tao Bao | 6394a73 | 2018-04-30 15:38:14 -0700 | [diff] [blame] | 11 | --file_whitelist tools/ updater_sample/ |