Commit e61b0db6 authored by Nikolay Igotti's avatar Nikolay Igotti

Revert "added libskunicode.a to the native klib (#233)"

This reverts commit c9bfd868.
parent c9bfd868
...@@ -307,16 +307,18 @@ kotlin { ...@@ -307,16 +307,18 @@ kotlin {
val skiaDir = unpackedSkia.absolutePath val skiaDir = unpackedSkia.absolutePath
val skiaBinSubdir = "out/${buildType.id}-$targetString" val skiaBinSubdir = "out/${buildType.id}-$targetString"
val skiaLibraries = project.fileTree("$skiaDir/$skiaBinSubdir") {
include("**/*.a")
}.files.map { it.absolutePath }
val bridgesLibrary = "$buildDir/nativeBridges/static/$targetString/skiko-native-bridges-$targetString.a"
val libraries = skiaLibraries + bridgesLibrary
val libraryFlags = libraries.map { listOf("-include-binary", it) }.flatten()
compilation.target.compilations.all { compilation.target.compilations.all {
kotlinOptions { kotlinOptions {
freeCompilerArgs = libraryFlags freeCompilerArgs += listOf(
"-include-binary",
"$skiaDir/$skiaBinSubdir/libskia.a",
"-include-binary",
"$skiaDir/$skiaBinSubdir/libskshaper.a",
"-include-binary",
"$skiaDir/$skiaBinSubdir/libskparagraph.a",
"-include-binary",
"$buildDir/nativeBridges/static/$targetString/skiko-native-bridges-$targetString.a"
)
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment