Skip to content

Commit

Permalink
Build skiko.wasm with -s SUPPORT_LONGJMP=wasm (#1002)
Browse files Browse the repository at this point in the history
  • Loading branch information
eymar authored Dec 3, 2024
1 parent 6d73ad7 commit dbc6bdb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ fun skiaPreprocessorFlags(os: OS, buildType: SkiaBuildType): Array<String> {
)
OS.Wasm -> mutableListOf<String>().apply {
add("-DSKIKO_WASM")
// add("-sSUPPORT_LONGJMP=wasm") // TODO(o.karpovich): enable when skia is built with this flag (CMP-6628)
add("-sSUPPORT_LONGJMP=wasm")
}
OS.Android -> listOf(
"-DSK_BUILD_FOR_ANDROID"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ fun SkikoProjectContext.createWasmLinkTasks(): LinkWasmTasks = with(this.project
"-O2"
)
)
// addAll(listOf("-s", "SUPPORT_LONGJMP=wasm")) // TODO(o.karpovich): enable when skia is built with this flag (CMP-6628)
addAll(listOf("-s", "SUPPORT_LONGJMP=wasm"))
if (outputES6) {
addAll(
listOf(
Expand Down
2 changes: 1 addition & 1 deletion skiko/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ kotlin.code.style=official
deploy.version=0.0.0


dependencies.skia=m126-6bfb13368b
dependencies.skia=m126-6fd3120c1b

# you can override general skia dependencies by passing platform-specific property:
# dependencies.skia.android-arm64
Expand Down

0 comments on commit dbc6bdb

Please sign in to comment.