-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area-buildUse area-build for SDK build issues.Use area-build for SDK build issues.customer-fluttertype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
Description
Today, a product mode dart2native is packaged in the Dart SDK alongside other binaries built in release mode. This is accomplished by spinning up two separate GN builds with different configurations, and copying files into the right places after the fact.
Instead, this could be simplified by creating the product mode binaries as part of one release build of the SDK following the example of e.g. the gen_snapshot_product target:
https://github.com/dart-lang/sdk/blob/master/runtime/bin/BUILD.gn#L239
(There is probably some additional work for the snapshots that dart2native and dartaotruntime use, but I'm confident that this can also be supported entirely in the GN build.)
Metadata
Metadata
Assignees
Labels
area-buildUse area-build for SDK build issues.Use area-build for SDK build issues.customer-fluttertype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug