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

Side by Side Diff: tools/gn/ninja_toolchain_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_target_writer.h ('k') | tools/gn/ninja_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_TOOLCHAIN_WRITER_H_ 5 #ifndef TOOLS_GN_NINJA_TOOLCHAIN_WRITER_H_
6 #define TOOLS_GN_NINJA_TOOLCHAIN_WRITER_H_ 6 #define TOOLS_GN_NINJA_TOOLCHAIN_WRITER_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/gtest_prod_util.h" 13 #include "base/gtest_prod_util.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "tools/gn/ninja_writer.h" 15 #include "tools/gn/ninja_writer.h"
16 #include "tools/gn/path_output.h" 16 #include "tools/gn/path_output.h"
17 #include "tools/gn/toolchain.h" 17 #include "tools/gn/toolchain.h"
18 18
19 class BuildSettings;
20 struct EscapeOptions; 19 struct EscapeOptions;
21 class Settings; 20 class Settings;
22 class Target;
23 class Tool; 21 class Tool;
24 22
25 class NinjaToolchainWriter { 23 class NinjaToolchainWriter {
26 public: 24 public:
27 // Takes the settings for the toolchain, as well as the list of all targets 25 // Takes the settings for the toolchain, as well as the list of all targets
28 // associated with the toolchain. 26 // associated with the toolchain.
29 static bool RunAndWriteFile( 27 static bool RunAndWriteFile(
30 const Settings* settings, 28 const Settings* settings,
31 const Toolchain* toolchain, 29 const Toolchain* toolchain,
32 const std::vector<NinjaWriter::TargetRulePair>& rules); 30 const std::vector<NinjaWriter::TargetRulePair>& rules);
(...skipping 18 matching lines...) Expand all
51 49
52 const Settings* settings_; 50 const Settings* settings_;
53 const Toolchain* toolchain_; 51 const Toolchain* toolchain_;
54 std::ostream& out_; 52 std::ostream& out_;
55 PathOutput path_output_; 53 PathOutput path_output_;
56 54
57 DISALLOW_COPY_AND_ASSIGN(NinjaToolchainWriter); 55 DISALLOW_COPY_AND_ASSIGN(NinjaToolchainWriter);
58 }; 56 };
59 57
60 #endif // TOOLS_GN_NINJA_TOOLCHAIN_WRITER_H_ 58 #endif // TOOLS_GN_NINJA_TOOLCHAIN_WRITER_H_
OLDNEW
« no previous file with comments | « tools/gn/ninja_target_writer.h ('k') | tools/gn/ninja_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698