From 25bd704dafd8cea592a2a88e80b7fd6d886228f3 Mon Sep 17 00:00:00 2001 From: Jiawen Geng Date: Sat, 12 Nov 2022 04:37:44 +0000 Subject: [PATCH] build: make scripts in gyp run with right python --- tools/v8_gypfiles/v8.gyp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp index fdbac3bd1af8aa..3ccfe07df70bac 100644 --- a/tools/v8_gypfiles/v8.gyp +++ b/tools/v8_gypfiles/v8.gyp @@ -1772,7 +1772,7 @@ }], ], 'action': [ - 'python', '<(V8_ROOT)/tools/testrunner/utils/dump_build_config_gyp.py', + '<(python)', '<(V8_ROOT)/tools/testrunner/utils/dump_build_config_gyp.py', '<@(v8_dump_build_config_args)', ], }, @@ -1866,7 +1866,7 @@ '<(SHARED_INTERMEDIATE_DIR)/debug-support.cc', ], 'action': [ - 'python', + '<(python)', '<(V8_ROOT)/tools/gen-postmortem-metadata.py', '<@(_outputs)', '<@(heapobject_files)'