|
@@ -6,10 +6,10 @@ 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, some fixes relating to mksnapshot on ARM.
|
|
|
+Also change visibility on mksnapshot in order to target mksnapshot for mksnapshot zip.
|
|
|
|
|
|
diff --git a/BUILD.gn b/BUILD.gn
|
|
|
-index d75f44b55a89828845f69f148da147ea29d523e2..4b90367b6a73503ae44c0a68c23d7a2fd606135c 100644
|
|
|
+index d75f44b55a89828845f69f148da147ea29d523e2..3140abb0868eb81976edacafc625bc80159b5aea 100644
|
|
|
--- a/BUILD.gn
|
|
|
+++ b/BUILD.gn
|
|
|
@@ -714,7 +714,7 @@ config("internal_config") {
|
|
@@ -30,3 +30,11 @@ index d75f44b55a89828845f69f148da147ea29d523e2..4b90367b6a73503ae44c0a68c23d7a2f
|
|
|
|
|
|
deps = [
|
|
|
":v8_libbase",
|
|
|
+@@ -6475,7 +6475,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",
|