Move Dart licenses into a separate golden file (flutter/engine#43289)

This will avoid conflicts between Dart rolls and rolls of other third
party components such as ANGLE.
This commit is contained in:
Jason Simmons
2023-07-17 14:02:00 -07:00
committed by GitHub
parent f1bbe70983
commit 5c61353b89
4 changed files with 4836 additions and 2 deletions

View File

@@ -1480,6 +1480,7 @@
../../../third_party/colorama/src/requirements.txt
../../../third_party/colorama/src/screenshots
../../../third_party/colorama/src/setup.py
../../../third_party/dart
../../../third_party/dart/.clang-format
../../../third_party/dart/.dart_tool
../../../third_party/dart/.git

File diff suppressed because it is too large Load Diff

View File

@@ -1,2 +1,2 @@
Signature: 70f28de8b1b5d020e6870e2da16913ee
Signature: 146d867e969af92134525e494a501d48

View File

@@ -1451,7 +1451,11 @@ class _EngineSrcDirectory extends _RepositoryDirectory {
// is therefore represented as a separate top-level component.
final fs.Directory thirdPartyNode = findChildDirectory(ioDirectory, 'third_party')!;
final fs.Directory skiaNode = findChildDirectory(thirdPartyNode, 'skia')!;
return <_RepositoryDirectory>[_RepositorySkiaDirectory(this, skiaNode)];
final fs.Directory dartNode = findChildDirectory(thirdPartyNode, 'dart')!;
return <_RepositoryDirectory>[
_RepositorySkiaDirectory(this, skiaNode),
_RepositorySkiaDirectory(this, dartNode),
];
}
}
@@ -1468,6 +1472,7 @@ class _RepositoryRootThirdPartyDirectory extends _RepositoryGenericThirdPartyDir
@override
bool shouldRecurse(fs.IoNode entry) {
return entry.name != 'skia' // handled as a virtual directory of the root
&& entry.name != 'dart' // handled as a virtual directory of the root
&& super.shouldRecurse(entry);
}