flutter/packages/flutter_tools/test/commands.shard/hermetic
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
..
analyze_continuously_test.dart Enable private field promotion for flutter_tools (#134474) 2023-09-12 20:20:04 +00:00
analyze_suggestion_test.dart Fix formatting (#137613) 2023-10-31 13:27:26 +00:00
analyze_test.dart Make --flutter-repo analyze whole repo (#127990) 2023-06-02 17:17:54 +00:00
android_analyze_test.dart Improves output file path logic in Android analyze (#136981) 2023-11-16 22:59:02 +00:00
assemble_test.dart Migrate command usage values (#139383) 2023-12-07 16:12:03 +00:00
attach_test.dart Show Mac Designed For iPad in 'flutter devices' (#141718) 2024-01-31 19:34:07 +00:00
build_aar_test.dart provide command to FakeCommand::onRun (#142206) 2024-01-25 07:51:25 +00:00
build_darwin_framework_test.dart Revert "[flutter_tools] Remove sound null safety flag (#123031)" (#123280) 2023-03-22 22:53:49 +00:00
build_ios_test.dart provide command to FakeCommand::onRun (#142206) 2024-01-25 07:51:25 +00:00
build_ipa_test.dart provide command to FakeCommand::onRun (#142206) 2024-01-25 07:51:25 +00:00
build_linux_test.dart provide command to FakeCommand::onRun (#142206) 2024-01-25 07:51:25 +00:00
build_macos_test.dart provide command to FakeCommand::onRun (#142206) 2024-01-25 07:51:25 +00:00
build_test.dart Flutter preview device (#135639) 2023-10-18 00:27:54 +00:00
build_web_test.dart Wasm/JS Dual Compile with the flutter tool (#141396) 2024-02-02 01:52:28 +00:00
build_windows_test.dart Enable native compilation for windows-arm64 (#141930) 2024-01-26 00:08:20 +00:00
clean_test.dart enable no_literal_bool_comparisons lint (#126647) 2023-05-16 16:14:23 +00:00
config_test.dart [Reland] Migration for the sendTiming events for package:unified_analytics (#139299) 2023-12-04 21:39:18 +00:00
create_usage_test.dart [Android] Add Java/AGP/Gradle incompatibility warning to flutter create (#131444) 2023-09-20 16:01:04 +00:00
custom_devices_test.dart Remove outdated ignores from tool (#140467) 2023-12-20 22:14:32 +00:00
daemon_test.dart [flutter_tools] Ensure flutter daemon clients can detect preview device (#140112) 2023-12-21 19:01:16 +00:00
devices_test.dart Support disabling animations in the CLI (#132239) 2023-08-23 03:35:22 +00:00
doctor_test.dart Remove outdated ignores from tool (#140467) 2023-12-20 22:14:32 +00:00
downgrade_test.dart Give channel descriptions in flutter channel, use branch instead of upstream for channel name (#126936) 2023-05-23 19:59:20 +00:00
drive_test.dart Upload DerivedData logs in CI (#142643) 2024-02-01 21:31:28 +00:00
generate_localizations_test.dart Enable private field promotion for flutter_tools (#134474) 2023-09-12 20:20:04 +00:00
http_host_validator_test.dart Improve network resources doctor check (#120417) 2023-02-15 00:02:09 +00:00
ide_config_test.dart Null safety migration of packages/flutter_tools/test/commands.shard/hermetic, part 2/3 (#110708) 2022-09-06 10:39:18 -07:00
install_test.dart Remove outdated ignores from tool (#140467) 2023-12-20 22:14:32 +00:00
ios_analyze_test.dart Makes scheme and target optional parameter when getting universal lin… (#134571) 2023-09-15 21:01:05 +00:00
logs_test.dart [flutter_tools] Fix bad state future already completed in flutter logs (#138517) 2023-11-23 19:56:14 +00:00
precache_test.dart Null safety migration of packages/flutter_tools/test/commands.shard/hermetic, part 3/3 (#110709) 2022-09-06 10:22:40 -07:00
proxied_devices_test.dart Remove outdated ignores from tool (#140467) 2023-12-20 22:14:32 +00:00
proxy_validator_test.dart add missing trailing commas in list/set/map literals (#102585) 2022-04-27 09:15:35 +02:00
pub_test.dart [Tool] Output help on 'flutter pub' (#126211) 2023-05-08 17:22:10 +00:00
run_test.dart Wasm/JS Dual Compile with the flutter tool (#141396) 2024-02-02 01:52:28 +00:00
screenshot_command_test.dart Enable flutter screenshot outside Flutter project directory (#138160) 2023-11-17 01:08:13 +00:00
shell_completion_test.dart Null safety migration of packages/flutter_tools/test/commands.shard/hermetic, part 3/3 (#110709) 2022-09-06 10:22:40 -07:00
symbolize_test.dart Prepare for utf8.encode() to return more precise Uint8List type (#129769) 2023-06-29 22:44:57 +02:00
test_test.dart in flutter run, throw tool exit when --flavor is provided but is not supported on the target device (#139045) 2024-01-05 21:47:58 +00:00
update_packages_test.dart Enable private field promotion for flutter_tools (#134474) 2023-09-12 20:20:04 +00:00
upgrade_test.dart provide command to FakeCommand::onRun (#142206) 2024-01-25 07:51:25 +00:00