blob: 1a932c3d046dbdfb470bf643ab7087cc6c773391 [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
Steven Morelandcd056e42018-12-11 11:31:12 -08007 libs/binder/ndk/
Peiyong Lin063b62f2018-10-24 11:21:47 -07008 libs/graphicsenv/
Jiwen 'Steve' Caic2ace9e2018-09-26 13:52:16 -07009 libs/gui/
Peiyong Lin46080ef2018-10-26 18:43:14 -070010 libs/renderengine/
Jiwen 'Steve' Caic2ace9e2018-09-26 13:52:16 -070011 libs/ui/
12 libs/vr/
Jiwen 'Steve' Caid9f2abe2018-10-20 17:03:13 -070013 services/bufferhub/
Jiwen 'Steve' Caic2ace9e2018-09-26 13:52:16 -070014 services/surfaceflinger/
15 services/vr/
16
Jeff Sharkeyf9857ad2018-09-11 12:22:54 -060017[Hook Scripts]
18owners_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "OWNERS$"
19installd_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/installd/"
Felipe Lemedb3c8982018-09-26 13:51:53 -070020dumpstate_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/dumpstate/"
21dumpsys_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/dumpsys/"
22# bugreports matches both cmds/bugreport and cmds/bugreportz
23bugreports_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/bugreport"