[native_assets_builder] Move packageLayout
to builder constructor
#1919
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
All Dart and Flutter commands have a single package config and runPackageName.
Part of a larger refactoring that will make the
NativeAssetsBuildRunner
take more arguments in the constructor such as the package config, and reduces the number of arguments to thebuild
andlink
methods.This will enable:
BuildPlanner
logic (only onerunPackageName
)packagesWithAssets
to takerunPackageName
into account (and possibly moving it to the native assets builder instead). [native_assets_builder] Support pub workspaces #1905