Change next_proto member type.
[chromium-blink-merge.git] / tools / gn / tool.cc
blobb549283724c263418b429f56134ac35526199c52
1 // Copyright 2014 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.
5 #include "tools/gn/tool.h"
7 Tool::Tool()
8 : depsformat_(DEPS_GCC),
9 restat_(false),
10 complete_(false) {
13 Tool::~Tool() {
16 void Tool::SetComplete() {
17 DCHECK(!complete_);
18 complete_ = true;
20 command_.FillRequiredTypes(&substitution_bits_);
21 depfile_.FillRequiredTypes(&substitution_bits_);
22 description_.FillRequiredTypes(&substitution_bits_);
23 outputs_.FillRequiredTypes(&substitution_bits_);
24 link_output_.FillRequiredTypes(&substitution_bits_);
25 depend_output_.FillRequiredTypes(&substitution_bits_);
26 rspfile_.FillRequiredTypes(&substitution_bits_);
27 rspfile_content_.FillRequiredTypes(&substitution_bits_);