NativeToolchainResolver class final
Registry that resolves platform-appropriate binaries for cross-compilation.
Centralizes NDK / Apple SDK / MSVC discovery that was previously
copy-pasted into each recipe's toolchain_file / strip invocation.
Constructors
- NativeToolchainResolver()
-
const
Properties
- hasAndroidNdk → bool
-
Whether verbose logging is requested.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cmakeToolchainFile(
NativeTarget target) → String? -
Resolve a CMake toolchain file for
target, if applicable. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
stripCommand(
NativeTarget target) → List< String> -
Resolve the
stripexecutable fortarget. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
androidAbiFor(
Architecture arch) → String - Default Android ABI for a native architecture.
-
opensslRootForAbi(
String abi) → String - Default OPENSSL root suffix for ABI.