| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef TOOLS_GN_NINJA_WRITER_H_ | |
| 6 #define TOOLS_GN_NINJA_WRITER_H_ | |
| 7 | |
| 8 #include "base/basictypes.h" | |
| 9 | |
| 10 class BuildSettings; | |
| 11 | |
| 12 class NinjaWriter { | |
| 13 public: | |
| 14 static bool RunAndWriteFiles(const BuildSettings* build_settings); | |
| 15 | |
| 16 private: | |
| 17 NinjaWriter(const BuildSettings* build_settings); | |
| 18 ~NinjaWriter(); | |
| 19 | |
| 20 bool WriteRootBuildfiles(); | |
| 21 | |
| 22 const BuildSettings* build_settings_; | |
| 23 | |
| 24 DISALLOW_COPY_AND_ASSIGN(NinjaWriter); | |
| 25 }; | |
| 26 | |
| 27 #endif // TOOLS_GN_NINJA_WRITER_H_ | |
| OLD | NEW |