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
984b6239
Commit
984b6239
authored
8 years ago
by
Jason Simmons
Committed by
GitHub
8 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix builds of FLX bundles using AOT compilation (#6684)
parent
d86900d2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
fuchsia_builder.dart
packages/flutter_tools/bin/fuchsia_builder.dart
+3
-3
flx.dart
packages/flutter_tools/lib/src/flx.dart
+3
-2
No files found.
packages/flutter_tools/bin/fuchsia_builder.dart
View file @
984b6239
...
...
@@ -42,12 +42,12 @@ Future<Null> main(List<String> args) async {
}
Cache
.
flutterRoot
=
Platform
.
environment
[
'FLUTTER_ROOT'
];
String
outputPath
=
argResults
[
_kOptionOutput
];
final
int
buildResult
=
await
build
(
final
int
buildResult
=
await
assemble
(
outputPath:
outputPath
,
snapshot
Path:
argResults
[
_kOptionSnapshot
]
,
snapshot
File:
new
File
(
argResults
[
_kOptionSnapshot
])
,
workingDirPath:
argResults
[
_kOptionWorking
],
packagesPath:
argResults
[
_kOptionPackages
],
precompiledSnapshot:
true
,
manifestPath:
defaultManifestPath
,
includeRobotoFonts:
true
,
);
if
(
buildResult
!=
0
)
{
...
...
This diff is collapsed.
Click to expand it.
packages/flutter_tools/lib/src/flx.dart
View file @
984b6239
...
...
@@ -90,6 +90,7 @@ Future<int> build({
depfilePath
??=
defaultDepfilePath
;
workingDirPath
??=
getAssetBuildDirectory
();
packagesPath
??=
path
.
absolute
(
PackageMap
.
globalPackagesPath
);
File
snapshotFile
;
if
(!
precompiledSnapshot
)
{
ensureDirectoryExists
(
snapshotPath
);
...
...
@@ -107,9 +108,9 @@ Future<int> build({
printError
(
'Failed to run the Flutter compiler. Exit code:
$result
'
);
return
result
;
}
}
File
snapshotFile
=
new
File
(
snapshotPath
);
snapshotFile
=
new
File
(
snapshotPath
);
}
return
assemble
(
manifestPath:
manifestPath
,
...
...
This diff is collapsed.
Click to expand it.
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