blob: a686dfb33541e7f68622762da746baf394208749 [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
Harpreet \"Eli\" Sanghaa096d662019-11-27 11:32:50 +09007 cmds/idlcli/
Siarhei Vishniakou23071042019-04-04 14:25:07 -07008 include/input/
Lais Andradeb59a9b52020-05-07 17:23:42 +01009 include/powermanager/
Steven Morelandd7b1f8a2019-10-03 09:37:17 -070010 libs/binder/fuzzer/
Steven Morelandcd056e42018-12-11 11:31:12 -080011 libs/binder/ndk/
Steven Moreland2b3f3cd2020-01-31 14:56:45 -080012 libs/binderthreadstate/
Peiyong Lin063b62f2018-10-24 11:21:47 -070013 libs/graphicsenv/
Jiwen 'Steve' Caic2ace9e2018-09-26 13:52:16 -070014 libs/gui/
Siarhei Vishniakou23071042019-04-04 14:25:07 -070015 libs/input/
Peiyong Lin46080ef2018-10-26 18:43:14 -070016 libs/renderengine/
Jiwen 'Steve' Caic2ace9e2018-09-26 13:52:16 -070017 libs/ui/
18 libs/vr/
Peiyong Lin98ad37c2020-01-08 14:19:09 -080019 opengl/libs/
Jiwen 'Steve' Caid9f2abe2018-10-20 17:03:13 -070020 services/bufferhub/
Siarhei Vishniakou23071042019-04-04 14:25:07 -070021 services/inputflinger/
Lais Andradeb59a9b52020-05-07 17:23:42 +010022 services/powermanager/
Jiwen 'Steve' Caic2ace9e2018-09-26 13:52:16 -070023 services/surfaceflinger/
Lais Andrade9e9fcc92020-04-07 20:13:08 +010024 services/vibratorservice/
Jiwen 'Steve' Caic2ace9e2018-09-26 13:52:16 -070025 services/vr/
Peiyong Lin98ad37c2020-01-08 14:19:09 -080026 vulkan/
Jiwen 'Steve' Caic2ace9e2018-09-26 13:52:16 -070027
Jeff Sharkeyf9857ad2018-09-11 12:22:54 -060028[Hook Scripts]
29owners_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "OWNERS$"
30installd_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/installd/"
Felipe Lemedb3c8982018-09-26 13:51:53 -070031dumpstate_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/dumpstate/"
32dumpsys_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/dumpsys/"
33# bugreports matches both cmds/bugreport and cmds/bugreportz
34bugreports_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/bugreport"