summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}}"