From 058ee18532371d99300bd6a36d1fdf6ff4ab973e Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 13 Nov 2020 13:46:05 -0800 Subject: 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 Change-Id: I238aa216c01a6b7749290e7287d4b9d4745da52b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2537011 Reviewed-by: Eric Yilun Lin --- PRESUBMIT.cfg | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'PRESUBMIT.cfg') 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 -- cgit v1.2.1