electron/patches/common/v8/expose_mksnapshot.patch

21 lines
770 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 target mksnapshot for mksnapshot zip.
diff --git a/BUILD.gn b/BUILD.gn
2019-05-21 17:05:21 +00:00
index e25b4a427c96a6f66ea693f162a4806723026a91..fff650f31e33cabdddf2c6f6127678379f99bad7 100644
--- a/BUILD.gn
+++ b/BUILD.gn
2019-05-21 17:05:21 +00:00
@@ -3791,8 +3791,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",