1[Builtin Hooks]
2clang_format = true
3xmllint = true
4
5[Builtin Hooks Options]
6clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp
7               hostsidetests
8               tests/tests/binder_ndk
9               tests/tests/view/jni
10
11[Hook Scripts]
12checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}
13                  -fw apps/CtsVerifier/
14                      apps/CtsVerifierUSBCompanion/
15                      common/device-side/bedstead/
16                      common/device-side/util/
17                      hostsidetests/car/
18                      hostsidetests/devicepolicy
19                      hostsidetests/dumpsys
20                      hostsidetests/graphics
21                      hostsidetests/inputmethodservice/
22                      hostsidetests/multiuser/
23                      hostsidetests/scopedstorage/
24                      hostsidetests/stagedinstall/
25                      hostsidetests/userspacereboot/
26                      libs/
27                      tests/app/
28                      tests/autofillservice/
29                      tests/contentcaptureservice/
30                      tests/inputmethod/
31                      tests/tests/animation/
32                      tests/tests/carrierapi/
33                      tests/tests/content/
34                      tests/tests/graphics/
35                      tests/tests/hardware/
36                      tests/tests/packageinstaller/atomicinstall/
37                      tests/tests/permission2/
38                      tests/tests/permission/
39                      tests/tests/preference/
40                      tests/tests/print/
41                      tests/tests/telephony/
42                      tests/tests/telephony2/
43                      tests/tests/telephony3/
44                      tests/tests/telephony4/
45                      tests/tests/telephonyprovider/
46                      tests/tests/text/
47                      tests/tests/theme/
48                      tests/tests/transition/
49                      tests/tests/uirendering/
50                      tests/tests/view/
51                      tests/tests/widget/
52
53ktlint_hook = ${REPO_ROOT}/prebuilts/ktlint/ktlint.py -f ${PREUPLOAD_FILES}
54
55splits_native_libs_hook = ${REPO_ROOT}/cts/hostsidetests/appsecurity/test-apps/SplitApp/check_not_modify_libs.sh
56                          ${PREUPLOAD_FILES}
57
58