[Gradle] Rename KotlinNativeCompile.buildKotlinNativeKlibCompilerArgs to buildCompilerArgs
^KT-56210 Verification Pending
This commit is contained in:
committed by
Space Team
parent
015941b195
commit
a692de871b
+2
-2
@@ -456,7 +456,7 @@ internal constructor(
|
|||||||
return SharedCompilationData(manifestFile, isAllowCommonizer, refinesModule)
|
return SharedCompilationData(manifestFile, isAllowCommonizer, refinesModule)
|
||||||
}
|
}
|
||||||
|
|
||||||
internal fun buildKotlinNativeKlibCompilerArgs(): List<String> = buildKotlinNativeKlibCompilerArgs(
|
internal fun buildCompilerArgs(): List<String> = buildKotlinNativeKlibCompilerArgs(
|
||||||
outFile = outputFile.get(),
|
outFile = outputFile.get(),
|
||||||
optimized = optimized,
|
optimized = optimized,
|
||||||
debuggable = debuggable,
|
debuggable = debuggable,
|
||||||
@@ -482,7 +482,7 @@ internal constructor(
|
|||||||
val output = outputFile.get()
|
val output = outputFile.get()
|
||||||
output.parentFile.mkdirs()
|
output.parentFile.mkdirs()
|
||||||
|
|
||||||
val buildArgs = buildKotlinNativeKlibCompilerArgs()
|
val buildArgs = buildCompilerArgs()
|
||||||
|
|
||||||
KotlinNativeCompilerRunner(
|
KotlinNativeCompilerRunner(
|
||||||
settings = runnerSettings,
|
settings = runnerSettings,
|
||||||
|
|||||||
+1
-1
@@ -160,7 +160,7 @@ private fun K2CompileTask.buildCompilerArguments(): CommonCompilerArguments {
|
|||||||
|
|
||||||
if (this is KotlinNativeCompile) {
|
if (this is KotlinNativeCompile) {
|
||||||
val arguments = K2NativeCompilerArguments()
|
val arguments = K2NativeCompilerArguments()
|
||||||
val argsList = this.buildKotlinNativeKlibCompilerArgs()
|
val argsList = this.buildCompilerArgs()
|
||||||
parseCommandLineArguments(argsList, arguments)
|
parseCommandLineArguments(argsList, arguments)
|
||||||
return arguments
|
return arguments
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user