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

Unified Diff: tools/gn/bootstrap/build_mac.ninja.template

Issue 403463005: gn: bootstrap: fixes, added mac support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renamed --no-bootstrap to --no-rebuild Created 6 years, 5 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 | « tools/gn/bootstrap/bootstrap.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/bootstrap/build_mac.ninja.template
diff --git a/tools/gn/bootstrap/build.ninja.template b/tools/gn/bootstrap/build_mac.ninja.template
similarity index 76%
copy from tools/gn/bootstrap/build.ninja.template
copy to tools/gn/bootstrap/build_mac.ninja.template
index 2ef5301e328a5a2e31437a6a33b777b86c8fd221..409ea75b1e3a179ba51ba231e4ec3dc275eacb2e 100644
--- a/tools/gn/bootstrap/build.ninja.template
+++ b/tools/gn/bootstrap/build_mac.ninja.template
@@ -17,9 +17,9 @@ rule cxx
deps = gcc
rule alink_thin
- command = rm -f $out && $ar rcsT $out $in
+ command = rm -f $out && libtool -static -o $out $in
description = AR $out
rule link
- command = $ld $ldflags -o $out -Wl,--start-group $in $solibs -Wl,--end-group $libs
+ command = $ld $ldflags -o $out $in $solibs $libs
description = LINK $out
« no previous file with comments | « tools/gn/bootstrap/bootstrap.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698