Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
2ce57eb3
Commit
2ce57eb3
authored
Jun 16, 2016
by
Adam Barth
Committed by
GitHub
Jun 16, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix paths again (#4589)
I got confused about the sdk_ext directory.
parent
fc77bfe6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
build_aot.dart
packages/flutter_tools/lib/src/commands/build_aot.dart
+5
-5
No files found.
packages/flutter_tools/lib/src/commands/build_aot.dart
View file @
2ce57eb3
...
...
@@ -73,7 +73,7 @@ class BuildAotCommand extends FlutterCommand {
String
_getSdkExtensionPath
(
String
packagesPath
,
String
package
)
{
Directory
packageDir
=
new
Directory
(
path
.
join
(
packagesPath
,
package
));
return
path
.
join
(
path
.
dirname
(
packageDir
.
resolveSymbolicLinksSync
()),
'sdk_ext'
);
return
path
.
dirname
(
packageDir
.
resolveSymbolicLinksSync
()
);
}
/// Build an AOT snapshot. Return `null` (and log to `printError`) if the method
...
...
@@ -166,13 +166,13 @@ Future<String> _buildAotSnapshot(
return
null
;
}
String
mojo
SdkExt
=
_getSdkExtensionPath
(
packagesPath
,
'mojo'
);
String
mojoInternalPath
=
path
.
join
(
mojo
SdkExt
,
'internal.dart'
);
String
mojo
Pkg
=
_getSdkExtensionPath
(
packagesPath
,
'mojo'
);
String
mojoInternalPath
=
path
.
join
(
mojo
Pkg
,
'sdk_ext'
,
'internal.dart'
);
String
skyEnginePkg
=
_getSdkExtensionPath
(
packagesPath
,
'sky_engine'
);
String
uiPath
=
path
.
join
(
skyEnginePkg
,
'dart_ui'
,
'
dart_
ui.dart'
);
String
uiPath
=
path
.
join
(
skyEnginePkg
,
'dart_ui'
,
'ui.dart'
);
String
jniPath
=
path
.
join
(
skyEnginePkg
,
'dart_jni'
,
'jni.dart'
);
String
vmServicePath
=
path
.
join
(
skyEnginePkg
,
'dart'
,
'runtime'
,
'bin'
,
'vmservice'
,
'vmservice_io.dart'
);
String
vmServicePath
=
path
.
join
(
skyEnginePkg
,
'
sdk_ext'
,
'
dart'
,
'runtime'
,
'bin'
,
'vmservice'
,
'vmservice_io.dart'
);
List
<
String
>
filePaths
=
<
String
>[
genSnapshot
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment