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

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: Suggest "gn args <dir_name> --list" 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..50bdbe913faae97b84811407209857710954cc1a 100644
--- a/tools/gn/command_args.cc
+++ b/tools/gn/command_args.cc
@@ -243,8 +243,10 @@ 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 <dir_name> --list\" for available build "
+ "arguments.\n";
#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