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