Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2344)

Unified Diff: build/toolchain/mac/BUILD.gn

Issue 2033503003: [Mac/iOS/GN] Add //build/toolchain/mac/filter_libtool.py. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/toolchain/mac/filter_libtool.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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}}",
« no previous file with comments | « no previous file | build/toolchain/mac/filter_libtool.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698