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

Unified Diff: tools/gn/variables.cc

Issue 1361173004: [GN]: Add asmflags (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Brett’s comments Created 5 years, 3 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/variables.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/variables.cc
diff --git a/tools/gn/variables.cc b/tools/gn/variables.cc
index 15c22264885aa70123ee18f5533c4b427a680894..0b7ac7a1e5bef7c8f411441c7c1cd5d45e0efa72 100644
--- a/tools/gn/variables.cc
+++ b/tools/gn/variables.cc
@@ -403,11 +403,25 @@ const char kCommonCflagsHelp[] =
" and Objective C++ compilers.\n"
"\n"
" To target one of these variants individually, use \"cflags_c\",\n"
- " \"cflags_cc\", \"cflags_objc\", and \"cflags_objcc\", respectively.\n"
- " These variant-specific versions will be appended to the \"cflags\".\n"
+ " \"cflags_cc\", \"cflags_objc\", and \"cflags_objcc\",\n"
+ " respectively.\n"
+ "\n"
+ " These variant-specific versions of cflags* will be appended to the\n"
+ " \"cflags\".\n"
COMMON_ORDERING_HELP;
const char* kCflags_Help = kCommonCflagsHelp;
+const char kAsmflags[] = "asmflags";
+const char kAsmflags_HelpShort[] =
+ "asmflags: [string list] Flags passed to any assembly compiler.";
+const char* kAsmflags_Help =
+ "asmflags: Flags passed to any assembly compiler.\n"
+ "\n"
+ " A list of strings.\n"
+ "\n"
+ " \"asmflags\" are passed to any invocation of a tool that takes an\n"
+ " .asm or .S file as input.\n";
+
const char kCflagsC[] = "cflags_c";
const char kCflagsC_HelpShort[] =
"cflags_c: [string list] Flags passed to the C compiler.";
« no previous file with comments | « tools/gn/variables.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698