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

Unified Diff: tools/gn/function_toolchain.cc

Issue 1207903002: Windows precompiled header support in GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: tools/gn/function_toolchain.cc
diff --git a/tools/gn/function_toolchain.cc b/tools/gn/function_toolchain.cc
index c4a70373682ff55e23945c85bf50fa55eb9ab93c..289d0d245f739b3ef388f87ef00b82fdf8686316 100644
--- a/tools/gn/function_toolchain.cc
+++ b/tools/gn/function_toolchain.cc
@@ -503,6 +503,20 @@ const char kTool_Help[] =
" Posix systems:\n"
" output_prefix = \"lib\"\n"
"\n"
+ " precompiled_header_type [string]\n"
+ " Valid for: \"cc\", \"cxx\", \"objc\", \"objcxx\"\n"
+ "\n"
+ " Type of precompiled headers. If undefined or the empty string,\n"
+ " precompiled headers will not be used for this tool. Otherwise\n"
+ " use either \"gcc\" or \"msvc\".\n"
+ "\n"
+ " For precompiled headers to be used for a given target, the\n"
+ " target (or a config applied to it) must also specify a\n"
+ " \"precompiled_header\" and, for \"msvc\"-style headers, a\n"
+ " \"precompiled_source\" value.\n"
+ "\n"
+ " See \"gn help precompiled_header\" for more.\n"
+ "\n"
" restat [boolean]\n"
" Valid for: all tools (optional, defaults to false)\n"
"\n"
@@ -540,7 +554,7 @@ const char kTool_Help[] =
" rspfile_content = \"{{inputs}} {{solibs}} {{libs}}\"\n"
" }\n"
"\n"
- "Expansions for tool variables"
+ "Expansions for tool variables\n"
"\n"
" All paths are relative to the root build directory, which is the\n"
" current directory for running all tools. These expansions are\n"

Powered by Google App Engine
This is Rietveld 408576698