use of org.gradle.nativeplatform.platform.internal.NativePlatformInternal in project gradle by gradle.
the class StripSymbols method createCompiler.
private Compiler<StripperSpec> createCompiler() {
NativePlatformInternal targetPlatform = Cast.cast(NativePlatformInternal.class, this.targetPlatform.get());
NativeToolChainInternal toolChain = Cast.cast(NativeToolChainInternal.class, getToolChain().get());
PlatformToolProvider toolProvider = toolChain.select(targetPlatform);
return toolProvider.newCompiler(StripperSpec.class);
}
Aggregations