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.
5 #ifndef TOOLS_GN_NINJA_GROUP_TARGET_WRITER_H_
6 #define TOOLS_GN_NINJA_GROUP_TARGET_WRITER_H_
8 #include "base/compiler_specific.h"
9 #include "tools/gn/ninja_target_writer.h"
11 // Writes a .ninja file for a group target type.
12 class NinjaGroupTargetWriter : public NinjaTargetWriter {
14 NinjaGroupTargetWriter(const Target* target,
15 const Toolchain* toolchain,
17 virtual ~NinjaGroupTargetWriter();
19 virtual void Run() OVERRIDE;
22 DISALLOW_COPY_AND_ASSIGN(NinjaGroupTargetWriter);
25 #endif // TOOLS_GN_NINJA_GROUP_TARGET_WRITER_H_