Skip to content

Commit

Permalink
Update WASM patch
Browse files Browse the repository at this point in the history
  • Loading branch information
bblanchon committed Aug 20, 2022
1 parent d0b7a73 commit 3f48903
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions patches/wasm/pdfium.patch
Original file line number Diff line number Diff line change
@@ -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") {
]
}

Expand Down

0 comments on commit 3f48903

Please sign in to comment.