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

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

Issue 1606553002: Add support for Mac/iOS application bundles to GN tool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add unit tests & support for bundle_data_filter Created 4 years, 11 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 26 matching lines...) Expand all
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_SOLINK_MODULE,
44 TYPE_LINK, 44 TYPE_LINK,
45 TYPE_STAMP, 45 TYPE_STAMP,
46 TYPE_COPY, 46 TYPE_COPY,
47 TYPE_COPY_BUNDLE_DATA,
47 48
48 TYPE_NUMTYPES // Must be last. 49 TYPE_NUMTYPES // Must be last.
49 }; 50 };
50 51
51 static const char* kToolCc; 52 static const char* kToolCc;
52 static const char* kToolCxx; 53 static const char* kToolCxx;
53 static const char* kToolObjC; 54 static const char* kToolObjC;
54 static const char* kToolObjCxx; 55 static const char* kToolObjCxx;
55 static const char* kToolRc; 56 static const char* kToolRc;
56 static const char* kToolAsm; 57 static const char* kToolAsm;
57 static const char* kToolAlink; 58 static const char* kToolAlink;
58 static const char* kToolSolink; 59 static const char* kToolSolink;
59 static const char* kToolSolinkModule; 60 static const char* kToolSolinkModule;
60 static const char* kToolLink; 61 static const char* kToolLink;
61 static const char* kToolStamp; 62 static const char* kToolStamp;
62 static const char* kToolCopy; 63 static const char* kToolCopy;
64 static const char* kToolCopyBundleData;
63 65
64 Toolchain(const Settings* settings, const Label& label); 66 Toolchain(const Settings* settings, const Label& label);
65 ~Toolchain() override; 67 ~Toolchain() override;
66 68
67 // Item overrides. 69 // Item overrides.
68 Toolchain* AsToolchain() override; 70 Toolchain* AsToolchain() override;
69 const Toolchain* AsToolchain() const override; 71 const Toolchain* AsToolchain() const override;
70 72
71 // Returns TYPE_NONE on failure. 73 // Returns TYPE_NONE on failure.
72 static ToolType ToolNameToType(const base::StringPiece& str); 74 static ToolType ToolNameToType(const base::StringPiece& str);
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 bool setup_complete_; 124 bool setup_complete_;
123 125
124 // Substitutions used by the tools in this toolchain. 126 // Substitutions used by the tools in this toolchain.
125 SubstitutionBits substitution_bits_; 127 SubstitutionBits substitution_bits_;
126 128
127 LabelTargetVector deps_; 129 LabelTargetVector deps_;
128 Scope::KeyValueMap args_; 130 Scope::KeyValueMap args_;
129 }; 131 };
130 132
131 #endif // TOOLS_GN_TOOLCHAIN_H_ 133 #endif // TOOLS_GN_TOOLCHAIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698