native_assets_cli library
A library that contains the argument and file formats for implementing a
build hook (hook/build.dart
).
Classes
- Architecture
- A hardware architecture which the Dart VM can run on.
- Asset
- Data or code bundled with a Dart or Flutter application.
- BuildConfig
-
The configuration for a build hook (
hook/build.dart
) invocation. - BuildMode
- The build mode for compiling native code assets.
- BuildOutput
-
The output of a build hook (
hook/build.dart
) invocation. - CCompilerConfig
- The configuration for a C toolchain.
- DynamicLoadingBundled
- The dynamic library is bundled by Dart/Flutter at build time.
- DynamicLoadingSystem
-
The dynamic library is avaliable on the target system
PATH
. - IOSSdk
- For an iOS target, a build is either done for the device or the simulator.
- LinkMode
- The link mode for a NativeCodeAsset.
- LinkModePreference
- The preferred linkMode method for NativeCodeAssets.
- LookupInExecutable
-
The native code is embedded in executable and symbols are available through
DynamicLibrary.executable()
. - LookupInProcess
-
The native code is loaded in the process and symbols are available through
DynamicLibrary.process()
. - NativeCodeAsset
- A code Asset which respects the native application binary interface (ABI).
- OS
- An operating system the Dart VM runs on.
- StaticLinking
- Static linking.
Functions
-
build(
List< String> arguments, Future<void> builder(BuildConfig config, BuildOutput output)) → Future<void> - Runs a native assets build.