commit | 3eba907b55331a01094b416cd6c99885e0af84eb | [log] [tgz] |
---|---|---|
author | P.Y. Laligand <pylaligand@google.com> | Tue Mar 24 19:50:19 2020 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Tue Mar 24 19:50:19 2020 +0000 |
tree | 409ab70efe05771bba581c0b41005877c9249bf1 | |
parent | 5b6c3d168d7f4481c5aae857c54a484e45b1d7e0 [diff] |
[build] Prevent the Flutter asset packaging tool from making network calls. These calls would stall for an hour in virual environments. Bug: 48828 Change-Id: Iaca7125bd263bed356f2b1e3807a6b3efdbeb403
diff --git a/runtime/flutter_runner/build/asset_package.py b/runtime/flutter_runner/build/asset_package.py index c868887..1d5235f 100755 --- a/runtime/flutter_runner/build/asset_package.py +++ b/runtime/flutter_runner/build/asset_package.py
@@ -31,6 +31,8 @@ env = os.environ.copy() env['FLUTTER_ROOT'] = args.flutter_root + # This ensures the tool does not make unneeded network calls. + env['BOT'] = 'true' call_args = [ args.flutter_tools,