- add sources.
[platform/framework/web/crosswalk.git] / src / tools / gn / group_target_generator.cc
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 #include "tools/gn/group_target_generator.h"
6
7 GroupTargetGenerator::GroupTargetGenerator(Target* target,
8                                            Scope* scope,
9                                            const Token& function_token,
10                                            Err* err)
11     : TargetGenerator(target, scope, function_token, err) {
12 }
13
14 GroupTargetGenerator::~GroupTargetGenerator() {
15 }
16
17 void GroupTargetGenerator::DoRun() {
18   target_->set_output_type(Target::GROUP);
19   // Groups only have the default types filled in by the target generator
20   // base class.
21   FillExternal();
22 }