Fixed a little issue in how we call ExecClang plugin. (#1317)
Moved ExecClang plugin to Kotlin.
This commit is contained in:
committed by
Nikolay Igotti
parent
12bec9b22f
commit
43cbea8a67
@@ -64,6 +64,8 @@ ext.externalTestsDir = project.file("external")
|
||||
ext.externalStdlibTestsDir = project.file("stdlib_external")
|
||||
externalTestsDir.mkdirs()
|
||||
|
||||
ext.platformManager = project.rootProject.platformManager
|
||||
ext.target = platformManager.targetManager(project.testTarget).target
|
||||
project.convention.plugins.remoteExec = new org.jetbrains.kotlin.ExecRemote(project)
|
||||
|
||||
allprojects {
|
||||
@@ -2424,7 +2426,7 @@ if (isMac()) {
|
||||
interop = 'objcSmoke'
|
||||
|
||||
doFirst {
|
||||
execKonanClang(project.testTarget) {
|
||||
execKonanClang(project.target) {
|
||||
args "$projectDir/interop/objc/smoke.m"
|
||||
args "-lobjc", '-fobjc-arc'
|
||||
args '-fPIC', '-shared', '-o', "$buildDir/libobjcsmoke.dylib"
|
||||
|
||||
Reference in New Issue
Block a user