Jiwen 'Steve' Cai | c2ace9e | 2018-09-26 13:52:16 -0700 | [diff] [blame] | 1 | [Builtin Hooks] |
| 2 | clang_format = true |
| 3 | |
| 4 | [Builtin Hooks Options] |
| 5 | # Only turn on clang-format check for the following subfolders. |
| 6 | clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp |
| 7 | libs/gui/ |
| 8 | libs/ui/ |
| 9 | libs/vr/ |
| 10 | services/surfaceflinger/ |
| 11 | services/vr/ |
| 12 | |
Jeff Sharkey | f9857ad | 2018-09-11 12:22:54 -0600 | [diff] [blame] | 13 | [Hook Scripts] |
| 14 | owners_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "OWNERS$" |
| 15 | installd_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/installd/" |
Felipe Leme | db3c898 | 2018-09-26 13:51:53 -0700 | [diff] [blame] | 16 | dumpstate_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/dumpstate/" |
| 17 | dumpsys_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/dumpsys/" |
| 18 | # bugreports matches both cmds/bugreport and cmds/bugreportz |
| 19 | bugreports_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/bugreport" |