2018-09-26 22:52:16 +02:00
|
|
|
[Builtin Hooks]
|
|
|
|
clang_format = true
|
|
|
|
|
|
|
|
[Builtin Hooks Options]
|
|
|
|
# Only turn on clang-format check for the following subfolders.
|
|
|
|
clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp
|
2019-11-27 03:32:50 +01:00
|
|
|
cmds/idlcli/
|
2019-04-04 23:25:07 +02:00
|
|
|
include/input/
|
2019-10-03 18:37:17 +02:00
|
|
|
libs/binder/fuzzer/
|
2018-12-11 20:31:12 +01:00
|
|
|
libs/binder/ndk/
|
2018-10-24 20:21:47 +02:00
|
|
|
libs/graphicsenv/
|
2018-09-26 22:52:16 +02:00
|
|
|
libs/gui/
|
2019-04-04 23:25:07 +02:00
|
|
|
libs/input/
|
2018-10-27 03:43:14 +02:00
|
|
|
libs/renderengine/
|
2018-09-26 22:52:16 +02:00
|
|
|
libs/ui/
|
|
|
|
libs/vr/
|
2020-01-08 23:19:09 +01:00
|
|
|
opengl/libs/
|
2018-10-21 02:03:13 +02:00
|
|
|
services/bufferhub/
|
2019-04-04 23:25:07 +02:00
|
|
|
services/inputflinger/
|
2018-09-26 22:52:16 +02:00
|
|
|
services/surfaceflinger/
|
|
|
|
services/vr/
|
2020-01-08 23:19:09 +01:00
|
|
|
vulkan/
|
2018-09-26 22:52:16 +02:00
|
|
|
|
2018-09-11 20:22:54 +02:00
|
|
|
[Hook Scripts]
|
|
|
|
owners_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "OWNERS$"
|
|
|
|
installd_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/installd/"
|
2018-09-26 22:51:53 +02:00
|
|
|
dumpstate_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/dumpstate/"
|
|
|
|
dumpsys_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/dumpsys/"
|
|
|
|
# bugreports matches both cmds/bugreport and cmds/bugreportz
|
|
|
|
bugreports_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/bugreport"
|