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

Unified Diff: tools/gn/command_args.cc

Issue 805553002: gn: More helpful default args file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/command_args.cc
diff --git a/tools/gn/command_args.cc b/tools/gn/command_args.cc
index 8098ea18f9e51f164ad6f4ab5ceb53c4981dd306..efdb267d0dd9968d6056e90eb3a644dffcbea4dd 100644
--- a/tools/gn/command_args.cc
+++ b/tools/gn/command_args.cc
@@ -243,8 +243,9 @@ int EditArgsFile(const std::string& build_dir) {
if (!base::PathExists(arg_file)) {
std::string argfile_default_contents =
"# Build arguments go here. Examples:\n"
- "# enable_doom_melon = true\n"
- "# crazy_something = \"absolutely\"\n";
+ "# is_component_build = true\n"
+ "# is_debug = false\n"
+ "# See \"gn args --list\" for available build arguments.\n";
scottmg 2014/12/12 23:29:20 I think this has to be "gn args out/gn --list".
mdempsky 2014/12/12 23:41:37 I changed it to # See "gn args <dir_name> --lis
#if defined(OS_WIN)
// Use Windows lineendings for this file since it will often open in
// Notepad which can't handle Unix ones.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698