Closed
Description
Currently, in dryRun
, Asset
s do not have to provide a file path.
However, in Flutter, the mapping from asset-id to file-name is used during dry-run to embed it in the kernel compilation.
So, for NativeCodeAsset
s with a linkMode DynamicLoadingBundled
the file
field should not be optional during dry run.
This currently blocks rolling the packages into flutter_tools.
(Maybe we can consider doing kernel concatenation to remove this requirement in the flutter implementation, maybe not. But that would be a separate larger refactoring.)
TODOs:
- Make native_toolchain_c output a file in dry run
- Make native_asset_cli check the field
- Roll packages and roll