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

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

Issue 440333002: Support more configurability in GN toolchains (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: unsigned check Created 6 years, 4 months 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 | Annotate | Revision Log
« no previous file with comments | « tools/gn/ninja_copy_target_writer_unittest.cc ('k') | tools/gn/ninja_group_target_writer.cc » ('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_GROUP_TARGET_WRITER_H_ 5 #ifndef TOOLS_GN_NINJA_GROUP_TARGET_WRITER_H_
6 #define TOOLS_GN_NINJA_GROUP_TARGET_WRITER_H_ 6 #define TOOLS_GN_NINJA_GROUP_TARGET_WRITER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "tools/gn/ninja_target_writer.h" 9 #include "tools/gn/ninja_target_writer.h"
10 10
11 // Writes a .ninja file for a group target type. 11 // Writes a .ninja file for a group target type.
12 class NinjaGroupTargetWriter : public NinjaTargetWriter { 12 class NinjaGroupTargetWriter : public NinjaTargetWriter {
13 public: 13 public:
14 NinjaGroupTargetWriter(const Target* target, 14 NinjaGroupTargetWriter(const Target* target, std::ostream& out);
15 const Toolchain* toolchain,
16 std::ostream& out);
17 virtual ~NinjaGroupTargetWriter(); 15 virtual ~NinjaGroupTargetWriter();
18 16
19 virtual void Run() OVERRIDE; 17 virtual void Run() OVERRIDE;
20 18
21 private: 19 private:
22 DISALLOW_COPY_AND_ASSIGN(NinjaGroupTargetWriter); 20 DISALLOW_COPY_AND_ASSIGN(NinjaGroupTargetWriter);
23 }; 21 };
24 22
25 #endif // TOOLS_GN_NINJA_GROUP_TARGET_WRITER_H_ 23 #endif // TOOLS_GN_NINJA_GROUP_TARGET_WRITER_H_
OLDNEW
« no previous file with comments | « tools/gn/ninja_copy_target_writer_unittest.cc ('k') | tools/gn/ninja_group_target_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698