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/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 "tools/gn/commands.h" | 10 #include "tools/gn/commands.h" |
11 #include "tools/gn/filesystem_utils.h" | 11 #include "tools/gn/filesystem_utils.h" |
12 #include "tools/gn/input_file.h" | 12 #include "tools/gn/input_file.h" |
13 #include "tools/gn/parser.h" | 13 #include "tools/gn/parser.h" |
14 #include "tools/gn/scheduler.h" | 14 #include "tools/gn/scheduler.h" |
15 #include "tools/gn/setup.h" | 15 #include "tools/gn/setup.h" |
16 #include "tools/gn/source_file.h" | 16 #include "tools/gn/source_file.h" |
17 #include "tools/gn/tokenizer.h" | 17 #include "tools/gn/tokenizer.h" |
18 | 18 |
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
756 printf("Wrote formatted to '%s'.\n", to_write.AsUTF8Unsafe().c_str()); | 756 printf("Wrote formatted to '%s'.\n", to_write.AsUTF8Unsafe().c_str()); |
757 } else { | 757 } else { |
758 printf("%s", output_string.c_str()); | 758 printf("%s", output_string.c_str()); |
759 } | 759 } |
760 } | 760 } |
761 | 761 |
762 return 0; | 762 return 0; |
763 } | 763 } |
764 | 764 |
765 } // namespace commands | 765 } // namespace commands |
OLD | NEW |