Search in sources :

Example 6 with OutputCleaningCompiler

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

the class GccPlatformToolProvider method createObjectiveCPCHCompiler.

@Override
protected Compiler<?> createObjectiveCPCHCompiler() {
    GccCommandLineToolConfigurationInternal objectiveCCompilerTool = toolRegistry.getTool(ToolType.OBJECTIVEC_COMPILER);
    ObjectiveCPCHCompiler objectiveCPCHCompiler = new ObjectiveCPCHCompiler(buildOperationExecutor, compilerOutputFileNamingSchemeFactory, commandLineTool(objectiveCCompilerTool), context(objectiveCCompilerTool), getPCHFileExtension(), useCommandFile, workerLeaseService);
    OutputCleaningCompiler<ObjectiveCPCHCompileSpec> outputCleaningCompiler = new OutputCleaningCompiler<ObjectiveCPCHCompileSpec>(objectiveCPCHCompiler, compilerOutputFileNamingSchemeFactory, getPCHFileExtension());
    return versionAwareCompiler(outputCleaningCompiler, ToolType.OBJECTIVEC_COMPILER);
}
Also used : OutputCleaningCompiler(org.gradle.nativeplatform.toolchain.internal.OutputCleaningCompiler) ObjectiveCPCHCompileSpec(org.gradle.nativeplatform.toolchain.internal.compilespec.ObjectiveCPCHCompileSpec) GccCommandLineToolConfigurationInternal(org.gradle.nativeplatform.toolchain.internal.tools.GccCommandLineToolConfigurationInternal)

Example 7 with OutputCleaningCompiler

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

the class GccPlatformToolProvider method createObjectiveCppPCHCompiler.

@Override
protected Compiler<?> createObjectiveCppPCHCompiler() {
    GccCommandLineToolConfigurationInternal objectiveCppCompilerTool = toolRegistry.getTool(ToolType.OBJECTIVECPP_COMPILER);
    ObjectiveCppPCHCompiler objectiveCppPCHCompiler = new ObjectiveCppPCHCompiler(buildOperationExecutor, compilerOutputFileNamingSchemeFactory, commandLineTool(objectiveCppCompilerTool), context(objectiveCppCompilerTool), getPCHFileExtension(), useCommandFile, workerLeaseService);
    OutputCleaningCompiler<ObjectiveCppPCHCompileSpec> outputCleaningCompiler = new OutputCleaningCompiler<ObjectiveCppPCHCompileSpec>(objectiveCppPCHCompiler, compilerOutputFileNamingSchemeFactory, getPCHFileExtension());
    return versionAwareCompiler(outputCleaningCompiler, ToolType.OBJECTIVECPP_COMPILER);
}
Also used : ObjectiveCppPCHCompileSpec(org.gradle.nativeplatform.toolchain.internal.compilespec.ObjectiveCppPCHCompileSpec) OutputCleaningCompiler(org.gradle.nativeplatform.toolchain.internal.OutputCleaningCompiler) GccCommandLineToolConfigurationInternal(org.gradle.nativeplatform.toolchain.internal.tools.GccCommandLineToolConfigurationInternal)

Example 8 with OutputCleaningCompiler

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

the class GccPlatformToolProvider method createObjectiveCppCompiler.

@Override
protected Compiler<ObjectiveCppCompileSpec> createObjectiveCppCompiler() {
    GccCommandLineToolConfigurationInternal objectiveCppCompilerTool = toolRegistry.getTool(ToolType.OBJECTIVECPP_COMPILER);
    ObjectiveCppCompiler objectiveCppCompiler = new ObjectiveCppCompiler(buildOperationExecutor, compilerOutputFileNamingSchemeFactory, commandLineTool(objectiveCppCompilerTool), context(objectiveCppCompilerTool), getObjectFileExtension(), useCommandFile, workerLeaseService);
    OutputCleaningCompiler<ObjectiveCppCompileSpec> outputCleaningCompiler = new OutputCleaningCompiler<ObjectiveCppCompileSpec>(objectiveCppCompiler, compilerOutputFileNamingSchemeFactory, getObjectFileExtension());
    return versionAwareCompiler(outputCleaningCompiler, ToolType.OBJECTIVECPP_COMPILER);
}
Also used : ObjectiveCppCompileSpec(org.gradle.nativeplatform.toolchain.internal.compilespec.ObjectiveCppCompileSpec) OutputCleaningCompiler(org.gradle.nativeplatform.toolchain.internal.OutputCleaningCompiler) GccCommandLineToolConfigurationInternal(org.gradle.nativeplatform.toolchain.internal.tools.GccCommandLineToolConfigurationInternal)

Example 9 with OutputCleaningCompiler

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

