blob: 6af09cac5c23a81e2687e4e14c3806cef3e0c8c0 [file] [log] [blame]
[Hook Scripts]
cros lint = cros lint --py3 ${PRESUBMIT_FILES}
gnlint = ./common-mk/gnlint.py ${PRESUBMIT_FILES}
gnlint unittest = ./common-mk/gnlint_unittest.py
check-readme.py = ./common-mk/check-readme.py
check-owners = ./common-mk/check-owners.py
check-libchrome = ../aosp/external/libchrome/libchrome_tools/check-libchrome.py
[Hook Overrides]
clang_format_check: true
cros_license_check: true
filepath_chartype_check: true
long_line_check: true
project_prefix_check: true
stray_whitespace_check: true
cargo_clippy_check: true
[Hook Overrides Options]
cros_license_check:
--exclude_regex=(/testdata/|^sepolicy/policy/|^sepolicy/shared/|^verity/)
--exclude_regex=^camera/(hal/mediatek|hal/intel|hal/rockchip|android)/
--exclude_regex=^nnapi/includes/android/
--exclude_regex=^chaps/pkcs11/(pkcs11f\.h|pkcs11\.h|pkcs11t\.h)
--exclude_regex=^vm_tools/sommelier/perfetto/sdk/perfetto\.(cc|h)
stray_whitespace_check:
--exclude_regex=/testdata/
long_line_check:
--exclude_regex=(/testdata/|^sepolicy/policy/|^sepolicy/shared/)
cargo_clippy_check:
--project=arc/vm/libvda/rust/
--project=libchromeos-rs/
--project=vm_tools/p9/
--project=vm_tools/9s/