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

Side by Side Diff: tools/gn/command_desc.cc

Issue 115323009: Fix help and error messages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/gn/command_args.cc ('k') | tools/gn/command_help.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <algorithm> 5 #include <algorithm>
6 #include <set> 6 #include <set>
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "tools/gn/commands.h" 10 #include "tools/gn/commands.h"
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 " Used with any value specified by a config, this will name\n" 281 " Used with any value specified by a config, this will name\n"
282 " the config that specified the value. This doesn't currently work\n" 282 " the config that specified the value. This doesn't currently work\n"
283 " for libs and lib_dirs because those are inherited and are more\n" 283 " for libs and lib_dirs because those are inherited and are more\n"
284 " complicated to figure out the blame (patches welcome).\n" 284 " complicated to figure out the blame (patches welcome).\n"
285 "\n" 285 "\n"
286 "Note:\n" 286 "Note:\n"
287 " This command will show the full name of directories and source files,\n" 287 " This command will show the full name of directories and source files,\n"
288 " but when directories and source paths are written to the build file,\n" 288 " but when directories and source paths are written to the build file,\n"
289 " they will be adjusted to be relative to the build directory. So the\n" 289 " they will be adjusted to be relative to the build directory. So the\n"
290 " values for paths displayed by this command won't match (but should\n" 290 " values for paths displayed by this command won't match (but should\n"
291 " mean the same thing.\n" 291 " mean the same thing).\n"
292 "\n" 292 "\n"
293 "Examples:\n" 293 "Examples:\n"
294 " gn desc //base:base\n" 294 " gn desc //base:base\n"
295 " Summarizes the given target.\n" 295 " Summarizes the given target.\n"
296 "\n" 296 "\n"
297 " gn desc :base_unittests deps --tree\n" 297 " gn desc :base_unittests deps --tree\n"
298 " Shows a dependency tree of the \"base_unittests\" project in\n" 298 " Shows a dependency tree of the \"base_unittests\" project in\n"
299 " the current directory.\n" 299 " the current directory.\n"
300 "\n" 300 "\n"
301 " gn desc //base defines --blame\n" 301 " gn desc //base defines --blame\n"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 OUTPUT_CONFIG_VALUE(ldflags, std::string) 380 OUTPUT_CONFIG_VALUE(ldflags, std::string)
381 PrintLibs(target, true); 381 PrintLibs(target, true);
382 PrintLibDirs(target, true); 382 PrintLibDirs(target, true);
383 383
384 PrintDeps(target, true); 384 PrintDeps(target, true);
385 385
386 return 0; 386 return 0;
387 } 387 }
388 388
389 } // namespace commands 389 } // namespace commands
OLDNEW
« no previous file with comments | « tools/gn/command_args.cc ('k') | tools/gn/command_help.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698