-
Notifications
You must be signed in to change notification settings - Fork 0
/
PREUPLOAD.cfg
45 lines (43 loc) · 1.77 KB
/
PREUPLOAD.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[Builtin Hooks]
rustfmt = true
bpfmt = true
clang_format = true
[Builtin Hooks Options]
rustfmt = --config-path=rustfmt.toml
# Only turn on clang-format check for the following subfolders.
clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp
cmds/dumpstate/
cmds/idlcli/
cmds/installd/
cmds/servicemanager/
include/input/
include/powermanager/
libs/binder/fuzzer/
libs/binder/
libs/binderdebug/
libs/binderthreadstate/
libs/graphicsenv/
libs/gui/
libs/input/
libs/nativedisplay/
libs/nativewindow/
libs/renderengine/
libs/ui/
libs/vr/
opengl/libs/
services/bufferhub/
services/inputflinger/
services/powermanager/
services/surfaceflinger/
services/vibratorservice/
services/vr/
vulkan/
bpfmt = -d
[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/"
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"
binder_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^libs/binder/"