HookConfig class abstract

The shared properties of a LinkConfig and a BuildConfig.

This abstraction makes it easier to design APIs intended for both kinds of build hooks, building and linking.

Implementers

Constructors

HookConfig()

Properties

buildMode BuildMode
The BuildMode that the code should be compiled in.
no setter
cCompiler CCompilerConfig
The configuration for invoking the C compiler.
no setter
dryRun bool
Whether this run is a dry-run, which doesn't build anything.
no setter
hashCode int
The hash code for this object.
no setterinherited
linkModePreference LinkModePreference
The preferred LinkMode method for NativeCodeAssets.
no setter
outputDirectory Uri
The directory in which all output and intermediate artifacts should be placed.
no setter
packageName String
The name of the package the assets are built for.
no setter
packageRoot Uri
The root of the package the assets are built for.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
supportedAssetTypes Iterable<String>
The asset types that the invoker of this hook supports.
no setter
targetAndroidNdkApi int?
When compiling for Android, the minimum Android SDK API version to that the compiled code will be compatible with.
no setter
targetArchitecture Architecture?
The architecture being compiled for.
no setter
targetIOSSdk IOSSdk?
When compiling for iOS, whether to target device or simulator.
no setter
targetOS OS
The operating system being compiled for.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited