naiveproxy/tools/gn/group_target_generator.cc
2018-01-29 00:30:36 +08:00

26 lines
703 B
C++

// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "tools/gn/group_target_generator.h"
#include "tools/gn/target.h"
#include "tools/gn/variables.h"
GroupTargetGenerator::GroupTargetGenerator(
Target* target,
Scope* scope,
const FunctionCallNode* function_call,
Err* err)
: TargetGenerator(target, scope, function_call, err) {
}
GroupTargetGenerator::~GroupTargetGenerator() {
}
void GroupTargetGenerator::DoRun() {
target_->set_output_type(Target::GROUP);
// Groups only have the default types filled in by the target generator
// base class.
}