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

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

Issue 2064513002: GN: Add Windows support to bootstrap.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 4 years, 6 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/build_mac.ninja.template ('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_vs.ninja.template
diff --git a/tools/gn/bootstrap/build_vs.ninja.template b/tools/gn/bootstrap/build_vs.ninja.template
new file mode 100644
index 0000000000000000000000000000000000000000..6e98575b22afd1f504fa0b39dba75ff2edabf7ad
--- /dev/null
+++ b/tools/gn/bootstrap/build_vs.ninja.template
@@ -0,0 +1,25 @@
+rule cc
+ command = $cc /nologo /showIncludes /FC @${out}.rsp /c ${in} /Fo${out}
+ description = CC ${out}
+ rspfile = ${out}.rsp
+ rspfile_content = ${defines} ${includes} ${cflags} ${cflags_c}
+ deps = msvc
+
+rule cxx
+ command = $cxx /nologo /showIncludes /FC @${out}.rsp /c ${in} /Fo${out}
+ description = CXX ${out}
+ rspfile = ${out}.rsp
+ rspfile_content = ${defines} ${includes} ${cflags} ${cflags_cc}
+ deps = msvc
+
+rule alink_thin
+ command = $ar /nologo /ignore:4221 /OUT:${out} @${out}.rsp
+ description = LIB ${out}
+ rspfile = ${out}.rsp
+ rspfile_content = ${in_newline}
+
+rule link
+ command = $ld /nologo /OUT:${out} /PDB:${out}.pdb @${out}.rsp
+ description = LINK ${out}
+ rspfile = ${out}.rsp
+ rspfile_content = ${in_newline} ${libs} ${solibs} ${ldflags}
« no previous file with comments | « tools/gn/bootstrap/build_mac.ninja.template ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698