Chromium Code Reviews| Index: tools/gn/variables.cc |
| diff --git a/tools/gn/variables.cc b/tools/gn/variables.cc |
| index 15c22264885aa70123ee18f5533c4b427a680894..0f542b1c78c1c7a29a32ef8b6b4ede51acda9ec5 100644 |
| --- a/tools/gn/variables.cc |
| +++ b/tools/gn/variables.cc |
| @@ -395,19 +395,27 @@ const char kCflags[] = "cflags"; |
| const char kCflags_HelpShort[] = |
| "cflags: [string list] Flags passed to all C compiler variants."; |
| const char kCommonCflagsHelp[] = |
| - "cflags*: Flags passed to the C compiler.\n" |
| + "asmflags|cflags*: Flags passed to the C compiler.\n" |
|
brettw
2015/09/24 18:30:09
I find this weird. Can you make a separate entry f
Bons
2015/09/24 19:41:54
Done.
|
| "\n" |
| " A list of strings.\n" |
| "\n" |
| " \"cflags\" are passed to all invocations of the C, C++, Objective C,\n" |
| " 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" |
| + " To target one of these variants individually, use \"asmflags\",\n" |
| + " \"cflags_c\", \"cflags_cc\", \"cflags_objc\", and \"cflags_objcc\",\n" |
| + " respectively.\n" |
| + "\n" |
| + " The 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 when compiling asm files."; |
| +const char* kAsmflags_Help = kCommonCflagsHelp; |
| + |
| const char kCflagsC[] = "cflags_c"; |
| const char kCflagsC_HelpShort[] = |
| "cflags_c: [string list] Flags passed to the C compiler."; |