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
dda7a618
Unverified
Commit
dda7a618
authored
Feb 20, 2020
by
Jacob MacDonald
Committed by
GitHub
Feb 20, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add support for the builders configuration for web (#50988)
parent
6d0b1ef8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
codegen.dart
packages/flutter_tools/lib/src/codegen.dart
+3
-1
resident_runner.dart
packages/flutter_tools/lib/src/resident_runner.dart
+8
-6
No files found.
packages/flutter_tools/lib/src/codegen.dart
View file @
dda7a618
...
...
@@ -194,7 +194,9 @@ class CodeGeneratingResidentCompiler implements ResidentCompiler {
}
@override
void
addFileSystemRoot
(
String
root
)
{
}
void
addFileSystemRoot
(
String
root
)
{
_residentCompiler
.
addFileSystemRoot
(
root
);
}
}
/// The current status of a codegen build.
...
...
packages/flutter_tools/lib/src/resident_runner.dart
View file @
dda7a618
...
...
@@ -110,13 +110,15 @@ class FlutterDevice {
experimentalFlags:
experimentalFlags
,
dartDefines:
dartDefines
,
);
if
(
flutterProject
.
hasBuilders
)
{
generator
=
await
CodeGeneratingResidentCompiler
.
create
(
residentCompiler:
generator
,
flutterProject:
flutterProject
,
);
}
}
if
(
flutterProject
.
hasBuilders
)
{
generator
=
await
CodeGeneratingResidentCompiler
.
create
(
residentCompiler:
generator
,
flutterProject:
flutterProject
,
);
}
return
FlutterDevice
(
device
,
trackWidgetCreation:
trackWidgetCreation
,
...
...
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