From 3a9ffa86dbd0bbe2b4a093b5ad0dc19e1506d99e Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Thu, 16 Dec 2021 11:10:14 +0900 Subject: [PATCH] build: use '<(python)' instead of 'python' PR-URL: https://github.com/nodejs/node/pull/41146 Reviewed-By: Luigi Pinca Reviewed-By: Jiawen Geng --- src/inspector/node_inspector.gypi | 8 ++++---- tools/v8_gypfiles/inspector.gypi | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/inspector/node_inspector.gypi b/src/inspector/node_inspector.gypi index 221972a0b5a168..89c315cfcb772f 100644 --- a/src/inspector/node_inspector.gypi +++ b/src/inspector/node_inspector.gypi @@ -84,7 +84,7 @@ '<(SHARED_INTERMEDIATE_DIR)/src/node_protocol.json', ], 'action': [ - 'python', + '<(python)', 'tools/inspector_protocol/convert_protocol_to_json.py', '<@(_inputs)', '<@(_outputs)', @@ -102,7 +102,7 @@ ], 'process_outputs_as_sources': 1, 'action': [ - 'python', + '<(python)', 'tools/inspector_protocol/code_generator.py', '--jinja_dir', '<@(protocol_tool_path)', '--output_base', '<(SHARED_INTERMEDIATE_DIR)/src/', @@ -120,7 +120,7 @@ '<(SHARED_INTERMEDIATE_DIR)/concatenated_protocol.json', ], 'action': [ - 'python', + '<(python)', 'tools/inspector_protocol/concatenate_protocols.py', '<@(_inputs)', '<@(_outputs)', @@ -136,7 +136,7 @@ ], 'process_outputs_as_sources': 1, 'action': [ - 'python', + '<(python)', 'tools/compress_json.py', '<@(_inputs)', '<@(_outputs)', diff --git a/tools/v8_gypfiles/inspector.gypi b/tools/v8_gypfiles/inspector.gypi index f8f9a1c1b7a392..ea4860a72744f4 100644 --- a/tools/v8_gypfiles/inspector.gypi +++ b/tools/v8_gypfiles/inspector.gypi @@ -142,7 +142,7 @@ '<@(inspector_generated_output_root)/src/js_protocol.stamp', ], 'action': [ - 'python', + '<(python)', '<(inspector_protocol_path)/check_protocol_compatibility.py', '--stamp', '<@(_outputs)', '<@(_inputs)', @@ -161,7 +161,7 @@ ], 'process_outputs_as_sources': 1, 'action': [ - 'python', + '<(python)', '<(inspector_protocol_path)/code_generator.py', '--jinja_dir', '<(V8_ROOT)/third_party', '--output_base', '<(inspector_generated_output_root)/src/inspector',