1[Hook Scripts]
2check_generated_tests_up_to_date = tools/test_presubmit.py
3
4hidden_api_txt_checksorted_hook = ${REPO_ROOT}/tools/platform-compat/hiddenapi/checksorted_sha.sh ${PREUPLOAD_COMMIT} ${REPO_ROOT}
5
6# 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
10[Builtin Hooks]
11cpplint = true
12bpfmt = true
13gofmt = true
14
15[Builtin Hooks Options]
16# Cpplint prints nothing unless there were errors.
17cpplint = --quiet ${PREUPLOAD_FILES}
18