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

Unified 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: 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 side-by-side diff with in-line comments
Download patch
Index: tools/gn/value_extractors.h
diff --git a/tools/gn/value_extractors.h b/tools/gn/value_extractors.h
index afda1d687883340ec68a995d628bed91896f7ff1..ceea62f4e92d314d3a607f86e97cdf3d9ec5d5c6 100644
--- a/tools/gn/value_extractors.h
+++ b/tools/gn/value_extractors.h
@@ -45,9 +45,15 @@ bool ExtractListOfLabels(const Value& value,
LabelTargetVector* dest,
Err* err);
-// Extracts the list of labels and their origins to the given vector. Only the
-// labels are filled in, the ptr for each pair in the vector will be null. Sets
-// an error and returns false if a label is maformed or there are duplicates.
+// Extracts the list of labels and their origins to the given vector. For the
+// version taking Label*Ptrs, only the labels are filled in, the ptr for each
viettrungluu 2014/08/28 19:47:54 s/Ptr/Pair/ ?
+// pair in the vector will be null. Sets an error and returns false if a label
+// is maformed or there are duplicates.
+bool ExtractListOfUniqueLabels(const Value& value,
+ const SourceDir& current_dir,
+ const Label& current_toolchain,
+ UniqueVector<Label>* dest,
+ Err* err);
bool ExtractListOfUniqueLabels(const Value& value,
const SourceDir& current_dir,
const Label& current_toolchain,

Powered by Google App Engine
This is Rietveld 408576698