Index: tools/gn/value_extractors.h |
diff --git a/tools/gn/value_extractors.h b/tools/gn/value_extractors.h |
index afda1d687883340ec68a995d628bed91896f7ff1..2482ba25bf2b3a82e19d6adc29585eb5fe6f67ed 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*Pair, 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. |
+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, |