blob: b5142dc9c1dd76a19356123f9334672eeb994f56 [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001From 6c3ac20477a4bac643088f24df3c042e627fafa9 Mon Sep 17 00:00:00 2001
2From: Guillaume Burel <guillaume.burel@stormshield.eu>
3Date: Fri, 3 Jan 2020 11:25:54 +0100
4Subject: [PATCH] Using native binaries
5
6---
7 node.gyp | 4 ++--
8 tools/v8_gypfiles/v8.gyp | 11 ++++-------
9 2 files changed, 6 insertions(+), 9 deletions(-)
10
11diff --git a/node.gyp b/node.gyp
12index 8f4dc518..d9389190 100644
13--- a/node.gyp
14+++ b/node.gyp
15@@ -446,7 +446,7 @@
16 '<(SHARED_INTERMEDIATE_DIR)/node_code_cache.cc',
17 ],
18 'action': [
19- '<@(_inputs)',
20+ 'mkcodecache',
21 '<@(_outputs)',
22 ],
23 },
24@@ -471,7 +471,7 @@
25 '<(SHARED_INTERMEDIATE_DIR)/node_snapshot.cc',
26 ],
27 'action': [
28- '<@(_inputs)',
29+ 'node_mksnapshot',
30 '<@(_outputs)',
31 ],
32 },
33diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp
34index a506a67d..c91f7dde 100644
35--- a/tools/v8_gypfiles/v8.gyp
36+++ b/tools/v8_gypfiles/v8.gyp
37@@ -140,7 +140,8 @@
38 '<@(torque_outputs)',
39 ],
40 'action': [
41- '<@(_inputs)',
42+ 'torque',
43+ '<@(torque_files)',
44 '-o', '<(torque_output_root)/torque-generated',
45 '-v8-root', '<(V8_ROOT)'
46 ],
47@@ -247,9 +248,7 @@
48 '<(generate_bytecode_builtins_list_output)',
49 ],
50 'action': [
51- 'python',
52- '<(V8_ROOT)/tools/run.py',
53- '<@(_inputs)',
54+ 'bytecode_builtins_list_generator',
55 '<@(_outputs)',
56 ],
57 },
58@@ -1396,9 +1395,7 @@
59 '<(SHARED_INTERMEDIATE_DIR)/src/regexp/special-case.cc',
60 ],
61 'action': [
62- 'python',
63- '<(V8_ROOT)/tools/run.py',
64- '<@(_inputs)',
65+ 'gen-regexp-special-case',
66 '<@(_outputs)',
67 ],
68 },
69--
702.20.1
71