Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(342)

Side by Side Diff: tools/gn/ninja_build_writer.h

Issue 2554863002: Cleanup remaining class/struct fwd declarations (Closed)
Patch Set: Style fixes Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/gn/header_checker.h ('k') | tools/gn/ninja_copy_target_writer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <map> 9 #include <map>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "tools/gn/path_output.h" 13 #include "tools/gn/path_output.h"
14 14
15 class Builder; 15 class Builder;
16 class BuildSettings; 16 class BuildSettings;
17 class Err; 17 class Err;
18 class Pool;
19 class Settings; 18 class Settings;
20 class Target; 19 class Target;
21 class Toolchain; 20 class Toolchain;
22 21
23 // Generates the toplevel "build.ninja" file. This references the individual 22 // Generates the toplevel "build.ninja" file. This references the individual
24 // toolchain files and lists all input .gn files as dependencies of the 23 // toolchain files and lists all input .gn files as dependencies of the
25 // build itself. 24 // build itself.
26 class NinjaBuildWriter { 25 class NinjaBuildWriter {
27 public: 26 public:
28 NinjaBuildWriter(const BuildSettings* settings, 27 NinjaBuildWriter(const BuildSettings* settings,
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 std::ostream& dep_out_; 63 std::ostream& dep_out_;
65 PathOutput path_output_; 64 PathOutput path_output_;
66 65
67 DISALLOW_COPY_AND_ASSIGN(NinjaBuildWriter); 66 DISALLOW_COPY_AND_ASSIGN(NinjaBuildWriter);
68 }; 67 };
69 68
70 extern const char kNinjaRules_Help[]; 69 extern const char kNinjaRules_Help[];
71 70
72 #endif // TOOLS_GN_NINJA_BUILD_WRITER_H_ 71 #endif // TOOLS_GN_NINJA_BUILD_WRITER_H_
73 72
OLDNEW
« no previous file with comments | « tools/gn/header_checker.h ('k') | tools/gn/ninja_copy_target_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698