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
a69af990
Unverified
Commit
a69af990
authored
Dec 05, 2017
by
Alexander Markov
Committed by
GitHub
Dec 05, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pass --aot option to front-end server when generating kernel for AOT build (#13342)
parent
373e510c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
build_aot.dart
packages/flutter_tools/lib/src/commands/build_aot.dart
+1
-0
compile.dart
packages/flutter_tools/lib/src/compile.dart
+4
-0
No files found.
packages/flutter_tools/lib/src/commands/build_aot.dart
View file @
a69af990
...
...
@@ -334,6 +334,7 @@ Future<String> _buildAotSnapshot(
mainPath:
mainPath
,
extraFrontEndOptions:
extraFrontEndOptions
,
linkPlatformKernelIn
:
true
,
aot
:
true
,
);
}
...
...
packages/flutter_tools/lib/src/compile.dart
View file @
a69af990
...
...
@@ -60,6 +60,7 @@ Future<String> compile(
{
String
sdkRoot
,
String
mainPath
,
bool
linkPlatformKernelIn
:
false
,
bool
aot
:
false
,
List
<
String
>
extraFrontEndOptions
,
String
incrementalCompilerByteStorePath
})
async
{
final
String
frontendServer
=
artifacts
.
getArtifactPath
(
...
...
@@ -77,6 +78,9 @@ Future<String> compile(
];
if
(!
linkPlatformKernelIn
)
command
.
add
(
'--no-link-platform'
);
if
(
aot
)
{
command
.
add
(
'--aot'
);
}
if
(
incrementalCompilerByteStorePath
!=
null
)
{
command
.
addAll
(<
String
>[
'--incremental'
,
...
...
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