OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/err.h" | 5 #include "tools/gn/err.h" |
6 #include "tools/gn/filesystem_utils.h" | 6 #include "tools/gn/filesystem_utils.h" |
7 #include "tools/gn/functions.h" | 7 #include "tools/gn/functions.h" |
8 #include "tools/gn/label.h" | 8 #include "tools/gn/label.h" |
9 #include "tools/gn/parse_tree.h" | 9 #include "tools/gn/parse_tree.h" |
10 #include "tools/gn/value.h" | 10 #include "tools/gn/value.h" |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
56 " match the value of the \"root_gen_dir\" variable when inside that\n" | 56 " match the value of the \"root_gen_dir\" variable when inside that\n" |
57 " target's declaration.\n" | 57 " target's declaration.\n" |
58 "\n" | 58 "\n" |
59 " \"target_out_dir\n" | 59 " \"target_out_dir\n" |
60 " The output directory for the target. This will match the\n" | 60 " The output directory for the target. This will match the\n" |
61 " value of the \"target_out_dir\" variable when inside that target's\n" | 61 " value of the \"target_out_dir\" variable when inside that target's\n" |
62 " declaration.\n" | 62 " declaration.\n" |
63 "\n" | 63 "\n" |
64 " \"root_out_dir\"\n" | 64 " \"root_out_dir\"\n" |
65 " The root of the output file tree for the target. This will\n" | 65 " The root of the output file tree for the target. This will\n" |
66 " match the value of the \"root_gen_dir\" variable when inside that\n" | 66 " match the value of the \"root_out_dir\" variable when inside that\n" |
tfarina
2015/11/19 16:31:33
lgtm
| |
67 " target's declaration.\n" | 67 " target's declaration.\n" |
68 "\n" | 68 "\n" |
69 " \"label_no_toolchain\"\n" | 69 " \"label_no_toolchain\"\n" |
70 " The fully qualified version of this label, not including the\n" | 70 " The fully qualified version of this label, not including the\n" |
71 " toolchain. For the input \":bar\" it might return\n" | 71 " toolchain. For the input \":bar\" it might return\n" |
72 " \"//foo:bar\".\n" | 72 " \"//foo:bar\".\n" |
73 "\n" | 73 "\n" |
74 " \"label_with_toolchain\"\n" | 74 " \"label_with_toolchain\"\n" |
75 " The fully qualified version of this label, including the\n" | 75 " The fully qualified version of this label, including the\n" |
76 " toolchain. For the input \":bar\" it might return\n" | 76 " toolchain. For the input \":bar\" it might return\n" |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
153 | 153 |
154 } else { | 154 } else { |
155 *err = Err(args[1], "Unknown value for \"what\" parameter."); | 155 *err = Err(args[1], "Unknown value for \"what\" parameter."); |
156 return Value(); | 156 return Value(); |
157 } | 157 } |
158 | 158 |
159 return result; | 159 return result; |
160 } | 160 } |
161 | 161 |
162 } // namespace functions | 162 } // namespace functions |
OLD | NEW |