blob: 34061cfb900a6c325dbef7bc23a6b160031bceee [file] [log] [blame]
Steven Morelandb6f3c1f2018-12-12 10:21:29 -08001[Builtin Hooks]
2clang_format = true
Hayden Gomesc6df3d02019-06-04 14:39:46 -07003xmllint = true
Siarhei Vishniakou26512242021-09-24 14:04:34 -07004bpfmt = true
Steven Morelandb6f3c1f2018-12-12 10:21:29 -08005
6[Builtin Hooks Options]
7clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp
Siarhei Vishniakou82968a12020-01-23 15:22:16 -06008 hostsidetests
Steven Morelandb6f3c1f2018-12-12 10:21:29 -08009 tests/tests/binder_ndk
Chris Ye6830a602020-04-07 19:33:54 -070010 tests/tests/view/jni
Steven Morelandb6f3c1f2018-12-12 10:21:29 -080011
Philip P. Moltmannc70e2472016-10-20 17:19:56 -070012[Hook Scripts]
Aurimas Liutikas62899a72016-12-15 13:47:49 -080013checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}
Aurimas Liutikasecb57332019-02-07 17:55:07 -080014
15ktlint_hook = ${REPO_ROOT}/prebuilts/ktlint/ktlint.py -f ${PREUPLOAD_FILES}
Felka Changfe90a172020-12-15 22:40:59 +080016
17splits_native_libs_hook = ${REPO_ROOT}/cts/hostsidetests/appsecurity/test-apps/SplitApp/check_not_modify_libs.sh
18 ${PREUPLOAD_FILES}
19
Jonathan Scotteffca5d2022-02-14 12:18:28 +000020bedstead_aosp_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "common/device-side/bedstead/"