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 {
}
@override
void addFileSystemRoot(String root) { }
void addFileSystemRoot(String root) {
_residentCompiler.addFileSystemRoot(root);
}
}
/// The current status of a codegen build.
......
......@@ -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,
......
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