Commit ab1aa07e authored by Adam Barth's avatar Adam Barth Committed by GitHub

Update engine (#9484)

parent a97060e0
2a4434a058d0243447483101160c833029cb3654 fd286ae4455a84ae37f7e7207089cf1671b8b6bd
...@@ -113,8 +113,8 @@ void createFooter(String footerPath) { ...@@ -113,8 +113,8 @@ void createFooter(String footerPath) {
void sanityCheckDocs() { void sanityCheckDocs() {
final List<String> canaries = <String>[ final List<String> canaries = <String>[
'$kDocRoot/api/dart.io/File-class.html', '$kDocRoot/api/dart.io/File-class.html',
'$kDocRoot/api/dart_ui/Canvas-class.html', '$kDocRoot/api/dart.ui/Canvas-class.html',
'$kDocRoot/api/dart_ui/Canvas/drawRect.html', '$kDocRoot/api/dart.ui/Canvas/drawRect.html',
'$kDocRoot/api/flutter_test/WidgetTester/pumpWidget.html', '$kDocRoot/api/flutter_test/WidgetTester/pumpWidget.html',
'$kDocRoot/api/material/Material-class.html', '$kDocRoot/api/material/Material-class.html',
'$kDocRoot/api/material/Tooltip-class.html', '$kDocRoot/api/material/Tooltip-class.html',
......
...@@ -78,7 +78,7 @@ class BuildAotCommand extends BuildSubCommand { ...@@ -78,7 +78,7 @@ class BuildAotCommand extends BuildSubCommand {
} }
} }
String _getSdkExtensionPath(PackageMap packageMap, String package) { String _getPackagePath(PackageMap packageMap, String package) {
return fs.path.dirname(packageMap.map[package].toFilePath()); return fs.path.dirname(packageMap.map[package].toFilePath());
} }
...@@ -145,8 +145,8 @@ Future<String> _buildAotSnapshot( ...@@ -145,8 +145,8 @@ Future<String> _buildAotSnapshot(
return null; return null;
} }
final String skyEnginePkg = _getSdkExtensionPath(packageMap, 'sky_engine'); final String skyEnginePkg = _getPackagePath(packageMap, 'sky_engine');
final String uiPath = fs.path.join(skyEnginePkg, 'dart_ui', 'ui.dart'); final String uiPath = fs.path.join(skyEnginePkg, 'lib', 'ui', 'ui.dart');
final String vmServicePath = fs.path.join(skyEnginePkg, 'sdk_ext', 'vmservice_io.dart'); final String vmServicePath = fs.path.join(skyEnginePkg, 'sdk_ext', 'vmservice_io.dart');
final List<String> filePaths = <String>[ final List<String> filePaths = <String>[
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment