Index: build/toolchain/mac/BUILD.gn |
diff --git a/build/toolchain/mac/BUILD.gn b/build/toolchain/mac/BUILD.gn |
index 82eacab28eba0fb0596b1ec649ae3dc20ee422c0..7fdf4e8ec1cdae2859a5cce40b4caa7e70294252 100644 |
--- a/build/toolchain/mac/BUILD.gn |
+++ b/build/toolchain/mac/BUILD.gn |
@@ -111,7 +111,9 @@ template("mac_toolchain") { |
} |
tool("alink") { |
- command = "rm -f {{output}} && ./gyp-mac-tool filter-libtool libtool -static {{arflags}} -o {{output}} {{inputs}}" |
+ script = |
+ rebase_path("//build/toolchain/mac/filter_libtool.py", root_build_dir) |
+ command = "rm -f {{output}} && python $script libtool -static {{arflags}} -o {{output}} {{inputs}}" |
description = "LIBTOOL-STATIC {{output}}" |
outputs = [ |
"{{output_dir}}/{{target_output_name}}{{output_extension}}", |