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
df675f45
Commit
df675f45
authored
Nov 30, 2016
by
Todd Volkert
Committed by
GitHub
Nov 30, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Fuchsia build (#7105)
parent
56f4fe42
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
fuchsia_builder.dart
packages/flutter_tools/bin/fuchsia_builder.dart
+2
-0
executable.dart
packages/flutter_tools/lib/executable.dart
+4
-0
No files found.
packages/flutter_tools/bin/fuchsia_builder.dart
View file @
df675f45
...
@@ -12,6 +12,7 @@ import '../lib/src/base/config.dart';
...
@@ -12,6 +12,7 @@ import '../lib/src/base/config.dart';
import
'../lib/src/base/context.dart'
;
import
'../lib/src/base/context.dart'
;
import
'../lib/src/base/logger.dart'
;
import
'../lib/src/base/logger.dart'
;
import
'../lib/src/base/os.dart'
;
import
'../lib/src/base/os.dart'
;
import
'../lib/src/base/process_manager.dart'
;
import
'../lib/src/cache.dart'
;
import
'../lib/src/cache.dart'
;
import
'../lib/src/flx.dart'
;
import
'../lib/src/flx.dart'
;
import
'../lib/src/globals.dart'
;
import
'../lib/src/globals.dart'
;
...
@@ -36,6 +37,7 @@ Future<Null> main(List<String> args) async {
...
@@ -36,6 +37,7 @@ Future<Null> main(List<String> args) async {
executableContext
.
setVariable
(
Logger
,
new
StdoutLogger
());
executableContext
.
setVariable
(
Logger
,
new
StdoutLogger
());
executableContext
.
runInZone
(()
{
executableContext
.
runInZone
(()
{
// Initialize the context with some defaults.
// Initialize the context with some defaults.
context
.
putIfAbsent
(
ProcessManager
,
()
=>
new
ProcessManager
());
context
.
putIfAbsent
(
Logger
,
()
=>
new
StdoutLogger
());
context
.
putIfAbsent
(
Logger
,
()
=>
new
StdoutLogger
());
context
.
putIfAbsent
(
Cache
,
()
=>
new
Cache
());
context
.
putIfAbsent
(
Cache
,
()
=>
new
Cache
());
context
.
putIfAbsent
(
Config
,
()
=>
new
Config
());
context
.
putIfAbsent
(
Config
,
()
=>
new
Config
());
...
...
packages/flutter_tools/lib/executable.dart
View file @
df675f45
...
@@ -96,6 +96,10 @@ Future<Null> main(List<String> args) async {
...
@@ -96,6 +96,10 @@ Future<Null> main(List<String> args) async {
// Make the context current.
// Make the context current.
_executableContext
.
runInZone
(()
{
_executableContext
.
runInZone
(()
{
// Initialize the context with some defaults.
// Initialize the context with some defaults.
// NOTE: Similar lists also exist in `bin/fuchsia_builder.dart` and
// `test/src/context.dart`. If you update this list of defaults, look
// in those locations as well to see if you need a similar update there.
// Seed these context entries first since others depend on them
// Seed these context entries first since others depend on them
context
.
putIfAbsent
(
ProcessManager
,
()
=>
new
ProcessManager
());
context
.
putIfAbsent
(
ProcessManager
,
()
=>
new
ProcessManager
());
context
.
putIfAbsent
(
Logger
,
()
=>
new
StdoutLogger
());
context
.
putIfAbsent
(
Logger
,
()
=>
new
StdoutLogger
());
...
...
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