blob: 0a4631fc95be842627a99cb9b12f76593ea2fcc1 [file]
// 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 "gn/group_target_generator.h"
#include "gn/target.h"
#include "gn/variables.h"
GroupTargetGenerator::GroupTargetGenerator(
Target* target,
Scope* scope,
const FunctionCallNode* function_call,
Err* err)
: TargetGenerator(target, scope, function_call, err) {}
GroupTargetGenerator::~GroupTargetGenerator() = default;
void GroupTargetGenerator::DoRun() {
target_->set_output_type(Target::GROUP);
if (!FillPublicInputs())
return;
}