PRESUBMIT: skip license check for third_party code

Intentionally including the directories separately since it's possible
third party code added in the future could use the standard license.

BRANCH=none
BUG=b:169276911
TEST=CQ passes

Signed-off-by: Tom Hughes <tomhughes@chromium.org>
Change-Id: I238aa216c01a6b7749290e7287d4b9d4745da52b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2537011
Reviewed-by: Eric Yilun Lin <yllin@chromium.org>
This commit is contained in:
Tom Hughes 2020-11-13 13:46:05 -08:00 committed by Commit Bot
parent 29f2dd41ad
commit 058ee18532
1 changed files with 6 additions and 0 deletions

View File

@ -13,7 +13,13 @@ checkpatch_check: --no-tree --ignore=MSLEEP,VOLATILE,SPDX_LICENSE_TAG
kerneldoc_check: --include_regex=\bec_commands\.h$
cros_license_check :
--exclude_regex=^third_party/bmi260/
--exclude_regex=^third_party/boringssl/
--exclude_regex=^third_party/incbin/
--exclude_regex=^third_party/libaeabi-cortexm0/
--exclude_regex=^third_party/linux/
--exclude_regex=^third_party/sha2/
--exclude_regex=^third_party/unacl-curve25519/
[Hook Scripts]
presubmit_check = util/presubmit_check.sh