Skip to content

Commit 1ce2f56

Browse files
gengjiawenruyadorno
authored andcommitted
build: make scripts in gyp run with right python
PR-URL: #45435 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Ujjwal Sharma <[email protected]>
1 parent e9760b4 commit 1ce2f56

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

node.gyp

+1-1
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@
429429
'inputs': [ '<(opensslconfig)', ],
430430
'outputs': [ '<(opensslconfig_internal)', ],
431431
'action': [
432-
'python', 'tools/copyfile.py',
432+
'<(python)', 'tools/copyfile.py',
433433
'<(opensslconfig)',
434434
'<(opensslconfig_internal)',
435435
],

tools/v8_gypfiles/v8.gyp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1772,7 +1772,7 @@
17721772
}],
17731773
],
17741774
'action': [
1775-
'python', '<(V8_ROOT)/tools/testrunner/utils/dump_build_config_gyp.py',
1775+
'<(python)', '<(V8_ROOT)/tools/testrunner/utils/dump_build_config_gyp.py',
17761776
'<@(v8_dump_build_config_args)',
17771777
],
17781778
},
@@ -1866,7 +1866,7 @@
18661866
'<(SHARED_INTERMEDIATE_DIR)/debug-support.cc',
18671867
],
18681868
'action': [
1869-
'python',
1869+
'<(python)',
18701870
'<(V8_ROOT)/tools/gen-postmortem-metadata.py',
18711871
'<@(_outputs)',
18721872
'<@(heapobject_files)'

0 commit comments

Comments
 (0)