Search in sources :

Example 1 with DefaultCommandLineToolInvocationWorker

use of org.gradle.nativeplatform.toolchain.internal.DefaultCommandLineToolInvocationWorker in project gradle by gradle.

the class GccPlatformToolProvider method commandLineTool.

private CommandLineToolInvocationWorker commandLineTool(GccCommandLineToolConfigurationInternal tool) {
    ToolType key = tool.getToolType();
    String exeName = tool.getExecutable();
    return new DefaultCommandLineToolInvocationWorker(key.getToolName(), toolSearchPath.locate(key, exeName).getTool(), execActionFactory);
}
Also used : ToolType(org.gradle.nativeplatform.toolchain.internal.ToolType) DefaultCommandLineToolInvocationWorker(org.gradle.nativeplatform.toolchain.internal.DefaultCommandLineToolInvocationWorker)

Aggregations

DefaultCommandLineToolInvocationWorker (org.gradle.nativeplatform.toolchain.internal.DefaultCommandLineToolInvocationWorker)1 ToolType (org.gradle.nativeplatform.toolchain.internal.ToolType)1