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

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

Issue 22290010: Add support for data deps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove switch Created 7 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_target_writer.cc ('k') | tools/gn/ninja_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_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 "base/basictypes.h" 8 #include "base/basictypes.h"
9 9
10 class BuildSettings; 10 class BuildSettings;
11 11
12 class NinjaWriter { 12 class NinjaWriter {
13 public: 13 public:
14 // On failure will print an error and will return false.
14 static bool RunAndWriteFiles(const BuildSettings* build_settings); 15 static bool RunAndWriteFiles(const BuildSettings* build_settings);
15 16
16 private: 17 private:
17 NinjaWriter(const BuildSettings* build_settings); 18 NinjaWriter(const BuildSettings* build_settings);
18 ~NinjaWriter(); 19 ~NinjaWriter();
19 20
20 bool WriteRootBuildfiles(); 21 bool WriteRootBuildfiles();
21 22
22 const BuildSettings* build_settings_; 23 const BuildSettings* build_settings_;
23 24
24 DISALLOW_COPY_AND_ASSIGN(NinjaWriter); 25 DISALLOW_COPY_AND_ASSIGN(NinjaWriter);
25 }; 26 };
26 27
27 #endif // TOOLS_GN_NINJA_WRITER_H_ 28 #endif // TOOLS_GN_NINJA_WRITER_H_
OLDNEW
« no previous file with comments | « tools/gn/ninja_target_writer.cc ('k') | tools/gn/ninja_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698