blob: 3450a56d369b62a7dc3d0717083904adfd238682 [file] [log] [blame]
[Hook Scripts]
cros lint = cros lint ${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)
--exclude_regex=^vm_tools/sommelier/virtualization/linux-headers/
stray_whitespace_check:
--exclude_regex=/testdata/
long_line_check:
--exclude_regex=(/testdata/|^sepolicy/(policy|shared|file_contexts)/)
cargo_clippy_check:
--project=chromeos-dbus-bindings/
--project=crosh/
--project=cronista/
--project=libchromeos-rs/
--project=vm_tools/9s/
--project=resourced/
--project=sirenia/
--project=system_api/