Unverified Commit dda7a618 authored by Jacob MacDonald's avatar Jacob MacDonald Committed by GitHub

add support for the builders configuration for web (#50988)

parent 6d0b1ef8
...@@ -194,7 +194,9 @@ class CodeGeneratingResidentCompiler implements ResidentCompiler { ...@@ -194,7 +194,9 @@ class CodeGeneratingResidentCompiler implements ResidentCompiler {
} }
@override @override
void addFileSystemRoot(String root) { } void addFileSystemRoot(String root) {
_residentCompiler.addFileSystemRoot(root);
}
} }
/// The current status of a codegen build. /// The current status of a codegen build.
......
...@@ -110,13 +110,15 @@ class FlutterDevice { ...@@ -110,13 +110,15 @@ class FlutterDevice {
experimentalFlags: experimentalFlags, experimentalFlags: experimentalFlags,
dartDefines: dartDefines, dartDefines: dartDefines,
); );
}
if (flutterProject.hasBuilders) { if (flutterProject.hasBuilders) {
generator = await CodeGeneratingResidentCompiler.create( generator = await CodeGeneratingResidentCompiler.create(
residentCompiler: generator, residentCompiler: generator,
flutterProject: flutterProject, flutterProject: flutterProject,
); );
} }
}
return FlutterDevice( return FlutterDevice(
device, device,
trackWidgetCreation: trackWidgetCreation, trackWidgetCreation: trackWidgetCreation,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment