flutter/dev/devicelab/lib/tasks
Jackson Gardner ba626dc83a
Wasm/JS Dual Compile with the flutter tool (#141396)
This implements dual compile via the newly available flutter.js bootstrapping APIs for intelligent build fallback.
* Users can now use the `FlutterLoader.load` API from flutter.js
* Flutter tool injects build info into the `index.html` of the user so that the bootstrapper knows which build variants are available to bootstrap
* The semantics of the `--wasm` flag for `flutter build web` have changed:
  - Instead of producing a separate `build/web_wasm` directory, the output goes to the `build/web` directory like a normal web build
  - Produces a dual build that contains two build variants: dart2wasm+skwasm and dart2js+CanvasKit. The dart2wasm+skwasm will only work on Chrome in a cross-origin isolated context, all other environments will fall back to dart2js+CanvasKit.
  - `--wasm` and `--web-renderer` are now mutually exclusive. Since there are multiple build variants with `--wasm`, the web renderer cannot be expressed via a single command-line flag. For now, we are hard coding what build variants are produced with the `--wasm` flag, but I plan on making this more customizable in the future.
* Build targets now can optionally provide a "build key" which can uniquely identify any specific parameterization of that build target. This way, the build target can invalidate itself by changing its build key. This works a bit better than just stuffing everything into the environment defines because (a) it doesn't invalidate the entire build, just the targets which are affected and (b) settings for multiple build variants don't translate well to the flat map of environment defines.
2024-02-02 01:52:28 +00:00
..
analysis.dart Prepare dev (minus flutter_gallery) for use_super_parameters (#100516) 2022-03-29 12:52:42 -07:00
android_choreographer_do_frame_test.dart Funnel devicelab tests through utils process methods (#122161) 2023-03-08 19:44:40 +00:00
android_lifecycles_test.dart Fixed a lot of typos (#141431) 2024-01-12 22:10:25 +00:00
android_verified_input_test.dart Verified input test take 2 (#140836) 2024-01-03 01:17:08 +00:00
android_views_test.dart Migrate android views to devicelab. (#142081) 2024-01-24 23:11:12 +00:00
build_test_task.dart Copy artifacts to applicationBinaryPath when specified for build+test separation (#109879) 2022-08-23 16:32:39 +00:00
dart_plugin_registry_tests.dart Funnel devicelab tests through utils process methods (#122161) 2023-03-08 19:44:40 +00:00
entrypoint_dart_registrant.dart enable combinators_ordering (#107847) 2022-07-18 22:04:07 +00:00
flutter_tool_startup.dart Fix typos (#121171) 2023-02-23 19:43:21 +00:00
gallery.dart Added standard deviation to rasterizer results. (#131781) 2023-08-02 16:40:07 +00:00
hot_mode_tests.dart Funnel devicelab tests through utils process methods (#122161) 2023-03-08 19:44:40 +00:00
integration_tests.dart Start renaming by adding a new bringup: true as an Android emulator. (#142257) 2024-01-26 01:07:08 +00:00
microbenchmarks.dart Set the CONFIGURATION_BUILD_DIR in generated xcconfig when debugging core device (#134493) 2023-09-13 18:08:35 +00:00
native_assets_test.dart Pin dart-lang/native dependencies (#137601) 2023-11-03 22:16:04 +00:00
new_gallery.dart Added new gallery benchmark test that forces opengles. (#131796) 2023-08-03 12:25:29 -07:00
perf_tests.dart Remove verbose-system-logs on iOS perf tests (#142739) 2024-02-01 19:48:18 +00:00
platform_channels_benchmarks.dart Funnel devicelab tests through utils process methods (#122161) 2023-03-08 19:44:40 +00:00
plugin_tests.dart Enable native compilation for windows-arm64 (#141930) 2024-01-26 00:08:20 +00:00
run_tests.dart Enable native compilation for windows-arm64 (#141930) 2024-01-26 00:08:20 +00:00
web_benchmarks.dart Wasm/JS Dual Compile with the flutter tool (#141396) 2024-02-02 01:52:28 +00:00
web_dev_mode_tests.dart Funnel devicelab tests through utils process methods (#122161) 2023-03-08 19:44:40 +00:00