[dartdev] Fix test package resolution

Change-Id: I6d0d9fd29dd7eafcbf7d451b3f91ca66cc8c7fe7
Cq-Include-Trybots: luci.dart.try:pkg-linux-debug-try,pkg-linux-release-arm64-try,pkg-linux-release-try,pkg-mac-release-arm64-try,pkg-mac-release-try,pkg-win-release-arm64-try,pkg-win-release-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/510300
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Daco Harkes <dacoharkes@google.com>
This commit is contained in:
Daco Harkes
2026-06-09 01:26:43 -07:00
committed by dart-scoped@luci-project-accounts.iam.gserviceaccount.com
parent daadde51d8
commit bf82bf3d38
+5 -1
View File
@@ -132,7 +132,11 @@ Future<void> copyTestProjects(
.resolve('third_party/pkg/native/pkgs/$package/')
.toFilePath(),
},
'meta': {'path': sdkRoot.resolve('pkg/meta/').toFilePath()},
for (final package in [
'analyzer', // package:analyzer depends on package:meta.
'meta',
])
package: {'path': sdkRoot.resolve('pkg/$package/').toFilePath()},
};
final userDefinesWorkspace = {};
for (final pubspecPath in pubspecPaths) {