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

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

Issue 2926013002: Support explicit pools in actions (Closed)
Patch Set: Support explicit pools in actions Created 3 years, 6 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
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 <memory> 8 #include <memory>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 29 matching lines...) Expand all
40 TYPE_RC, 40 TYPE_RC,
41 TYPE_ASM, 41 TYPE_ASM,
42 TYPE_ALINK, 42 TYPE_ALINK,
43 TYPE_SOLINK, 43 TYPE_SOLINK,
44 TYPE_SOLINK_MODULE, 44 TYPE_SOLINK_MODULE,
45 TYPE_LINK, 45 TYPE_LINK,
46 TYPE_STAMP, 46 TYPE_STAMP,
47 TYPE_COPY, 47 TYPE_COPY,
48 TYPE_COPY_BUNDLE_DATA, 48 TYPE_COPY_BUNDLE_DATA,
49 TYPE_COMPILE_XCASSETS, 49 TYPE_COMPILE_XCASSETS,
50 TYPE_ACTION,
50 51
51 TYPE_NUMTYPES // Must be last. 52 TYPE_NUMTYPES // Must be last.
52 }; 53 };
53 54
54 static const char* kToolCc; 55 static const char* kToolCc;
55 static const char* kToolCxx; 56 static const char* kToolCxx;
56 static const char* kToolObjC; 57 static const char* kToolObjC;
57 static const char* kToolObjCxx; 58 static const char* kToolObjCxx;
58 static const char* kToolRc; 59 static const char* kToolRc;
59 static const char* kToolAsm; 60 static const char* kToolAsm;
60 static const char* kToolAlink; 61 static const char* kToolAlink;
61 static const char* kToolSolink; 62 static const char* kToolSolink;
62 static const char* kToolSolinkModule; 63 static const char* kToolSolinkModule;
63 static const char* kToolLink; 64 static const char* kToolLink;
64 static const char* kToolStamp; 65 static const char* kToolStamp;
65 static const char* kToolCopy; 66 static const char* kToolCopy;
66 static const char* kToolCopyBundleData; 67 static const char* kToolCopyBundleData;
67 static const char* kToolCompileXCAssets; 68 static const char* kToolCompileXCAssets;
69 static const char* kToolAction;
68 70
69 // The Settings of an Item is always the context in which the Item was 71 // The Settings of an Item is always the context in which the Item was
70 // defined. For a toolchain this is confusing because this is NOT the 72 // defined. For a toolchain this is confusing because this is NOT the
71 // settings object that applies to the things in the toolchain. 73 // settings object that applies to the things in the toolchain.
72 // 74 //
73 // To get the Settings object corresponding to objects loaded in the context 75 // To get the Settings object corresponding to objects loaded in the context
74 // of this toolchain (probably what you want instead), see 76 // of this toolchain (probably what you want instead), see
75 // Loader::GetToolchainSettings(). Many toolchain objects may be created in a 77 // Loader::GetToolchainSettings(). Many toolchain objects may be created in a
76 // given build, but only a few might be used, and the Loader is in charge of 78 // given build, but only a few might be used, and the Loader is in charge of
77 // this process. 79 // this process.
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 bool setup_complete_; 132 bool setup_complete_;
131 133
132 // Substitutions used by the tools in this toolchain. 134 // Substitutions used by the tools in this toolchain.
133 SubstitutionBits substitution_bits_; 135 SubstitutionBits substitution_bits_;
134 136
135 LabelTargetVector deps_; 137 LabelTargetVector deps_;
136 Scope::KeyValueMap args_; 138 Scope::KeyValueMap args_;
137 }; 139 };
138 140
139 #endif // TOOLS_GN_TOOLCHAIN_H_ 141 #endif // TOOLS_GN_TOOLCHAIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698