Commit 182a378
committed
fix: iOS cinterop on all hosts + jsProcessResources wasm deps
Two fixes to unbreak :pdfium:check on Linux.
- Drop the Os.isFamily(FAMILY_MAC) guard around iOS cinterop. Kotlin/Native
cross-compiles iOS klibs on any host and cinterop only needs the staged
PDFium headers; libraryPaths/linkerOpts are only consumed at final link
time (macOS). Previously all dev.nucleusframework.pdfium.native.* imports
were unresolved on Linux, so compileKotlinIosSimulatorArm64 failed.
- Wire installPdfiumWasm + generatePdfiumWasmRuntime as explicit deps of
jsProcessResources too, not just wasmJsProcessResources. Both read from
src/webMain/resources/pdfium, and Gradle 9 enforces this implicit-dep
check strictly.1 parent 33b5f23 commit 182a378
1 file changed
Lines changed: 12 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
118 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
119 | 120 | | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
128 | 126 | | |
129 | 127 | | |
130 | 128 | | |
| |||
534 | 532 | | |
535 | 533 | | |
536 | 534 | | |
537 | | - | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
538 | 539 | | |
539 | 540 | | |
540 | 541 | | |
| |||
0 commit comments