blob: cd0fbd48cddb580f4938c3cc323d1144ee5ca9f8 [file] [log] [blame]
Jiwen 'Steve' Caic2ace9e2018-09-26 13:52:16 -07001[Builtin Hooks]
2clang_format = true
3
4[Builtin Hooks Options]
5# Only turn on clang-format check for the following subfolders.
6clang_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 Sharkeyf9857ad2018-09-11 12:22:54 -060013[Hook Scripts]
14owners_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "OWNERS$"
15installd_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/installd/"
Felipe Lemedb3c8982018-09-26 13:51:53 -070016dumpstate_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/dumpstate/"
17dumpsys_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/dumpsys/"
18# bugreports matches both cmds/bugreport and cmds/bugreportz
19bugreports_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/bugreport"