Allow all cross platform libs to be built within the bundle target.

This commit is contained in:
alexander-gorshenev
2017-10-11 17:19:15 +03:00
parent f75adb30a3
commit a47c2dff41
+2 -3
View File
@@ -329,8 +329,7 @@ private String defFileToTaskName(String target, String name) {
}
task distPlatformLibs {
def target = TargetManager.host.name().toLowerCase()
dependsOn targetDefFiles(target).collect {defFileToTaskName(target, it.name)}
dependsOn targetDefFiles(hostName).collect {defFileToTaskName(hostName, it.name)}
}
task dist {
@@ -342,7 +341,7 @@ task crossDist {
}
task bundle(type: (isWindows()) ? Zip : Tar) {
dependsOn('distPlatformLibs') // TODO: handle cross target libs.
dependsOn('crossDistPlatformLibs')
dependsOn('crossDist')
def simpleOsName = TargetManager.simpleOsName()
baseName = "kotlin-native-$simpleOsName-${project.konanVersion}"