summaryrefslogtreecommitdiffstats
path: root/PREUPLOAD.cfg
blob: 7b9c4277770ba975a32d0d67347b99a482b96fcb (plain)
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
[Builtin Hooks]
clang_format = true
xmllint = true

[Builtin Hooks Options]
clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp
               hostsidetests
               tests/tests/binder_ndk

[Hook Scripts]
checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}
                  -fw apps/CtsVerifier/src/com/android/cts/verifier/usb/
                      apps/CtsVerifierUSBCompanion/
                      libs/
                      tests/app/
                      tests/autofillservice/
                      tests/contentcaptureservice/
                      tests/tests/animation/
                      tests/tests/carrierapi/
                      tests/tests/content/
                      tests/tests/graphics/
                      tests/tests/hardware/
                      tests/tests/permission2/
                      tests/tests/permission/
                      tests/tests/preference/
                      tests/tests/print/
                      tests/tests/telephony/
                      tests/tests/telephony2/
                      tests/tests/telephony3/
                      tests/tests/telephony4/
                      tests/tests/telephonyprovider/
                      tests/tests/text/
                      tests/tests/theme/
                      tests/tests/transition/
                      tests/tests/uirendering/
                      tests/tests/view/
                      tests/tests/widget/
                      common/device-side/util/
                      hostsidetests/stagedinstall/
                      hostsidetests/userspacereboot/
                      tests/tests/packageinstaller/atomicinstall/

ktlint_hook = ${REPO_ROOT}/prebuilts/ktlint/ktlint.py -f ${PREUPLOAD_FILES}