| 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_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 "tools/gn/path_output.h" | 15 #include "tools/gn/path_output.h" |
| 15 #include "tools/gn/toolchain.h" | 16 #include "tools/gn/toolchain.h" |
| 16 | 17 |
| 17 class BuildSettings; | 18 class BuildSettings; |
| 18 struct EscapeOptions; | 19 struct EscapeOptions; |
| 19 class Settings; | 20 class Settings; |
| 20 class Target; | 21 class Target; |
| 21 class Tool; | 22 class Tool; |
| 22 | 23 |
| 23 class NinjaToolchainWriter { | 24 class NinjaToolchainWriter { |
| (...skipping 27 matching lines...) Expand all Loading... |
| 51 const Settings* settings_; | 52 const Settings* settings_; |
| 52 const Toolchain* toolchain_; | 53 const Toolchain* toolchain_; |
| 53 std::vector<const Target*> targets_; | 54 std::vector<const Target*> targets_; |
| 54 std::ostream& out_; | 55 std::ostream& out_; |
| 55 PathOutput path_output_; | 56 PathOutput path_output_; |
| 56 | 57 |
| 57 DISALLOW_COPY_AND_ASSIGN(NinjaToolchainWriter); | 58 DISALLOW_COPY_AND_ASSIGN(NinjaToolchainWriter); |
| 58 }; | 59 }; |
| 59 | 60 |
| 60 #endif // TOOLS_GN_NINJA_TOOLCHAIN_WRITER_H_ | 61 #endif // TOOLS_GN_NINJA_TOOLCHAIN_WRITER_H_ |
| OLD | NEW |