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

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

Issue 516683002: Add GN variables for controlling header checking. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@desc
Patch Set: merge Created 6 years, 3 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
« no previous file with comments | « tools/gn/target.cc ('k') | tools/gn/value_extractors.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 (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_VALUE_EXTRACTORS_H_ 5 #ifndef TOOLS_GN_VALUE_EXTRACTORS_H_
6 #define TOOLS_GN_VALUE_EXTRACTORS_H_ 6 #define TOOLS_GN_VALUE_EXTRACTORS_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 27 matching lines...) Expand all
38 Err* err); 38 Err* err);
39 39
40 // Extracts the list of labels and their origins to the given vector. Only the 40 // Extracts the list of labels and their origins to the given vector. Only the
41 // labels are filled in, the ptr for each pair in the vector will be null. 41 // labels are filled in, the ptr for each pair in the vector will be null.
42 bool ExtractListOfLabels(const Value& value, 42 bool ExtractListOfLabels(const Value& value,
43 const SourceDir& current_dir, 43 const SourceDir& current_dir,
44 const Label& current_toolchain, 44 const Label& current_toolchain,
45 LabelTargetVector* dest, 45 LabelTargetVector* dest,
46 Err* err); 46 Err* err);
47 47
48 // Extracts the list of labels and their origins to the given vector. Only the 48 // Extracts the list of labels and their origins to the given vector. For the
49 // labels are filled in, the ptr for each pair in the vector will be null. Sets 49 // version taking Label*Pair, only the labels are filled in, the ptr for each
50 // an error and returns false if a label is maformed or there are duplicates. 50 // pair in the vector will be null. Sets an error and returns false if a label
51 // is maformed or there are duplicates.
51 bool ExtractListOfUniqueLabels(const Value& value, 52 bool ExtractListOfUniqueLabels(const Value& value,
52 const SourceDir& current_dir, 53 const SourceDir& current_dir,
53 const Label& current_toolchain, 54 const Label& current_toolchain,
55 UniqueVector<Label>* dest,
56 Err* err);
57 bool ExtractListOfUniqueLabels(const Value& value,
58 const SourceDir& current_dir,
59 const Label& current_toolchain,
54 UniqueVector<LabelConfigPair>* dest, 60 UniqueVector<LabelConfigPair>* dest,
55 Err* err); 61 Err* err);
56 bool ExtractListOfUniqueLabels(const Value& value, 62 bool ExtractListOfUniqueLabels(const Value& value,
57 const SourceDir& current_dir, 63 const SourceDir& current_dir,
58 const Label& current_toolchain, 64 const Label& current_toolchain,
59 UniqueVector<LabelTargetPair>* dest, 65 UniqueVector<LabelTargetPair>* dest,
60 Err* err); 66 Err* err);
61 67
62 bool ExtractRelativeFile(const BuildSettings* build_settings, 68 bool ExtractRelativeFile(const BuildSettings* build_settings,
63 const Value& value, 69 const Value& value,
64 const SourceDir& current_dir, 70 const SourceDir& current_dir,
65 SourceFile* file, 71 SourceFile* file,
66 Err* err); 72 Err* err);
67 73
68 #endif // TOOLS_GN_VALUE_EXTRACTORS_H_ 74 #endif // TOOLS_GN_VALUE_EXTRACTORS_H_
OLDNEW
« no previous file with comments | « tools/gn/target.cc ('k') | tools/gn/value_extractors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698