diff --git a/patches/wasm/pdfium.patch b/patches/wasm/pdfium.patch index 8168dd55..8baa6cfb 100644 --- a/patches/wasm/pdfium.patch +++ b/patches/wasm/pdfium.patch @@ -1,21 +1,21 @@ diff --git a/core/fxcrt/BUILD.gn b/core/fxcrt/BUILD.gn -index b92e1d667..b67b57ca9 100644 +index 48bdc64..cdb7e60 100644 --- a/core/fxcrt/BUILD.gn +++ b/core/fxcrt/BUILD.gn -@@ -126,7 +126,7 @@ source_set("fxcrt") { - "//third_party/icu:icuuc", - ] - +@@ -138,7 +138,7 @@ source_set("fxcrt") { + } else { + sources += [ "fx_memory_malloc.cpp" ] + } - if (is_posix || is_fuchsia) { + if (is_posix || is_fuchsia || is_wasm) { sources += [ "cfx_fileaccess_posix.cpp", "cfx_fileaccess_posix.h", diff --git a/core/fxge/BUILD.gn b/core/fxge/BUILD.gn -index 18b15b70a..cd42a8eaf 100644 +index cd540d5..20c795d 100644 --- a/core/fxge/BUILD.gn +++ b/core/fxge/BUILD.gn -@@ -163,7 +163,7 @@ source_set("fxge") { +@@ -164,7 +164,7 @@ source_set("fxge") { ] }