2018-10-24 18:24:11 +00:00
|
|
|
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.
|
|
|
|
|
2018-09-25 01:48:49 +00:00
|
|
|
diff --git a/BUILD.gn b/BUILD.gn
|
2019-01-16 18:09:10 +00:00
|
|
|
index fb3cfe848e97e0952829e39db5b56571e993d6a2..2f8a6c932efb66c5e273b9e9d2dc5887db8c6265 100644
|
2018-09-25 01:48:49 +00:00
|
|
|
--- a/BUILD.gn
|
|
|
|
+++ b/BUILD.gn
|
2019-01-16 18:09:10 +00:00
|
|
|
@@ -3379,8 +3379,6 @@ if (current_toolchain == v8_generator_toolchain) {
|
2018-09-25 01:48:49 +00:00
|
|
|
|
|
|
|
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",
|