Skip to content

[native_assets] Use kernel concatenation instead of passing in asset-mapping into kernel compilation #146270

@dcharkes

Description

@dcharkes

We'd like to support adding new assets in link hooks (#146263).

Use cases:

  • The build hook outputting a static library and then the link hook making a dynamic library of it.
  • Combining multiple assets into one.

Because the link hooks are run after kernel compilation, that will require using kernel concatenation instead of passing in the native asset mapping before kernel compilation.

Dart tracking issue:

Metadata

Metadata

Assignees

Labels

team-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions