blob: 3fa5430d5249498f7b9f5acc1ca1544e6b28feb6 [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
Siarhei Vishniakou23071042019-04-04 14:25:07 -07007 include/input/
Steven Morelandd7b1f8a2019-10-03 09:37:17 -07008 libs/binder/fuzzer/
Steven Morelandcd056e42018-12-11 11:31:12 -08009 libs/binder/ndk/
Peiyong Lin063b62f2018-10-24 11:21:47 -070010 libs/graphicsenv/
Jiwen 'Steve' Caic2ace9e2018-09-26 13:52:16 -070011 libs/gui/
Siarhei Vishniakou23071042019-04-04 14:25:07 -070012 libs/input/
Peiyong Lin46080ef2018-10-26 18:43:14 -070013 libs/renderengine/
Jiwen 'Steve' Caic2ace9e2018-09-26 13:52:16 -070014 libs/ui/
15 libs/vr/
Jiwen 'Steve' Caid9f2abe2018-10-20 17:03:13 -070016 services/bufferhub/
Siarhei Vishniakou23071042019-04-04 14:25:07 -070017 services/inputflinger/
Jiwen 'Steve' Caic2ace9e2018-09-26 13:52:16 -070018 services/surfaceflinger/
19 services/vr/
20
Jeff Sharkeyf9857ad2018-09-11 12:22:54 -060021[Hook Scripts]
22owners_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "OWNERS$"
23installd_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/installd/"
Felipe Lemedb3c8982018-09-26 13:51:53 -070024dumpstate_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/dumpstate/"
25dumpsys_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/dumpsys/"
26# bugreports matches both cmds/bugreport and cmds/bugreportz
27bugreports_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/bugreport"