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

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

Issue 1207903002: Windows precompiled header support in GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Scott's grammar nits Created 5 years, 5 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
« no previous file with comments | « tools/gn/tool.h ('k') | tools/gn/toolchain.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "tools/gn/tool.h" 5 #include "tools/gn/tool.h"
6 6
7 Tool::Tool() 7 Tool::Tool()
8 : depsformat_(DEPS_GCC), 8 : depsformat_(DEPS_GCC),
9 precompiled_header_type_(PCH_NONE),
9 restat_(false), 10 restat_(false),
10 complete_(false) { 11 complete_(false) {
11 } 12 }
12 13
13 Tool::~Tool() { 14 Tool::~Tool() {
14 } 15 }
15 16
16 void Tool::SetComplete() { 17 void Tool::SetComplete() {
17 DCHECK(!complete_); 18 DCHECK(!complete_);
18 complete_ = true; 19 complete_ = true;
19 20
20 command_.FillRequiredTypes(&substitution_bits_); 21 command_.FillRequiredTypes(&substitution_bits_);
21 depfile_.FillRequiredTypes(&substitution_bits_); 22 depfile_.FillRequiredTypes(&substitution_bits_);
22 description_.FillRequiredTypes(&substitution_bits_); 23 description_.FillRequiredTypes(&substitution_bits_);
23 outputs_.FillRequiredTypes(&substitution_bits_); 24 outputs_.FillRequiredTypes(&substitution_bits_);
24 link_output_.FillRequiredTypes(&substitution_bits_); 25 link_output_.FillRequiredTypes(&substitution_bits_);
25 depend_output_.FillRequiredTypes(&substitution_bits_); 26 depend_output_.FillRequiredTypes(&substitution_bits_);
26 rspfile_.FillRequiredTypes(&substitution_bits_); 27 rspfile_.FillRequiredTypes(&substitution_bits_);
27 rspfile_content_.FillRequiredTypes(&substitution_bits_); 28 rspfile_content_.FillRequiredTypes(&substitution_bits_);
28 } 29 }
OLDNEW
« no previous file with comments | « tools/gn/tool.h ('k') | tools/gn/toolchain.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698