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

Commit 520787c

Browse files
committed
Update patch set
1 parent d0f61e3 commit 520787c

5 files changed

+28
-177
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
From 6c28fb0319c5e2e7afad4b5731fc0ded86e1f7e7 Mon Sep 17 00:00:00 2001
1+
From 5c52008981e2ae0506704da89399b2deee6b069f Mon Sep 17 00:00:00 2001
22
From: Petko Bordjukov <[email protected]>
33
Date: Mon, 25 Jul 2016 00:00:19 +0300
4-
Subject: [PATCH 1/5] Build a standalone static library
4+
Subject: [PATCH 1/4] Build a standalone static library
55

66
---
77
gypfiles/standalone.gypi | 3 +++
88
1 file changed, 3 insertions(+)
99

1010
diff --git a/gypfiles/standalone.gypi b/gypfiles/standalone.gypi
11-
index 4c805bf643..6a72a23cfb 100644
11+
index a30373be61..34c478d7ad 100644
1212
--- a/gypfiles/standalone.gypi
1313
+++ b/gypfiles/standalone.gypi
14-
@@ -522,6 +522,9 @@
14+
@@ -517,6 +517,9 @@
1515
}], # fastbuild!=0
1616
],
1717
'target_conditions': [
@@ -22,5 +22,5 @@ index 4c805bf643..6a72a23cfb 100644
2222
'defines!': [
2323
'DEBUG',
2424
--
25-
2.13.3
25+
2.14.1
2626

patches/0002-Don-t-compile-unnecessary-stuff.patch

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,34 @@
1-
From 31d199f67ff88be5576869abcc23ecf219fa1e6f Mon Sep 17 00:00:00 2001
1+
From 3b38ae59490addc6aabd52c8f54084ab398390f6 Mon Sep 17 00:00:00 2001
22
From: Petko Bordjukov <[email protected]>
33
Date: Fri, 28 Jul 2017 11:11:08 +0300
4-
Subject: [PATCH 2/5] Don't compile unnecessary stuff
4+
Subject: [PATCH 2/4] Don't compile unnecessary stuff
55

66
---
7-
Makefile | 12 +++---------
7+
Makefile | 9 ++-------
88
gypfiles/all.gyp | 33 ---------------------------------
9-
2 files changed, 3 insertions(+), 42 deletions(-)
9+
2 files changed, 2 insertions(+), 40 deletions(-)
1010

1111
diff --git a/Makefile b/Makefile
12-
index ed5b3a7fab..04eddb5e8a 100644
12+
index b381918355..7cd9b3c9c9 100644
1313
--- a/Makefile
1414
+++ b/Makefile
15-
@@ -265,15 +265,9 @@ ANDROID_ARCHES = android_ia32 android_x64 android_arm android_arm64 \
16-
android_mipsel android_x87
15+
@@ -264,14 +264,9 @@ ANDROID_ARCHES = android_ia32 android_x64 android_arm android_arm64 \
16+
android_mipsel
1717

1818
# List of files that trigger Makefile regeneration:
1919
-GYPFILES = third_party/icu/icu.gypi third_party/icu/icu.gyp \
2020
- gypfiles/shim_headers.gypi gypfiles/features.gypi \
2121
- gypfiles/standalone.gypi \
22-
- gypfiles/toolchain.gypi gypfiles/all.gyp gypfiles/mac/asan.gyp \
22+
+GYPFILES = gypfiles/features.gypi gypfiles/standalone.gypi \
23+
gypfiles/toolchain.gypi gypfiles/all.gyp gypfiles/mac/asan.gyp \
2324
- test/cctest/cctest.gyp test/fuzzer/fuzzer.gyp \
2425
- test/unittests/unittests.gyp src/v8.gyp \
2526
- tools/parser-shell.gyp testing/gmock.gyp testing/gtest.gyp \
26-
- buildtools/third_party/libc++abi/libc++abi.gyp \
27-
- buildtools/third_party/libc++/libc++.gyp samples/samples.gyp \
28-
+GYPFILES = gypfiles/shim_headers.gypi gypfiles/features.gypi \
29-
+ gypfiles/standalone.gypi gypfiles/all.gyp \
30-
+ gypfiles/mac/asan.gyp src/v8.gyp tools/parser-shell.gyp \
31-
src/third_party/vtune/v8vtune.gyp src/d8.gyp
27+
- samples/samples.gyp src/third_party/vtune/v8vtune.gyp src/d8.gyp
28+
+ src/v8.gyp src/d8.gyp
3229

3330
# If vtunejit=on, the v8vtune.gyp will be appended.
31+
ifeq ($(vtunejit), on)
3432
diff --git a/gypfiles/all.gyp b/gypfiles/all.gyp
3533
index bc9d9650eb..96820a0ecc 100644
3634
--- a/gypfiles/all.gyp
@@ -83,5 +81,5 @@ index bc9d9650eb..96820a0ecc 100644
8381
}
8482
]
8583
--
86-
2.13.3
84+
2.14.1
8785

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
From fe76837b00357250a01ad71c4cce4b7524dd765f Mon Sep 17 00:00:00 2001
1+
From fdfd1e5b845c572366248c39fcde614eeba519f9 Mon Sep 17 00:00:00 2001
22
From: Petko Bordjukov <[email protected]>
33
Date: Mon, 25 Jul 2016 00:05:47 +0300
4-
Subject: [PATCH 3/5] Use the -fPIC flag for the static library
4+
Subject: [PATCH 3/4] Use the -fPIC flag for the static library
55

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

