blob: e731138ff40d11520ae98ee63d26faa2c896e174 [file] [log] [blame]
Aurimas Liutikas5c19b542016-10-11 14:01:36 -07001[Hook Scripts]
Aurimas Liutikascb494a32016-12-15 15:01:36 -08002checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}
Philip P. Moltmannd7cee3c2016-10-20 17:09:39 -07003
Jason Monk53b2a732017-11-10 15:43:17 -05004api_lint_hook = ${REPO_ROOT}/frameworks/base/tools/apilint/apilint_sha.sh ${PREUPLOAD_COMMIT}
Jeff Sharkeyabe058c2018-03-26 09:38:01 -06005
6strings_lint_hook = ${REPO_ROOT}/frameworks/base/tools/stringslint/stringslint_sha.sh ${PREUPLOAD_COMMIT}
Mathew Inwoode5dc64d2018-04-23 16:13:14 +01007
Paul Duffin00537c12018-11-28 12:22:14 +00008hidden_api_txt_checksorted_hook = ${REPO_ROOT}/frameworks/base/tools/hiddenapi/checksorted_sha.sh ${PREUPLOAD_COMMIT} ${REPO_ROOT}
9
10hidden_api_txt_exclude_hook = ${REPO_ROOT}/frameworks/base/tools/hiddenapi/exclude.sh ${PREUPLOAD_COMMIT} ${REPO_ROOT}
Jeff Sharkey0a9c7312018-08-23 22:01:53 -060011
Remi NGUYEN VANba47bae2019-07-24 15:48:44 +090012ktlint_hook = ${REPO_ROOT}/prebuilts/ktlint/ktlint.py -f ${PREUPLOAD_FILES}
13
Jeff Sharkey0a9c7312018-08-23 22:01:53 -060014owners_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "OWNERS$"
Felipe Leme4c192e962018-09-26 11:07:30 -070015
16shell_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "^packages/Shell/"