summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2020-11-13 13:46:05 -0800
committerCommit Bot <commit-bot@chromium.org>2020-11-16 17:12:32 +0000
commit058ee18532371d99300bd6a36d1fdf6ff4ab973e (patch)
treed67afc433300d9bc11a78b6d46e229c30b4c0a4c
parent29f2dd41adfcbb6327b68c0efa4329ea16084919 (diff)
downloadchrome-ec-058ee18532371d99300bd6a36d1fdf6ff4ab973e.tar.gz
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>
-rw-r--r--PRESUBMIT.cfg6
1 files changed, 6 insertions, 0 deletions
diff --git a/PRESUBMIT.cfg b/PRESUBMIT.cfg
index 5d83f2b980..0cfaa932a9 100644
--- a/PRESUBMIT.cfg
+++ b/PRESUBMIT.cfg
@@ -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