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