Fixed a little issue in how we call ExecClang plugin. (#1317)

Moved ExecClang plugin to Kotlin.
This commit is contained in:
alexander-gorshenev
2018-02-12 18:59:54 +03:00
committed by Nikolay Igotti
parent 12bec9b22f
commit 43cbea8a67
4 changed files with 109 additions and 111 deletions
+3 -1
View File
@@ -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"