Skip to content

Commit dbc6bdb

Browse files
authored
Build skiko.wasm with -s SUPPORT_LONGJMP=wasm (#1002)
1 parent 6d73ad7 commit dbc6bdb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

skiko/buildSrc/src/main/kotlin/tasks/configuration/CommonTasksConfiguration.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ fun skiaPreprocessorFlags(os: OS, buildType: SkiaBuildType): Array<String> {
9898
)
9999
OS.Wasm -> mutableListOf<String>().apply {
100100
add("-DSKIKO_WASM")
101-
// add("-sSUPPORT_LONGJMP=wasm") // TODO(o.karpovich): enable when skia is built with this flag (CMP-6628)
101+
add("-sSUPPORT_LONGJMP=wasm")
102102
}
103103
OS.Android -> listOf(
104104
"-DSK_BUILD_FOR_ANDROID"

skiko/buildSrc/src/main/kotlin/tasks/configuration/WasmTasksConfiguration.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ fun SkikoProjectContext.createWasmLinkTasks(): LinkWasmTasks = with(this.project
118118
"-O2"
119119
)
120120
)
121-
// addAll(listOf("-s", "SUPPORT_LONGJMP=wasm")) // TODO(o.karpovich): enable when skia is built with this flag (CMP-6628)
121+
addAll(listOf("-s", "SUPPORT_LONGJMP=wasm"))
122122
if (outputES6) {
123123
addAll(
124124
listOf(

skiko/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ kotlin.code.style=official
22
deploy.version=0.0.0
33

44

5-
dependencies.skia=m126-6bfb13368b
5+
dependencies.skia=m126-6fd3120c1b
66

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

0 commit comments

Comments
 (0)