Update engine (#9484)

This commit is contained in:
Adam Barth 2017-04-19 15:42:02 -07:00 committed by GitHub
parent a97060e095
commit ab1aa07e8f
3 changed files with 6 additions and 6 deletions

View File

@ -1 +1 @@
2a4434a058d0243447483101160c833029cb3654 fd286ae4455a84ae37f7e7207089cf1671b8b6bd

View File

@ -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',

View File

@ -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(
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>[