electron/patches/common/v8/expose_mksnapshot.patch

21 lines
757 B
Diff
Raw Normal View History

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Shelley Vohr <shelley.vohr@gmail.com>
Date: Mon, 22 Oct 2018 10:47:13 -0700
Subject: expose_mksnapshot.patch
Needed in order to build mksnapshot on arm.
diff --git a/BUILD.gn b/BUILD.gn
2019-03-06 17:50:12 +00:00
index 65a82149f400d65ffd5c3be68bc4306e80b3cff7..5b3e0831c2657f4fa07adaa1de5fda6d2360c2ec 100644
--- a/BUILD.gn
+++ b/BUILD.gn
2019-03-06 17:50:12 +00:00
@@ -3514,8 +3514,6 @@ if (current_toolchain == v8_generator_toolchain) {
if (v8_use_snapshot && current_toolchain == v8_snapshot_toolchain) {
v8_executable("mksnapshot") {
- visibility = [ ":*" ] # Only targets in this file can depend on this.
-
sources = [
2019-01-09 00:53:35 +00:00
"src/snapshot/embedded-file-writer.cc",
"src/snapshot/embedded-file-writer.h",