From 28e8a30f87a20cf8865c7ad0afb9582dd0f6bfab Mon Sep 17 00:00:00 2001 From: Michal Klocek Date: Tue, 26 Apr 2022 09:50:38 +0200 Subject: Fix python calls Used python configured with gn. Change-Id: Id9190818a85c052238a7cda846b67a606a685a5e Reviewed-by: Allan Sandfeld Jensen --- chromium/build/toolchain/mac/BUILD.gn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chromium/build/toolchain/mac/BUILD.gn b/chromium/build/toolchain/mac/BUILD.gn index 42477fd47aa..a2d6d578830 100644 --- a/chromium/build/toolchain/mac/BUILD.gn +++ b/chromium/build/toolchain/mac/BUILD.gn @@ -281,7 +281,7 @@ template("mac_toolchain") { # Specify explicit path for libtool. libtool = mac_bin_path + "libtool" - command = "rm -f {{output}} && TOOL_VERSION=${tool_versions.filter_libtool} python $script $libtool -static {{arflags}} -o {{output}} -filelist $rspfile" + command = "rm -f {{output}} && TOOL_VERSION=${tool_versions.filter_libtool} " + python_path + " $script $libtool -static {{arflags}} -o {{output}} -filelist $rspfile" description = "LIBTOOL-STATIC {{output}}" } else { rspfile_content = "{{inputs}}" @@ -527,7 +527,7 @@ template("mac_toolchain") { command = "rm -f \"{{output}}\" && " + "TOOL_VERSION=${tool_versions.compile_xcassets} " + - "python $_tool$_compress_pngs -p \"$_sdk_name\" " + + python_path + " $_tool$_compress_pngs -p \"$_sdk_name\" " + "-t \"$_min_deployment_target\" -T \"{{bundle_product_type}}\" " + "-P \"{{bundle_partial_info_plist}}\" -o {{output}} {{inputs}}" -- cgit v1.2.1