summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2022-04-26 09:50:38 +0200
committerMichal Klocek <michal.klocek@qt.io>2022-04-26 18:53:41 +0000
commit28e8a30f87a20cf8865c7ad0afb9582dd0f6bfab (patch)
tree96945a193a0a497d1b54a444d28a3eb2bf2ebdab
parentb56b6a9538f50ac4d4424bc7ad37d2f462245182 (diff)
downloadqtwebengine-chromium-28e8a30f87a20cf8865c7ad0afb9582dd0f6bfab.tar.gz
Fix python calls
Used python configured with gn. Change-Id: Id9190818a85c052238a7cda846b67a606a685a5e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-rw-r--r--chromium/build/toolchain/mac/BUILD.gn4
1 files 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}}"