Skip to content

Commit 3a9ffa8

Browse files
zcbenzdanielleadams
authored andcommitted
build: use '<(python)' instead of 'python'
PR-URL: #41146 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Jiawen Geng <[email protected]>
1 parent f883bf3 commit 3a9ffa8

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/inspector/node_inspector.gypi

+4-4
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
'<(SHARED_INTERMEDIATE_DIR)/src/node_protocol.json',
8585
],
8686
'action': [
87-
'python',
87+
'<(python)',
8888
'tools/inspector_protocol/convert_protocol_to_json.py',
8989
'<@(_inputs)',
9090
'<@(_outputs)',
@@ -102,7 +102,7 @@
102102
],
103103
'process_outputs_as_sources': 1,
104104
'action': [
105-
'python',
105+
'<(python)',
106106
'tools/inspector_protocol/code_generator.py',
107107
'--jinja_dir', '<@(protocol_tool_path)',
108108
'--output_base', '<(SHARED_INTERMEDIATE_DIR)/src/',
@@ -120,7 +120,7 @@
120120
'<(SHARED_INTERMEDIATE_DIR)/concatenated_protocol.json',
121121
],
122122
'action': [
123-
'python',
123+
'<(python)',
124124
'tools/inspector_protocol/concatenate_protocols.py',
125125
'<@(_inputs)',
126126
'<@(_outputs)',
@@ -136,7 +136,7 @@
136136
],
137137
'process_outputs_as_sources': 1,
138138
'action': [
139-
'python',
139+
'<(python)',
140140
'tools/compress_json.py',
141141
'<@(_inputs)',
142142
'<@(_outputs)',

tools/v8_gypfiles/inspector.gypi

+2-2
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
'<@(inspector_generated_output_root)/src/js_protocol.stamp',
143143
],
144144
'action': [
145-
'python',
145+
'<(python)',
146146
'<(inspector_protocol_path)/check_protocol_compatibility.py',
147147
'--stamp', '<@(_outputs)',
148148
'<@(_inputs)',
@@ -161,7 +161,7 @@
161161
],
162162
'process_outputs_as_sources': 1,
163163
'action': [
164-
'python',
164+
'<(python)',
165165
'<(inspector_protocol_path)/code_generator.py',
166166
'--jinja_dir', '<(V8_ROOT)/third_party',
167167
'--output_base', '<(inspector_generated_output_root)/src/inspector',

0 commit comments

Comments
 (0)