Skip to content

Commit 92090d3

Browse files
zcbenznodejs-github-bot
authored andcommitted
build: make scripts in gyp run with right python
PR-URL: #39730 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent a3c0713 commit 92090d3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tools/icu/icu-generic.gyp

+2-2
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167
'msvs_quote_cmd': 0,
168168
'inputs': [ '<(icu_data_in)', 'icu_small.json' ],
169169
'outputs': [ '<(SHARED_INTERMEDIATE_DIR)/icutmp/icudt<(icu_ver_major)<(icu_endianness).dat' ],
170-
'action': [ 'python',
170+
'action': [ '<(python)',
171171
'icutrim.py',
172172
'-P', '<(PRODUCT_DIR)/.', # '.' suffix is a workaround against GYP assumptions :(
173173
'-D', '<(icu_data_in)',
@@ -252,7 +252,7 @@
252252
'action_name': 'icutrim',
253253
'inputs': [ '<(icu_data_in)', 'icu_small.json' ],
254254
'outputs': [ '<(SHARED_INTERMEDIATE_DIR)/icutmp/icudt<(icu_ver_major)<(icu_endianness).dat' ],
255-
'action': [ 'python',
255+
'action': [ '<(python)',
256256
'icutrim.py',
257257
'-P', '<(PRODUCT_DIR)',
258258
'-D', '<(icu_data_in)',

tools/v8_gypfiles/v8.gyp

+2-2
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@
231231
'<(generate_bytecode_builtins_list_output)',
232232
],
233233
'action': [
234-
'python',
234+
'<(python)',
235235
'<(V8_ROOT)/tools/run.py',
236236
'<@(_inputs)',
237237
'<@(_outputs)',
@@ -1554,7 +1554,7 @@
15541554
'<(SHARED_INTERMEDIATE_DIR)/src/regexp/special-case.cc',
15551555
],
15561556
'action': [
1557-
'python',
1557+
'<(python)',
15581558
'<(V8_ROOT)/tools/run.py',
15591559
'<@(_inputs)',
15601560
'<@(_outputs)',

0 commit comments

Comments
 (0)