• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[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
7               cmds/idlcli/
8               cmds/servicemanager/
9               include/input/
10               include/powermanager/
11               libs/binder/fuzzer/
12               libs/binder/
13               libs/binderthreadstate/
14               libs/graphicsenv/
15               libs/gui/
16               libs/input/
17               libs/nativedisplay/
18               libs/renderengine/
19               libs/ui/
20               libs/vr/
21               opengl/libs/
22               services/bufferhub/
23               services/inputflinger/
24               services/powermanager/
25               services/surfaceflinger/
26               services/vibratorservice/
27               services/vr/
28               vulkan/
29
30[Hook Scripts]
31owners_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "OWNERS$"
32installd_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/installd/"
33dumpstate_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/dumpstate/"
34dumpsys_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/dumpsys/"
35# bugreports matches both cmds/bugreport and cmds/bugreportz
36bugreports_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^cmds/bugreport"
37