the class GccPlatformToolProvider method createObjectiveCCompiler.

@Override
protected Compiler<ObjectiveCCompileSpec> createObjectiveCCompiler() {
    GccCommandLineToolConfigurationInternal objectiveCCompilerTool = toolRegistry.getTool(ToolType.OBJECTIVEC_COMPILER);
    ObjectiveCCompiler objectiveCCompiler = new ObjectiveCCompiler(buildOperationExecutor, compilerOutputFileNamingSchemeFactory, commandLineTool(objectiveCCompilerTool), context(objectiveCCompilerTool), getObjectFileExtension(), useCommandFile, workerLeaseService);
    OutputCleaningCompiler<ObjectiveCCompileSpec> outputCleaningCompiler = new OutputCleaningCompiler<ObjectiveCCompileSpec>(objectiveCCompiler, compilerOutputFileNamingSchemeFactory, getObjectFileExtension());
    return versionAwareCompiler(outputCleaningCompiler, ToolType.OBJECTIVEC_COMPILER);
}
Also used : OutputCleaningCompiler(org.gradle.nativeplatform.toolchain.internal.OutputCleaningCompiler) ObjectiveCCompileSpec(org.gradle.nativeplatform.toolchain.internal.compilespec.ObjectiveCCompileSpec) GccCommandLineToolConfigurationInternal(org.gradle.nativeplatform.toolchain.internal.tools.GccCommandLineToolConfigurationInternal)

Example 10 with OutputCleaningCompiler

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

the class GccPlatformToolProvider method createCPCHCompiler.

@Override
protected Compiler<?> createCPCHCompiler() {
    GccCommandLineToolConfigurationInternal cCompilerTool = toolRegistry.getTool(ToolType.C_COMPILER);
    CPCHCompiler cpchCompiler = new CPCHCompiler(buildOperationExecutor, compilerOutputFileNamingSchemeFactory, commandLineTool(cCompilerTool), context(cCompilerTool), getPCHFileExtension(), useCommandFile, workerLeaseService);
    OutputCleaningCompiler<CPCHCompileSpec> outputCleaningCompiler = new OutputCleaningCompiler<CPCHCompileSpec>(cpchCompiler, compilerOutputFileNamingSchemeFactory, getPCHFileExtension());
    return versionAwareCompiler(outputCleaningCompiler, ToolType.C_COMPILER);
}
Also used : OutputCleaningCompiler(org.gradle.nativeplatform.toolchain.internal.OutputCleaningCompiler) ObjectiveCPCHCompileSpec(org.gradle.nativeplatform.toolchain.internal.compilespec.ObjectiveCPCHCompileSpec) CPCHCompileSpec(org.gradle.nativeplatform.toolchain.internal.compilespec.CPCHCompileSpec) GccCommandLineToolConfigurationInternal(org.gradle.nativeplatform.toolchain.internal.tools.GccCommandLineToolConfigurationInternal)

Aggregations

OutputCleaningCompiler (org.gradle.nativeplatform.toolchain.internal.OutputCleaningCompiler)13 GccCommandLineToolConfigurationInternal (org.gradle.nativeplatform.toolchain.internal.tools.GccCommandLineToolConfigurationInternal)8 CommandLineToolInvocationWorker (org.gradle.nativeplatform.toolchain.internal.CommandLineToolInvocationWorker)5 DefaultCommandLineToolInvocationWorker (org.gradle.nativeplatform.toolchain.internal.DefaultCommandLineToolInvocationWorker)5 CCompileSpec (org.gradle.nativeplatform.toolchain.internal.compilespec.CCompileSpec)2 CPCHCompileSpec (org.gradle.nativeplatform.toolchain.internal.compilespec.CPCHCompileSpec)2 CppCompileSpec (org.gradle.nativeplatform.toolchain.internal.compilespec.CppCompileSpec)2 CppPCHCompileSpec (org.gradle.nativeplatform.toolchain.internal.compilespec.CppPCHCompileSpec)2 ObjectiveCCompileSpec (org.gradle.nativeplatform.toolchain.internal.compilespec.ObjectiveCCompileSpec)2 ObjectiveCPCHCompileSpec (org.gradle.nativeplatform.toolchain.internal.compilespec.ObjectiveCPCHCompileSpec)2 ObjectiveCppCompileSpec (org.gradle.nativeplatform.toolchain.internal.compilespec.ObjectiveCppCompileSpec)2 ObjectiveCppPCHCompileSpec (org.gradle.nativeplatform.toolchain.internal.compilespec.ObjectiveCppPCHCompileSpec)2 WindowsResourceCompileSpec (org.gradle.nativeplatform.toolchain.internal.compilespec.WindowsResourceCompileSpec)1