Skip to content

[native_assets][ffi] Make build.dart path configurable #54111

Closed
@dcharkes

Description

@dcharkes

@mit-mit proposed the idea of using build.dart for other things besides native assets.
Apparently, users are already doing this: flutter/flutter#138727 (comment)

This means the native assets feature needs to know whether to run not based on the existence of a top-level build.dart, but instead on a pubspec config.
Moreover, we might want to then also support running a script with a different name.

Possible pubspec config:

native_assets: #optional
  build: build.dart #optional
  link: link.dart #optional

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3A lower priority bug or feature requestarea-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.library-ffitriagedIssue has been triaged by sub teamtype-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions