Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(208)

Side by Side Diff: tools/gn/tool.cc

Issue 440333002: Support more configurability in GN toolchains (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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.
4
5 #include "tools/gn/tool.h"
6
7 #include <string.h>
jamesr 2014/08/19 19:30:42 not used
8
9 Tool::Tool()
10 : depsformat_(DEPS_GCC),
11 restat_(false),
12 complete_(false) {
13 }
14
15 Tool::~Tool() {
16 }
17
18 void Tool::SetComplete() {
19 DCHECK(!complete_);
20 complete_ = true;
21
22 command_.FillRequiredTypes(&substitution_bits_);
23 depfile_.FillRequiredTypes(&substitution_bits_);
24 description_.FillRequiredTypes(&substitution_bits_);
25 outputs_.FillRequiredTypes(&substitution_bits_);
26 link_output_.FillRequiredTypes(&substitution_bits_);
27 depend_output_.FillRequiredTypes(&substitution_bits_);
28 rspfile_.FillRequiredTypes(&substitution_bits_);
29 rspfile_content_.FillRequiredTypes(&substitution_bits_);
30 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698