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

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

Issue 440333002: Support more configurability in GN toolchains (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: unsigned check Created 6 years, 4 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/string_utils.cc ('k') | tools/gn/substitution_list.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 #ifndef TOOLS_GN_SUBSTUTITION_LIST_H 5 #ifndef TOOLS_GN_SUBSTUTITION_LIST_H
6 #define TOOLS_GN_SUBSTUTITION_LIST_H 6 #define TOOLS_GN_SUBSTUTITION_LIST_H
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 17 matching lines...) Expand all
28 const char* c = NULL); 28 const char* c = NULL);
29 29
30 const std::vector<SubstitutionPattern>& list() const { return list_; } 30 const std::vector<SubstitutionPattern>& list() const { return list_; }
31 31
32 // Returns a list of all substitution types used by the patterns in thist 32 // Returns a list of all substitution types used by the patterns in thist
33 // list, with the exception of LITERAL. 33 // list, with the exception of LITERAL.
34 const std::vector<SubstitutionType>& required_types() const { 34 const std::vector<SubstitutionType>& required_types() const {
35 return required_types_; 35 return required_types_;
36 } 36 }
37 37
38 void FillRequiredTypes(SubstitutionBits* bits) const;
39
38 private: 40 private:
39 void FillRequiredTypes();
40
41 std::vector<SubstitutionPattern> list_; 41 std::vector<SubstitutionPattern> list_;
42 42
43 std::vector<SubstitutionType> required_types_; 43 std::vector<SubstitutionType> required_types_;
44 }; 44 };
45 45
46 #endif // TOOLS_GN_SUBSTUTITION_LIST_H 46 #endif // TOOLS_GN_SUBSTUTITION_LIST_H
OLDNEW
« no previous file with comments | « tools/gn/string_utils.cc ('k') | tools/gn/substitution_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698