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

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

Issue 1386783003: [GN]: Support for loadable modules (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 "base/logging.h" 8 #include "base/logging.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/strings/string_piece.h" 10 #include "base/strings/string_piece.h"
(...skipping 22 matching lines...) Expand all
33 enum ToolType { 33 enum ToolType {
34 TYPE_NONE = 0, 34 TYPE_NONE = 0,
35 TYPE_CC, 35 TYPE_CC,
36 TYPE_CXX, 36 TYPE_CXX,
37 TYPE_OBJC, 37 TYPE_OBJC,
38 TYPE_OBJCXX, 38 TYPE_OBJCXX,
39 TYPE_RC, 39 TYPE_RC,
40 TYPE_ASM, 40 TYPE_ASM,
41 TYPE_ALINK, 41 TYPE_ALINK,
42 TYPE_SOLINK, 42 TYPE_SOLINK,
43 TYPE_SOLINK_MODULE,
43 TYPE_LINK, 44 TYPE_LINK,
44 TYPE_STAMP, 45 TYPE_STAMP,
45 TYPE_COPY, 46 TYPE_COPY,
46 47
47 TYPE_NUMTYPES // Must be last. 48 TYPE_NUMTYPES // Must be last.
48 }; 49 };
49 50
50 static const char* kToolCc; 51 static const char* kToolCc;
51 static const char* kToolCxx; 52 static const char* kToolCxx;
52 static const char* kToolObjC; 53 static const char* kToolObjC;
53 static const char* kToolObjCxx; 54 static const char* kToolObjCxx;
54 static const char* kToolRc; 55 static const char* kToolRc;
55 static const char* kToolAsm; 56 static const char* kToolAsm;
56 static const char* kToolAlink; 57 static const char* kToolAlink;
57 static const char* kToolSolink; 58 static const char* kToolSolink;
59 static const char* kToolSolinkModule;
58 static const char* kToolLink; 60 static const char* kToolLink;
59 static const char* kToolStamp; 61 static const char* kToolStamp;
60 static const char* kToolCopy; 62 static const char* kToolCopy;
61 63
62 Toolchain(const Settings* settings, const Label& label); 64 Toolchain(const Settings* settings, const Label& label);
63 ~Toolchain() override; 65 ~Toolchain() override;
64 66
65 // Item overrides. 67 // Item overrides.
66 Toolchain* AsToolchain() override; 68 Toolchain* AsToolchain() override;
67 const Toolchain* AsToolchain() const override; 69 const Toolchain* AsToolchain() const override;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 bool setup_complete_; 122 bool setup_complete_;
121 123
122 // Substitutions used by the tools in this toolchain. 124 // Substitutions used by the tools in this toolchain.
123 SubstitutionBits substitution_bits_; 125 SubstitutionBits substitution_bits_;
124 126
125 LabelTargetVector deps_; 127 LabelTargetVector deps_;
126 Scope::KeyValueMap args_; 128 Scope::KeyValueMap args_;
127 }; 129 };
128 130
129 #endif // TOOLS_GN_TOOLCHAIN_H_ 131 #endif // TOOLS_GN_TOOLCHAIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698