1010
diff --git a/gypfiles/standalone.gypi b/gypfiles/standalone.gypi
11-
index 6a72a23cfb..fdf27226ad 100644
11+
index 34c478d7ad..d045d6de1c 100644
1212
--- a/gypfiles/standalone.gypi
1313
+++ b/gypfiles/standalone.gypi
14-
@@ -800,7 +800,7 @@
14+
@@ -797,7 +797,7 @@
1515
[ 'visibility=="hidden" and v8_enable_backtrace==0', {
1616
'cflags': [ '-fvisibility=hidden' ],
1717
}],
@@ -21,5 +21,5 @@ index 6a72a23cfb..fdf27226ad 100644
2121
}],
2222
[ 'clang==0 and coverage==1', {
2323
--
24-
2.13.3
24+
2.14.1
2525

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
From 7b00cf7c2c13d4c528bccd3bc4a91426f4e35145 Mon Sep 17 00:00:00 2001
1+
From bc9d12823ab2720903e1a28fe3cb3b5433419460 Mon Sep 17 00:00:00 2001
22
From: Jb Aviat <[email protected]>
33
Date: Mon, 27 Feb 2017 11:14:42 +0200
4-
Subject: [PATCH 4/5] Do not embed debug symbols in macOS libraries
4+
Subject: [PATCH 4/4] Do not embed debug symbols in macOS libraries
55

66
This lowers dramatically the produced binary size
77
---
88
gypfiles/standalone.gypi | 1 +
99
1 file changed, 1 insertion(+)
1010

1111
diff --git a/gypfiles/standalone.gypi b/gypfiles/standalone.gypi
12-
index fdf27226ad..8c2972fe54 100644
12+
index d045d6de1c..563dfd6663 100644
1313
--- a/gypfiles/standalone.gypi
1414
+++ b/gypfiles/standalone.gypi
15-
@@ -1059,6 +1059,7 @@
15+
@@ -1056,6 +1056,7 @@
1616
'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions
1717
'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti
1818
'GCC_ENABLE_PASCAL_STRINGS': 'NO', # No -mpascal-strings
@@ -21,5 +21,5 @@ index fdf27226ad..8c2972fe54 100644
2121
'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES',
2222
'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden
2323
--
24-
2.13.3
24+
2.14.1
2525

patches/0005-Fix-GCC-7-build-errors.patch

Lines changed: 0 additions & 147 deletions
This file was deleted.

0 commit comments

Comments
 (0)