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, |