-
Notifications
You must be signed in to change notification settings - Fork 83
Closed
Labels
Milestone
Description
The Dart API can be revved independently of the protocol, bumping this out of v1.0.
Make package:native_assets_cli only consume an API that shows getters for native code (and not any getters for Java or other asset types). This can be achieved by
- nesting
NativeBuildConfiginsideBuildConfigwhich doesn't work well with the shared fields such asoutputDirectory, or BuildConfig implements NativeBuildConfigwhere only a subset of the getters is visible, or- an extension type
NativeBuildConfigonBuildConfig.
Make package:native_toolchain_c add assets to a NativeBuildOutput that doesn't have methdods/setters related to Java assets or data assets. This can be achieved by
BuildOutput implements NativeBuildOutputandNativeBuildOutput.addAssettakesNativeCodeAssetinstead ofAsset.- an extension type.
We could even have assetId be optional for some asset types (jars) in the API.
Question: Don't we ever have builders that would like to add more than one asset type? They would need to take the full BuildOutput.
Related:
Sister issue for the JSON protocol:
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done