Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 7455e27

Browse files
authored
Update license script to ignore NOTICE.fuchsia file (#34038)
More context at http://fxb/94240
1 parent bacea15 commit 7455e27

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ci/licenses_golden/tool_signature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Signature: 1177a4d90f87bc4a0198864901db40ab
1+
Signature: 808fd97f7e34a2388888f371bb74e2fb
22

tools/licenses/lib/main.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2370,6 +2370,10 @@ class _RepositoryFuchsiaDirectory extends _RepositoryDirectory {
23702370
@override
23712371
bool shouldRecurse(fs.IoNode entry) {
23722372
return entry.name != 'toolchain'
2373+
// Applies to NOTICE.fuchsia file.
2374+
// This is a file that covers things that contribute to the Fuchsia SDK.
2375+
// See: fxb/94240
2376+
&& !(entry.name == 'NOTICE.fuchsia')
23732377
&& super.shouldRecurse(entry);
23742378
}
23752379

0 commit comments

Comments
 (0)