Skip to content

Support engine loading dart loading units - AOT split #62229

@GaryQian

Description

@GaryQian

Internal: b/168395669

From https://dart-review.googlesource.com/c/sdk/+/152427,

At runtime, sometime during isolate startup, an embedder should call Dart_SetDeferredLoadHandler, probably near an existing call to Dart_SetLibraryTagHandler. The callback is given a loading unit id, and should eventually call Dart_DeferredLoadComplete[Error].

We should implement this callback and create endpoints for downloading the necessary files from play store or custom URL.

This is part of the work needed to complete #57617

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High-priority issues at the top of the work lista: sizeReducing IPA/APK/JS sizesc: new featureNothing broken; request for a new capabilitycustomer: money (g3)dependency: dartDart team may need to help usengineflutter/engine related. See also e: labels.perf: app sizePerformance issues related to app size (binary/code size) or disk space

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions