[Gradle] Improve UP-TO-DATE checks for K/N binary options
This commit is contained in:
+2
-5
@@ -591,10 +591,7 @@ constructor(
|
|||||||
@Input get() = binary.linkerOpts
|
@Input get() = binary.linkerOpts
|
||||||
|
|
||||||
val binaryOptions: Map<String, String>
|
val binaryOptions: Map<String, String>
|
||||||
@Input get() = binary.binaryOptions
|
@Input get() = PropertiesProvider(project).nativeBinaryOptions + binary.binaryOptions
|
||||||
|
|
||||||
val projectWideBinaryOptions: Map<String, String>
|
|
||||||
@Input get() = PropertiesProvider(project).nativeBinaryOptions
|
|
||||||
|
|
||||||
val processTests: Boolean
|
val processTests: Boolean
|
||||||
@Input get() = binary is TestExecutable
|
@Input get() = binary is TestExecutable
|
||||||
@@ -639,7 +636,7 @@ constructor(
|
|||||||
linkerOpts.forEach {
|
linkerOpts.forEach {
|
||||||
addArg("-linker-option", it)
|
addArg("-linker-option", it)
|
||||||
}
|
}
|
||||||
(projectWideBinaryOptions + binaryOptions).forEach { (name, value) ->
|
binaryOptions.forEach { (name, value) ->
|
||||||
add("-Xbinary=$name=$value")
|
add("-Xbinary=$name=$value")
|
||||||
}
|
}
|
||||||
exportLibraries.files.filterKlibsPassedToCompiler().forEach {
|
exportLibraries.files.filterKlibsPassedToCompiler().forEach {
|
||||||
|
|||||||
Reference in New Issue
Block a user