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 <stddef.h> |
| 6 |
5 #include "tools/gn/err.h" | 7 #include "tools/gn/err.h" |
6 #include "tools/gn/filesystem_utils.h" | 8 #include "tools/gn/filesystem_utils.h" |
7 #include "tools/gn/functions.h" | 9 #include "tools/gn/functions.h" |
8 #include "tools/gn/parse_tree.h" | 10 #include "tools/gn/parse_tree.h" |
9 #include "tools/gn/scope.h" | 11 #include "tools/gn/scope.h" |
10 #include "tools/gn/value.h" | 12 #include "tools/gn/value.h" |
11 | 13 |
12 namespace functions { | 14 namespace functions { |
13 | 15 |
14 namespace { | 16 namespace { |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 return Value(); | 244 return Value(); |
243 } | 245 } |
244 return result; | 246 return result; |
245 } | 247 } |
246 | 248 |
247 *err = Err(args[0], "Path must be a string or a list of strings."); | 249 *err = Err(args[0], "Path must be a string or a list of strings."); |
248 return Value(); | 250 return Value(); |
249 } | 251 } |
250 | 252 |
251 } // namespace functions | 253 } // namespace functions |
OLD | NEW |