| OLD | NEW |
| 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/functions.h" | 5 #include "tools/gn/functions.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include <iostream> | 9 #include <iostream> |
| 8 | 10 |
| 9 #include "base/environment.h" | 11 #include "base/environment.h" |
| 10 #include "base/strings/string_util.h" | 12 #include "base/strings/string_util.h" |
| 11 #include "tools/gn/config.h" | 13 #include "tools/gn/config.h" |
| 12 #include "tools/gn/config_values_generator.h" | 14 #include "tools/gn/config_values_generator.h" |
| 13 #include "tools/gn/err.h" | 15 #include "tools/gn/err.h" |
| 14 #include "tools/gn/input_file.h" | 16 #include "tools/gn/input_file.h" |
| 15 #include "tools/gn/parse_tree.h" | 17 #include "tools/gn/parse_tree.h" |
| 16 #include "tools/gn/scheduler.h" | 18 #include "tools/gn/scheduler.h" |
| (...skipping 900 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 917 } | 919 } |
| 918 | 920 |
| 919 // Otherwise it's a no-block function. | 921 // Otherwise it's a no-block function. |
| 920 if (!VerifyNoBlockForFunctionCall(function, block, err)) | 922 if (!VerifyNoBlockForFunctionCall(function, block, err)) |
| 921 return Value(); | 923 return Value(); |
| 922 return found_function->second.no_block_runner(scope, function, | 924 return found_function->second.no_block_runner(scope, function, |
| 923 args.list_value(), err); | 925 args.list_value(), err); |
| 924 } | 926 } |
| 925 | 927 |
| 926 } // namespace functions | 928 } // namespace functions |
| OLD | NEW |