From 88faba02e2cbf3863c1eb65ed0a404fca2758b14 Mon Sep 17 00:00:00 2001 From: Alexander Aprelev Date: Mon, 22 May 2023 12:53:54 -0700 Subject: [PATCH] Skip and ignore boringssl/src/rust when looking for the licenses. (flutter/engine#42210) third_party/boringssl/src/rust/bssl-crypto/deny.toml coming in as part of https://dart-review.googlesource.com/c/sdk/+/304210 triggers 'potential license' license script error. Rust sources of boringssl are not included into flutter, don't need to be scanned for licenses. --- engine/src/flutter/ci/licenses_golden/tool_signature | 2 +- engine/src/flutter/tools/licenses/lib/paths.dart | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/engine/src/flutter/ci/licenses_golden/tool_signature b/engine/src/flutter/ci/licenses_golden/tool_signature index 16527fe6563..e8cee7ed4c9 100644 --- a/engine/src/flutter/ci/licenses_golden/tool_signature +++ b/engine/src/flutter/ci/licenses_golden/tool_signature @@ -1,2 +1,2 @@ -Signature: cb8556d451f3040815fe5ee661d5dbad +Signature: 70f28de8b1b5d020e6870e2da16913ee diff --git a/engine/src/flutter/tools/licenses/lib/paths.dart b/engine/src/flutter/tools/licenses/lib/paths.dart index 936b1db5064..c3109e06b06 100644 --- a/engine/src/flutter/tools/licenses/lib/paths.dart +++ b/engine/src/flutter/tools/licenses/lib/paths.dart @@ -58,6 +58,7 @@ final Set skippedPaths = { r'third_party/benchmark', // only used by tests r'third_party/boringssl/src/crypto/err/err_data_generate.go', r'third_party/boringssl/src/fuzz', // testing tools, not shipped + r'third_party/boringssl/src/rust', // rust-related code is not shipped r'third_party/boringssl/src/util', // code generators, not shipped r'third_party/colorama/src/demos', r'third_party/colorama/src/screenshots',