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

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: unsigned check 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
« no previous file with comments | « tools/gn/tool.h ('k') | tools/gn/toolchain.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 Tool::Tool()
8 : depsformat_(DEPS_GCC),
9 restat_(false),
10 complete_(false) {
11 }
12
13 Tool::~Tool() {
14 }
15
16 void Tool::SetComplete() {
17 DCHECK(!complete_);
18 complete_ = true;
19
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_);
28 }
OLDNEW
« no previous file with comments | « tools/gn/tool.h ('k') | tools/gn/toolchain.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698