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 #ifndef TOOLS_GN_NINJA_BUILD_WRITER_H_ | 5 #ifndef TOOLS_GN_NINJA_BUILD_WRITER_H_ |
6 #define TOOLS_GN_NINJA_BUILD_WRITER_H_ | 6 #define TOOLS_GN_NINJA_BUILD_WRITER_H_ |
7 | 7 |
8 #include <iosfwd> | 8 #include <iosfwd> |
9 #include <set> | 9 #include <set> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
| 12 #include "base/macros.h" |
12 #include "tools/gn/path_output.h" | 13 #include "tools/gn/path_output.h" |
13 | 14 |
14 class BuildSettings; | 15 class BuildSettings; |
15 class Err; | 16 class Err; |
16 class Settings; | 17 class Settings; |
17 class Target; | 18 class Target; |
18 class Toolchain; | 19 class Toolchain; |
19 | 20 |
20 // Generates the toplevel "build.ninja" file. This references the individual | 21 // Generates the toplevel "build.ninja" file. This references the individual |
21 // toolchain files and lists all input .gn files as dependencies of the | 22 // toolchain files and lists all input .gn files as dependencies of the |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 std::vector<const Target*> default_toolchain_targets_; | 59 std::vector<const Target*> default_toolchain_targets_; |
59 std::ostream& out_; | 60 std::ostream& out_; |
60 std::ostream& dep_out_; | 61 std::ostream& dep_out_; |
61 PathOutput path_output_; | 62 PathOutput path_output_; |
62 | 63 |
63 DISALLOW_COPY_AND_ASSIGN(NinjaBuildWriter); | 64 DISALLOW_COPY_AND_ASSIGN(NinjaBuildWriter); |
64 }; | 65 }; |
65 | 66 |
66 #endif // TOOLS_GN_NINJA_BUILD_WRITER_H_ | 67 #endif // TOOLS_GN_NINJA_BUILD_WRITER_H_ |
67 | 68 |
OLD | NEW |