flutter/packages/flutter_tools/test
MarkZ ee94fe262b
Adding support for DDC modules when running Flutter Web in debug mode (#141423)
### Context:

DDC modules are abstractions over how libraries are loaded/updated. The entirety of google3 uses the DDC/legacy module system due to its flexibility extensibility over the other two (ES6 and AMD/RequireJS). Unifying DDC's module system saves us from duplicating work and will allow us to have finer grained control over how JS modules are loaded. This is a a prerequisite to features such as hot reload.

### Overview:

This change plumbs a boolean flag through flutter_tools that switches between DDC (new) and AMD (current) modules. This mode is automatically applied when `--extra-front-end-options=--dartdevc-module-format=ddc` is specified alongside `flutter run`. Other important additions include:
* Splitting Flutter artifacts between DDC and AMD modules
* Adding unit tests for the DDC module system
* Additional bootstrapper logic for the DDC module system

We don't expect to see any user-visible behavior or performance differences.

This is dependent on [incoming module system support in DWDS](https://github.com/dart-lang/webdev/pull/2295) and [additional artifacts in the engine](https://github.com/flutter/engine/pull/47783).

This is part of a greater effort to deprecate the AMD module system: https://github.com/dart-lang/sdk/issues/52361
2024-02-24 00:26:04 +00:00
..
android_preview_integration.shard Android Gradle file templates: make it easier to convert them to Kotlin DSL in the future (#142146) 2024-02-15 23:42:13 +00:00
commands.shard Adding support for DDC modules when running Flutter Web in debug mode (#141423) 2024-02-24 00:26:04 +00:00
data make asset_test.dart tests not dependent on context (#141331) 2024-01-11 18:08:07 +00:00
general.shard Adding support for DDC modules when running Flutter Web in debug mode (#141423) 2024-02-24 00:26:04 +00:00
host_cross_arch.shard Move iOS content validation devicelab test into tool integration test (#142272) 2024-01-26 18:04:09 +00:00
integration.shard Support using lightweight Flutter Engines to run tests (#141726) 2024-02-22 13:32:29 -05:00
src Implementing null-aware operators throughout the repository (#143804) 2024-02-23 19:02:22 +00:00
web.shard Dual compile reland (#143262) 2024-02-13 20:02:10 +00:00