• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
GroupTargetGenerator(Target * target,Scope * scope,const FunctionCallNode * function_call,Err * err)7 GroupTargetGenerator::GroupTargetGenerator(
8     Target* target,
9     Scope* scope,
10     const FunctionCallNode* function_call,
11     Err* err)
12     : TargetGenerator(target, scope, function_call, err) {
13 }
14 
~GroupTargetGenerator()15 GroupTargetGenerator::~GroupTargetGenerator() {
16 }
17 
DoRun()18 void GroupTargetGenerator::DoRun() {
19   target_->set_output_type(Target::GROUP);
20   // Groups only have the default types filled in by the target generator
21   // base class.
22 }
23