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

Side by Side Diff: tools/gn/ninja_target_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/ninja_copy_target_writer.h ('k') | tools/gn/ninja_toolchain_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_TARGET_WRITER_H_ 5 #ifndef TOOLS_GN_NINJA_TARGET_WRITER_H_
6 #define TOOLS_GN_NINJA_TARGET_WRITER_H_ 6 #define TOOLS_GN_NINJA_TARGET_WRITER_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "tools/gn/path_output.h" 11 #include "tools/gn/path_output.h"
12 #include "tools/gn/substitution_type.h" 12 #include "tools/gn/substitution_type.h"
13 13
14 class FileTemplate;
15 class OutputFile; 14 class OutputFile;
16 class Settings; 15 class Settings;
17 class Target; 16 class Target;
18 struct SubstitutionBits; 17 struct SubstitutionBits;
19 18
20 // Generates one target's ".ninja" file. The toplevel "build.ninja" file is 19 // Generates one target's ".ninja" file. The toplevel "build.ninja" file is
21 // generated by the NinjaBuildWriter. 20 // generated by the NinjaBuildWriter.
22 class NinjaTargetWriter { 21 class NinjaTargetWriter {
23 public: 22 public:
24 NinjaTargetWriter(const Target* target, std::ostream& out); 23 NinjaTargetWriter(const Target* target, std::ostream& out);
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 PathOutput path_output_; 60 PathOutput path_output_;
62 61
63 private: 62 private:
64 void WriteCopyRules(); 63 void WriteCopyRules();
65 void WriteEscapedSubstitution(SubstitutionType type); 64 void WriteEscapedSubstitution(SubstitutionType type);
66 65
67 DISALLOW_COPY_AND_ASSIGN(NinjaTargetWriter); 66 DISALLOW_COPY_AND_ASSIGN(NinjaTargetWriter);
68 }; 67 };
69 68
70 #endif // TOOLS_GN_NINJA_TARGET_WRITER_H_ 69 #endif // TOOLS_GN_NINJA_TARGET_WRITER_H_
OLDNEW
« no previous file with comments | « tools/gn/ninja_copy_target_writer.h ('k') | tools/gn/ninja_toolchain_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698