9d0e6d09f0
* chore: bump chromium in DEPS to 119.0.6036.0 * chore: bump chromium in DEPS to 119.0.6037.0 * chore: bump chromium in DEPS to 119.0.6039.0 * chore: bump chromium in DEPS to 119.0.6041.0 * chore: update chromium patches * 4765230: Move //content/browser/renderer_host/event_with_latency_info.h to //content/common/input | https://chromium-review.googlesource.com/c/chromium/src/+/4765230 * 4890325: ScopedRunLoopTimeout: add custom timeout callback handler for testing | https://chromium-review.googlesource.com/c/chromium/src/+/4890325 * chore: update all patches * chore: bump chromium in DEPS to 119.0.6043.0 * 4898682: [api] Add Error.cause to V8 API https://chromium-review.googlesource.com/c/v8/v8/+/4898682 * 4837192: Plumb origin through for drags. https://chromium-review.googlesource.com/c/chromium/src/+/4837192 * Prevent content analysis on web pages that don't accept drag and drop. https://chromium-review.googlesource.com/c/chromium/src/+/4814086 * Make getting displayed notifications work with notification attribution. https://chromium-review.googlesource.com/c/chromium/src/+/4738935 * 4898682: [api] Add Error.cause to V8 API https://chromium-review.googlesource.com/c/v8/v8/+/4898682 * lib,test: do not hardcode Buffer.kMaxLength https://github.com/nodejs/node/pull/49876 * chore: remove Goma warning from mksnapshot_args * 4776412: Remove Windows-specific wstring variants of StringPrintf() etc. https://chromium-review.googlesource.com/c/chromium/src/+/4776412 * [dPWA] Prevent WebAppInstallInfo from being included on Android https://chromium-review.googlesource.com/c/chromium/src/+/4886594 --------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: VerteDinde <vertedinde@electronjs.org> Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
40 lines
1.3 KiB
Diff
40 lines
1.3 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Jeremy Apthorp <nornagon@nornagon.net>
|
|
Date: Tue, 16 Apr 2019 10:43:04 -0700
|
|
Subject: build_gn.patch
|
|
|
|
We force V8 into 'shared library' mode so that it exports its symbols, which is
|
|
necessary for native modules to load.
|
|
|
|
Also change visibility on mksnapshot in order to target mksnapshot for mksnapshot zip.
|
|
|
|
diff --git a/BUILD.gn b/BUILD.gn
|
|
index 025203d66c73a835b2d178c007b8a6cfe180bfec..66a66da616d5fd86d20862008193580c9d0c2314 100644
|
|
--- a/BUILD.gn
|
|
+++ b/BUILD.gn
|
|
@@ -745,7 +745,7 @@ config("internal_config") {
|
|
":cppgc_header_features",
|
|
]
|
|
|
|
- if (is_component_build) {
|
|
+ if (is_component_build || is_electron_build) {
|
|
defines += [ "BUILDING_V8_SHARED" ]
|
|
}
|
|
|
|
@@ -6790,7 +6790,7 @@ if (current_toolchain == v8_generator_toolchain) {
|
|
"src/interpreter/bytecodes.h",
|
|
]
|
|
|
|
- configs = [ ":internal_config" ]
|
|
+ configs = [ ":internal_config_base" ]
|
|
|
|
deps = [
|
|
":v8_libbase",
|
|
@@ -6802,7 +6802,6 @@ if (current_toolchain == v8_generator_toolchain) {
|
|
|
|
if (current_toolchain == v8_snapshot_toolchain) {
|
|
v8_executable("mksnapshot") {
|
|
- visibility = [ ":*" ] # Only targets in this file can depend on this.
|
|
|
|
sources = [
|
|
"src/snapshot/embedded/embedded-empty.cc",
|