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

Side by Side Diff: tools/gn/variables.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/setup.cc ('k') | no next file » | 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 "tools/gn/variables.h" 5 #include "tools/gn/variables.h"
6 6
7 namespace variables { 7 namespace variables {
8 8
9 // Built-in variables ---------------------------------------------------------- 9 // Built-in variables ----------------------------------------------------------
10 10
(...skipping 724 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 " not possible for Ninja to know about this dependency.\n" 735 " not possible for Ninja to know about this dependency.\n"
736 "\n" 736 "\n"
737 " Source prerequisites solves this problem by declaring such\n" 737 " Source prerequisites solves this problem by declaring such\n"
738 " dependencies. It will introduce a Ninja \"implicit\" dependency for\n" 738 " dependencies. It will introduce a Ninja \"implicit\" dependency for\n"
739 " each source file in the target on the listed files.\n" 739 " each source file in the target on the listed files.\n"
740 "\n" 740 "\n"
741 " For binary targets, the files in the \"source_prereqs\" should all be\n" 741 " For binary targets, the files in the \"source_prereqs\" should all be\n"
742 " listed in the \"outputs\" section of another target. There is no\n" 742 " listed in the \"outputs\" section of another target. There is no\n"
743 " reason to declare static source files as source prerequisites since\n" 743 " reason to declare static source files as source prerequisites since\n"
744 " the normal include file dependency management will handle them more\n" 744 " the normal include file dependency management will handle them more\n"
745 " efficiently anwyay.\n" 745 " efficiently anyway.\n"
746 "\n" 746 "\n"
747 " For custom script targets that don't generate \".d\" files, the\n" 747 " For custom script targets that don't generate \".d\" files, the\n"
748 " \"source_prereqs\" section is how you can list known compile-time\n" 748 " \"source_prereqs\" section is how you can list known compile-time\n"
749 " dependencies your script may have.\n" 749 " dependencies your script may have.\n"
750 "\n" 750 "\n"
751 " See also \"gn help data\" and \"gn help datadeps\" (which declare\n" 751 " See also \"gn help data\" and \"gn help datadeps\" (which declare\n"
752 " run-time rather than compile-time dependencies), and\n" 752 " run-time rather than compile-time dependencies), and\n"
753 " \"gn help hard_dep\" which allows you to declare the source dependency\n" 753 " \"gn help hard_dep\" which allows you to declare the source dependency\n"
754 " on the target generating a file rather than the target consuming it.\n" 754 " on the target generating a file rather than the target consuming it.\n"
755 "\n" 755 "\n"
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
837 INSERT_VARIABLE(Script) 837 INSERT_VARIABLE(Script)
838 INSERT_VARIABLE(SourcePrereqs) 838 INSERT_VARIABLE(SourcePrereqs)
839 INSERT_VARIABLE(Sources) 839 INSERT_VARIABLE(Sources)
840 } 840 }
841 return info_map; 841 return info_map;
842 } 842 }
843 843
844 #undef INSERT_VARIABLE 844 #undef INSERT_VARIABLE
845 845
846 } // namespace variables 846 } // namespace variables
OLDNEW
« no previous file with comments | « tools/gn/setup.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698