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/substitution_pattern.h" | 5 #include "tools/gn/substitution_pattern.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/strings/string_number_conversions.h" | 9 #include "base/strings/string_number_conversions.h" |
8 #include "tools/gn/build_settings.h" | 10 #include "tools/gn/build_settings.h" |
9 #include "tools/gn/err.h" | 11 #include "tools/gn/err.h" |
10 #include "tools/gn/filesystem_utils.h" | 12 #include "tools/gn/filesystem_utils.h" |
11 #include "tools/gn/value.h" | 13 #include "tools/gn/value.h" |
12 | 14 |
13 SubstitutionPattern::Subrange::Subrange() | 15 SubstitutionPattern::Subrange::Subrange() |
14 : type(SUBSTITUTION_LITERAL) { | 16 : type(SUBSTITUTION_LITERAL) { |
15 } | 17 } |
16 | 18 |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 "File is not inside output directory.", | 140 "File is not inside output directory.", |
139 "The given file should be in the output directory. Normally you\n" | 141 "The given file should be in the output directory. Normally you\n" |
140 "would specify\n\"$target_out_dir/foo\" or " | 142 "would specify\n\"$target_out_dir/foo\" or " |
141 "\"{{source_gen_dir}}/foo\"."); | 143 "\"{{source_gen_dir}}/foo\"."); |
142 return false; | 144 return false; |
143 } | 145 } |
144 } | 146 } |
145 | 147 |
146 return true; | 148 return true; |
147 } | 149 } |
OLD | NEW |