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

Side by Side Diff: tools/gn/toolchain.h

Issue 361503003: Rename GN tool's deps to depsformat. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « tools/gn/ninja_toolchain_writer.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #ifndef TOOLS_GN_TOOLCHAIN_H_ 5 #ifndef TOOLS_GN_TOOLCHAIN_H_
6 #define TOOLS_GN_TOOLCHAIN_H_ 6 #define TOOLS_GN_TOOLCHAIN_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/strings/string_piece.h" 9 #include "base/strings/string_piece.h"
10 #include "tools/gn/item.h" 10 #include "tools/gn/item.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 static const char* kToolLink; 54 static const char* kToolLink;
55 static const char* kToolStamp; 55 static const char* kToolStamp;
56 static const char* kToolCopy; 56 static const char* kToolCopy;
57 57
58 struct Tool { 58 struct Tool {
59 Tool(); 59 Tool();
60 ~Tool(); 60 ~Tool();
61 61
62 std::string command; 62 std::string command;
63 std::string depfile; 63 std::string depfile;
64 std::string deps; 64 std::string depsformat;
65 std::string description; 65 std::string description;
66 std::string lib_dir_prefix; 66 std::string lib_dir_prefix;
67 std::string lib_prefix; 67 std::string lib_prefix;
68 std::string pool; 68 std::string pool;
69 std::string restat; 69 std::string restat;
70 std::string rspfile; 70 std::string rspfile;
71 std::string rspfile_content; 71 std::string rspfile_content;
72 }; 72 };
73 73
74 Toolchain(const Settings* settings, const Label& label); 74 Toolchain(const Settings* settings, const Label& label);
(...skipping 22 matching lines...) Expand all
97 const Scope::KeyValueMap& args() const { return args_; } 97 const Scope::KeyValueMap& args() const { return args_; }
98 98
99 private: 99 private:
100 Tool tools_[TYPE_NUMTYPES]; 100 Tool tools_[TYPE_NUMTYPES];
101 101
102 LabelTargetVector deps_; 102 LabelTargetVector deps_;
103 Scope::KeyValueMap args_; 103 Scope::KeyValueMap args_;
104 }; 104 };
105 105
106 #endif // TOOLS_GN_TOOLCHAIN_H_ 106 #endif // TOOLS_GN_TOOLCHAIN_H_
OLDNEW
« no previous file with comments | « tools/gn/ninja_toolchain_writer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698