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

Side by Side Diff: tools/gn/ninja_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_toolchain_writer.h ('k') | tools/gn/scope.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_WRITER_H_ 5 #ifndef TOOLS_GN_NINJA_WRITER_H_
6 #define TOOLS_GN_NINJA_WRITER_H_ 6 #define TOOLS_GN_NINJA_WRITER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/macros.h" 13 #include "base/macros.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;
20 class Target; 18 class Target;
21 class Toolchain; 19 class Toolchain;
22 20
23 class NinjaWriter { 21 class NinjaWriter {
24 public: 22 public:
25 // Combines a target and the computed build rule for it. 23 // Combines a target and the computed build rule for it.
26 using TargetRulePair = std::pair<const Target*, std::string>; 24 using TargetRulePair = std::pair<const Target*, std::string>;
27 25
28 // Associates the build rules with each toolchain. 26 // Associates the build rules with each toolchain.
29 using PerToolchainRules = 27 using PerToolchainRules =
(...skipping 14 matching lines...) Expand all
44 42
45 bool WriteToolchains(const PerToolchainRules& per_toolchain_rules, 43 bool WriteToolchains(const PerToolchainRules& per_toolchain_rules,
46 Err* err); 44 Err* err);
47 45
48 const Builder& builder_; 46 const Builder& builder_;
49 47
50 DISALLOW_COPY_AND_ASSIGN(NinjaWriter); 48 DISALLOW_COPY_AND_ASSIGN(NinjaWriter);
51 }; 49 };
52 50
53 #endif // TOOLS_GN_NINJA_WRITER_H_ 51 #endif // TOOLS_GN_NINJA_WRITER_H_
OLDNEW
« no previous file with comments | « tools/gn/ninja_toolchain_writer.h ('k') | tools/gn/scope.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698