blob: b8ee3c525c8c587468b04a9ac971a9124cfb6e3e [file] [log] [blame]
Igor Murashkin2bb70d32017-02-06 10:34:14 -08001[Hook Scripts]
Igor Murashkine5193c62017-06-30 13:30:46 -07002check_generated_tests_up_to_date = tools/test_presubmit.py
Igor Murashkin2a2d3112017-11-14 15:03:25 -08003
Paul Duffin8d32baf2021-04-01 01:46:57 +01004hidden_api_txt_checksorted_hook = ${REPO_ROOT}/tools/platform-compat/hiddenapi/checksorted_sha.sh ${PREUPLOAD_COMMIT} ${REPO_ROOT}
5
Martin Stjernholmd90291b2021-05-27 20:54:22 +01006# TODO(b/189484095): Port libnativebridge tests to atest and enable in presubmit
7# so we don't need the custom runtests script and this check.
8check_libnativebridge_test_field = libnativebridge/tests/preupload_check_test_tag.sh ${PREUPLOAD_COMMIT_MESSAGE} ${PREUPLOAD_FILES}
9
Igor Murashkin2a2d3112017-11-14 15:03:25 -080010[Builtin Hooks]
11cpplint = true
Paul Duffin1cf31fe2019-06-18 18:45:21 +010012bpfmt = true
Paul Duffin719de432019-06-27 14:19:18 +010013gofmt = true
Igor Murashkin2a2d3112017-11-14 15:03:25 -080014
15[Builtin Hooks Options]
16# Cpplint prints nothing unless there were errors.
17cpplint = --quiet ${PREUPLOAD_FILES}