blob: 2ce3fb05ccfcb3b02c0b3525e1ecc8e7d9332f4d [file] [log] [blame]
Jiwen 'Steve' Caic2ace9e2018-09-26 13:52:16 -07001[Builtin Hooks]
Matthew Maurere268a9f2022-07-26 09:31:30 -07002rustfmt = true
Steven Moreland3f29d482021-11-12 23:01:40 +00003bpfmt = true
Jiwen 'Steve' Caic2ace9e2018-09-26 13:52:16 -07004clang_format = true
5
6[Builtin Hooks Options]
Matthew Maurere268a9f2022-07-26 09:31:30 -07007rustfmt = --config-path=rustfmt.toml
Jiwen 'Steve' Caic2ace9e2018-09-26 13:52:16 -07008# Only turn on clang-format check for the following subfolders.
9clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp
Steven Moreland459db3b2023-03-16 21:26:20 +000010 cmds/dumpstate/
Harpreet \"Eli\" Sanghaa096d662019-11-27 11:32:50 +090011 cmds/idlcli/
Alex Buynytskyy79dcab52021-11-19 11:43:04 -080012 cmds/installd/
Steven Morelanda43807e2021-04-02 03:16:27 +000013 cmds/servicemanager/
Siarhei Vishniakou23071042019-04-04 14:25:07 -070014 include/input/
Lais Andradeb59a9b52020-05-07 17:23:42 +010015 include/powermanager/
Steven Morelandd7b1f8a2019-10-03 09:37:17 -070016 libs/binder/fuzzer/
Steven Moreland5059a5e2021-03-22 23:13:42 +000017 libs/binder/
Steven Morelanda4db1f02023-03-13 18:18:44 +000018 libs/binderdebug/
Steven Moreland2b3f3cd2020-01-31 14:56:45 -080019 libs/binderthreadstate/
Peiyong Lin063b62f2018-10-24 11:21:47 -070020 libs/graphicsenv/
Jiwen 'Steve' Caic2ace9e2018-09-26 13:52:16 -070021 libs/gui/
Siarhei Vishniakou23071042019-04-04 14:25:07 -070022 libs/input/
Ady Abraham62f216c2020-10-13 19:07:23 -070023 libs/nativedisplay/
Steven Morelandf5927b52022-12-29 22:03:14 +000024 libs/nativewindow/
Peiyong Lin46080ef2018-10-26 18:43:14 -070025 libs/renderengine/
Jiwen 'Steve' Caic2ace9e2018-09-26 13:52:16 -070026 libs/ui/
27 libs/vr/
Peiyong Lin98ad37c2020-01-08 14:19:09 -080028 opengl/libs/
Jiwen 'Steve' Caid9f2abe2018-10-20 17:03:13 -070029 services/bufferhub/
Siarhei Vishniakou23071042019-04-04 14:25:07 -070030 services/inputflinger/
Lais Andradeb59a9b52020-05-07 17:23:42 +010031 services/powermanager/
Jiwen 'Steve' Caic2ace9e2018-09-26 13:52:16 -070032 services/surfaceflinger/
Lais Andrade9e9fcc92020-04-07 20:13:08 +010033 services/vibratorservice/
Jiwen 'Steve' Caic2ace9e2018-09-26 13:52:16 -070034 services/vr/
Peiyong Lin98ad37c2020-01-08 14:19:09 -080035 vulkan/
Dmitri Plotnikov5effd852021-08-11 14:55:58 -070036bpfmt = -d
Jiwen 'Steve' Caic2ace9e2018-09-26 13:52:16 -070037
Jeff Sharkeyf9857ad2018-09-11 12:22:54 -060038[Hook Scripts]
39owners_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "OWNERS$"
40installd_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/installd/"
Felipe Lemedb3c8982018-09-26 13:51:53 -070041dumpstate_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/dumpstate/"
42dumpsys_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/dumpsys/"
43# bugreports matches both cmds/bugreport and cmds/bugreportz
44bugreports_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/bugreport"
Steven Morelandbcb9b012023-03-15 21:26:42 +000045binder_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^libs/binder/"