Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit 18537c3

Browse files
committed
Bump upstream version to 5.2.361.43 and update patches
1 parent 1e361b3 commit 18537c3

6 files changed

Lines changed: 68 additions & 71 deletions

lib/libv8/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Libv8
2-
VERSION = "5.1.281.67.0"
2+
VERSION = "5.2.361.43.0"
33
end
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
From 9aa7780d5c7434706ba12b81ab021e0db9850982 Mon Sep 17 00:00:00 2001
2+
From: Petko Bordjukov <bordjukov@gmail.com>
3+
Date: Mon, 25 Jul 2016 00:00:19 +0300
4+
Subject: [PATCH 1/3] Build a standalone static library
5+
6+
---
7+
gypfiles/standalone.gypi | 3 +++
8+
1 file changed, 3 insertions(+)
9+
10+
diff --git a/gypfiles/standalone.gypi b/gypfiles/standalone.gypi
11+
index 630c45e..1a69c6f 100644
12+
--- a/gypfiles/standalone.gypi
13+
+++ b/gypfiles/standalone.gypi
14+
@@ -488,6 +488,9 @@
15+
}], # fastbuild!=0
16+
],
17+
'target_conditions': [
18+
+ ['_type=="static_library"', {
19+
+ 'standalone_static_library': 1,
20+
+ }],
21+
['v8_code == 0', {
22+
'defines!': [
23+
'DEBUG',
24+
--
25+
2.9.0
26+

patches/0001-Build-standalone-static-library.patch

Lines changed: 0 additions & 26 deletions
This file was deleted.
Lines changed: 31 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,48 @@
1-
From a27a92cbe9db50bceedfffeb43d12345209e4d75 Mon Sep 17 00:00:00 2001
1+
From bb7beaa8dddf7d406de80cc6511abe942dfeabd6 Mon Sep 17 00:00:00 2001
22
From: Petko Bordjukov <bordjukov@gmail.com>
3-
Date: Fri, 10 Jun 2016 08:57:29 +0300
4-
Subject: [PATCH 2/3] Disable building tests
3+
Date: Mon, 25 Jul 2016 00:04:07 +0300
4+
Subject: [PATCH 2/3] Don't compile unnecessary stuff
55

66
---
7-
Makefile | 6 ++----
8-
build/all.gyp | 27 ---------------------------
9-
2 files changed, 2 insertions(+), 31 deletions(-)
7+
Makefile | 7 +------
8+
gypfiles/all.gyp | 32 --------------------------------
9+
2 files changed, 1 insertion(+), 38 deletions(-)
1010

1111
diff --git a/Makefile b/Makefile
12-
index a0c08a6..10b2924 100644
12+
index 0f8f93a..68778e9 100644
1313
--- a/Makefile
1414
+++ b/Makefile
15-
@@ -258,11 +258,9 @@ NACL_ARCHES = nacl_ia32 nacl_x64
16-
GYPFILES = third_party/icu/icu.gypi third_party/icu/icu.gyp \
17-
build/shim_headers.gypi build/features.gypi build/standalone.gypi \
18-
build/toolchain.gypi build/all.gyp build/mac/asan.gyp \
15+
@@ -264,12 +264,7 @@ GYPFILES = third_party/icu/icu.gypi third_party/icu/icu.gyp \
16+
gypfiles/shim_headers.gypi gypfiles/features.gypi \
17+
gypfiles/standalone.gypi \
18+
gypfiles/toolchain.gypi gypfiles/all.gyp gypfiles/mac/asan.gyp \
1919
- test/cctest/cctest.gyp test/fuzzer/fuzzer.gyp \
20-
- test/unittests/unittests.gyp tools/gyp/v8.gyp \
20+
- test/unittests/unittests.gyp src/v8.gyp \
2121
- tools/parser-shell.gyp testing/gmock.gyp testing/gtest.gyp \
22-
+ tools/gyp/v8.gyp tools/parser-shell.gyp \
23-
buildtools/third_party/libc++abi/libc++abi.gyp \
22+
- buildtools/third_party/libc++abi/libc++abi.gyp \
2423
- 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
24+
- src/third_party/vtune/v8vtune.gyp src/d8.gyp
25+
+ src/v8.gyp tools/parser-shell.gyp src/d8.gyp
2726

2827
# If vtunejit=on, the v8vtune.gyp will be appended.
29-
diff --git a/build/all.gyp b/build/all.gyp
30-
index feaf4fe..96820a0 100644
31-
--- a/build/all.gyp
32-
+++ b/build/all.gyp
33-
@@ -8,11 +8,7 @@
34-
'target_name': 'All',
35-
'type': 'none',
36-
'dependencies': [
37-
- '../samples/samples.gyp:*',
38-
'../src/d8.gyp:d8',
39-
- '../test/cctest/cctest.gyp:*',
40-
- '../test/fuzzer/fuzzer.gyp:*',
41-
- '../test/unittests/unittests.gyp:*',
42-
],
43-
'conditions': [
44-
['component!="shared_library"', {
45-
@@ -20,29 +16,6 @@
28+
ifeq ($(vtunejit), on)
29+
diff --git a/gypfiles/all.gyp b/gypfiles/all.gyp
30+
index ff1bea4..96820a0 100644
31+
--- a/gypfiles/all.gyp
32+
+++ b/gypfiles/all.gyp
33+
@@ -16,38 +16,6 @@
4634
'../tools/parser-shell.gyp:parser-shell',
4735
],
4836
}],
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+
- }],
4946
- ['test_isolation_mode != "noop"', {
5047
- 'dependencies': [
5148
- '../test/bot_default.gyp:*',
@@ -73,5 +70,5 @@ index feaf4fe..96820a0 100644
7370
}
7471
]
7572
--
76-
2.8.3
73+
2.9.0
7774

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
From 8c92844ee381fc2074204dd52ca3668e3c6fe89f Mon Sep 17 00:00:00 2001
1+
From 22cd3f03af2d94da1f7506a8daa7708e8c93b928 Mon Sep 17 00:00:00 2001
22
From: Petko Bordjukov <bordjukov@gmail.com>
3-
Date: Fri, 10 Jun 2016 08:58:29 +0300
3+
Date: Mon, 25 Jul 2016 00:05:47 +0300
44
Subject: [PATCH 3/3] Use the -fPIC flag for the static library
55

66
---
7-
build/standalone.gypi | 2 +-
7+
gypfiles/standalone.gypi | 2 +-
88
1 file changed, 1 insertion(+), 1 deletion(-)
99

10-
diff --git a/build/standalone.gypi b/build/standalone.gypi
11-
index 4f10909..3a67af3 100644
12-
--- a/build/standalone.gypi
13-
+++ b/build/standalone.gypi
14-
@@ -728,7 +728,7 @@
10+
diff --git a/gypfiles/standalone.gypi b/gypfiles/standalone.gypi
11+
index 1a69c6f..b19304f 100644
12+
--- a/gypfiles/standalone.gypi
13+
+++ b/gypfiles/standalone.gypi
14+
@@ -744,7 +744,7 @@
1515
[ 'visibility=="hidden" and v8_enable_backtrace==0', {
1616
'cflags': [ '-fvisibility=hidden' ],
1717
}],
@@ -21,5 +21,5 @@ index 4f10909..3a67af3 100644
2121
}],
2222
[ 'clang==0 and coverage==1', {
2323
--
24-
2.8.3
24+
2.9.0
2525

vendor/depot_tools

Submodule depot_tools updated from 97e8e55 to 8697dfc

0 commit comments

Comments
 (0)