summaryrefslogtreecommitdiffstats
path: root/chromium
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2022-04-26 10:08:55 +0200
committerMichal Klocek <michal.klocek@qt.io>2022-04-26 08:42:26 +0000
commit1da052bb6c8ab730d5fd2021bb9c7d095dd16095 (patch)
tree1ce732eb865d73f09f94e16e38007ad855597089 /chromium
parent1e934f16dc1b2e19ccdb686ee9c84f6dd14bbf8b (diff)
Fix python calls
Used python configured with gn. Change-Id: Id9190818a85c052238a7cda846b67a606a685a5e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium')
-rw-r--r--chromium/build/toolchain/mac/BUILD.gn6
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/build/toolchain/mac/BUILD.gn b/chromium/build/toolchain/mac/BUILD.gn
index 69eb6b07cb8..94787a9e4f5 100644
--- a/chromium/build/toolchain/mac/BUILD.gn
+++ b/chromium/build/toolchain/mac/BUILD.gn
@@ -277,7 +277,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}}"
outputs = [ "{{output_dir}}/{{target_output_name}}{{output_extension}}" ]
default_output_dir = "{{target_out_dir}}"
@@ -506,8 +506,8 @@ template("mac_toolchain") {
}
command =
"rm -f \"{{output}}\" && " +
- "TOOL_VERSION=${tool_versions.compile_xcassets} " +
- "python $_tool$_compress_pngs -p \"$_sdk_name\" " +
+ "TOOL_VERSION=${tool_versions.compile_xcassets} " + python_path +
+ " $_tool$_compress_pngs -p \"$_sdk_name\" " +
"-t \"$_min_deployment_target\" -T \"{{bundle_product_type}}\" " +
"-P \"{{bundle_partial_info_plist}}\" -o {{output}} {{inputs}}"