Skip to content

Commit

Permalink
iOS V8: remove the dependency on BrowserEngineKit
Browse files Browse the repository at this point in the history
  • Loading branch information
bblanchon committed Apr 30, 2024
1 parent 3bab942 commit 8905f25
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions patches/ios/v8.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
diff --git a/BUILD.gn b/BUILD.gn
index d905b219a22..1610f1adae9 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -4753,9 +4753,6 @@ v8_header_set("v8_internal_headers") {
}

frameworks = []
- if (is_ios) {
- frameworks += [ "BrowserEngineKit.framework" ]
- }

public_deps = [
":torque_runtime_support",
1 change: 1 addition & 0 deletions steps/03-patch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ case "$OS" in

ios)
git apply -v "$PATCHES/ios/pdfium.patch"
[ "${PDFium_ENABLE_V8:-}" == "true" ] && git -C v8 apply -v "$PATCHES/ios/v8.patch"
;;

wasm)
Expand Down

0 comments on commit 8905f25

Please sign in to comment.