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
|
|
|
|
libs/gui/
|
|
|
|
libs/ui/
|
|
|
|
libs/vr/
|
|
|
|
services/surfaceflinger/
|
|
|
|
services/vr/
|
|
|
|
|
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"
|