| OLD | NEW |
| 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 <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/macros.h" |
| 13 | 13 |
| 14 class Builder; | 14 class Builder; |
| 15 class BuildSettings; | 15 class BuildSettings; |
| 16 class Err; | 16 class Err; |
| 17 class Settings; | 17 class Settings; |
| 18 class Target; | 18 class Target; |
| 19 | 19 |
| 20 class NinjaWriter { | 20 class NinjaWriter { |
| 21 public: | 21 public: |
| 22 // On failure will populate |err| and will return false. | 22 // On failure will populate |err| and will return false. |
| (...skipping 21 matching lines...) Expand all Loading... |
| 44 const std::vector<const Target*>& default_targets, | 44 const std::vector<const Target*>& default_targets, |
| 45 Err* err); | 45 Err* err); |
| 46 | 46 |
| 47 const BuildSettings* build_settings_; | 47 const BuildSettings* build_settings_; |
| 48 Builder* builder_; | 48 Builder* builder_; |
| 49 | 49 |
| 50 DISALLOW_COPY_AND_ASSIGN(NinjaWriter); | 50 DISALLOW_COPY_AND_ASSIGN(NinjaWriter); |
| 51 }; | 51 }; |
| 52 | 52 |
| 53 #endif // TOOLS_GN_NINJA_WRITER_H_ | 53 #endif // TOOLS_GN_NINJA_WRITER_H_ |
| OLD | NEW |