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 <sstream> | 5 #include <sstream> |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/files/file_util.h" | 8 #include "base/files/file_util.h" |
9 #include "base/strings/string_split.h" | 9 #include "base/strings/string_split.h" |
| 10 #include "base/strings/string_util.h" |
10 #include "tools/gn/commands.h" | 11 #include "tools/gn/commands.h" |
11 #include "tools/gn/filesystem_utils.h" | 12 #include "tools/gn/filesystem_utils.h" |
12 #include "tools/gn/input_file.h" | 13 #include "tools/gn/input_file.h" |
13 #include "tools/gn/parser.h" | 14 #include "tools/gn/parser.h" |
14 #include "tools/gn/scheduler.h" | 15 #include "tools/gn/scheduler.h" |
15 #include "tools/gn/setup.h" | 16 #include "tools/gn/setup.h" |
16 #include "tools/gn/source_file.h" | 17 #include "tools/gn/source_file.h" |
17 #include "tools/gn/tokenizer.h" | 18 #include "tools/gn/tokenizer.h" |
18 | 19 |
19 namespace commands { | 20 namespace commands { |
(...skipping 1028 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1048 } | 1049 } |
1049 } else { | 1050 } else { |
1050 printf("%s", output_string.c_str()); | 1051 printf("%s", output_string.c_str()); |
1051 } | 1052 } |
1052 } | 1053 } |
1053 | 1054 |
1054 return 0; | 1055 return 0; |
1055 } | 1056 } |
1056 | 1057 |
1057 } // namespace commands | 1058 } // namespace commands |
OLD | NEW |