lol
1From c9f42d1314c6026efcfcc01824f4e2fdfd05ebcf Mon Sep 17 00:00:00 2001
2From: Ben Sklaroff <bsklaroff@gmail.com>
3Date: Sat, 23 Jul 2016 18:16:55 -0400
4Subject: [PATCH] libv8-5.4.232
5
6---
7 Makefile | 5 +----
8 gypfiles/all.gyp | 32 --------------------------------
9 gypfiles/standalone.gypi | 5 ++++-
10 3 files changed, 5 insertions(+), 37 deletions(-)
11
12diff --git a/Makefile b/Makefile
13index 5ea5c58..d1b2d73 100644
14--- a/Makefile
15+++ b/Makefile
16@@ -261,11 +261,8 @@ GYPFILES = third_party/icu/icu.gypi third_party/icu/icu.gyp \
17 gypfiles/shim_headers.gypi gypfiles/features.gypi \
18 gypfiles/standalone.gypi \
19 gypfiles/toolchain.gypi gypfiles/all.gyp gypfiles/mac/asan.gyp \
20- test/cctest/cctest.gyp test/fuzzer/fuzzer.gyp \
21- test/unittests/unittests.gyp src/v8.gyp \
22- tools/parser-shell.gyp testing/gmock.gyp testing/gtest.gyp \
23 buildtools/third_party/libc++abi/libc++abi.gyp \
24- buildtools/third_party/libc++/libc++.gyp samples/samples.gyp \
25+ buildtools/third_party/libc++/libc++.gyp \
26 src/third_party/vtune/v8vtune.gyp src/d8.gyp
27
28 # If vtunejit=on, the v8vtune.gyp will be appended.
29diff --git a/gypfiles/all.gyp b/gypfiles/all.gyp
30index ff1bea4..96820a0 100644
31--- a/gypfiles/all.gyp
32+++ b/gypfiles/all.gyp
33@@ -16,38 +16,6 @@
34 '../tools/parser-shell.gyp:parser-shell',
35 ],
36 }],
37- # These items don't compile for Android on Mac.
38- ['host_os!="mac" or OS!="android"', {
39- 'dependencies': [
40- '../samples/samples.gyp:*',
41- '../test/cctest/cctest.gyp:*',
42- '../test/fuzzer/fuzzer.gyp:*',
43- '../test/unittests/unittests.gyp:*',
44- ],
45- }],
46- ['test_isolation_mode != "noop"', {
47- 'dependencies': [
48- '../test/bot_default.gyp:*',
49- '../test/benchmarks/benchmarks.gyp:*',
50- '../test/default.gyp:*',
51- '../test/ignition.gyp:*',
52- '../test/intl/intl.gyp:*',
53- '../test/message/message.gyp:*',
54- '../test/mjsunit/mjsunit.gyp:*',
55- '../test/mozilla/mozilla.gyp:*',
56- '../test/optimize_for_size.gyp:*',
57- '../test/perf.gyp:*',
58- '../test/preparser/preparser.gyp:*',
59- '../test/simdjs/simdjs.gyp:*',
60- '../test/test262/test262.gyp:*',
61- '../test/webkit/webkit.gyp:*',
62- '../tools/check-static-initializers.gyp:*',
63- '../tools/gcmole/run_gcmole.gyp:*',
64- '../tools/jsfunfuzz/jsfunfuzz.gyp:*',
65- '../tools/run-deopt-fuzzer.gyp:*',
66- '../tools/run-valgrind.gyp:*',
67- ],
68- }],
69 ]
70 }
71 ]
72diff --git a/gypfiles/standalone.gypi b/gypfiles/standalone.gypi
73index 89f06a0..a43976d 100644
74--- a/gypfiles/standalone.gypi
75+++ b/gypfiles/standalone.gypi
76@@ -506,6 +506,9 @@
77 }], # fastbuild!=0
78 ],
79 'target_conditions': [
80+ ['_type=="static_library"', {
81+ 'standalone_static_library': 1,
82+ }],
83 ['v8_code == 0', {
84 'defines!': [
85 'DEBUG',
86@@ -770,7 +773,7 @@
87 [ 'visibility=="hidden" and v8_enable_backtrace==0', {
88 'cflags': [ '-fvisibility=hidden' ],
89 }],
90- [ 'component=="shared_library"', {
91+ [ 'component=="shared_library" or component=="static_library" and (v8_target_arch=="x64" or v8_target_arch=="arm64" or v8_target_arch=="arm")', {
92 'cflags': [ '-fPIC', ],
93 }],
94 [ 'clang==0 and coverage==1', {
95--
962.9.0
97