[flutter_tools] refactor build_system and targets to be context-free (#53268)

This commit is contained in:
Jonah Williams
2020-03-30 12:51:04 -07:00
committed by GitHub
parent 4605b51a7e
commit 72343ee0e4
21 changed files with 476 additions and 278 deletions

View File

@@ -53,6 +53,10 @@ Future<void> buildWeb(
kCspMode: csp.toString(),
kIconTreeShakerFlag: buildInfo.treeShakeIcons.toString(),
},
artifacts: globals.artifacts,
fileSystem: globals.fs,
logger: globals.logger,
processManager: globals.processManager,
));
if (!result.success) {
for (final ExceptionMeasurement measurement in result.exceptions.values) {