| Index: tools/gn/scope.cc
|
| diff --git a/tools/gn/scope.cc b/tools/gn/scope.cc
|
| index 78612f2c64b555c241cd11979231f8e8494f4220..325d0cfde5eb2a8941e1db43d742328ba4d5ba27 100644
|
| --- a/tools/gn/scope.cc
|
| +++ b/tools/gn/scope.cc
|
| @@ -192,6 +192,11 @@ void Scope::GetCurrentScopeValues(KeyValueMap* output) const {
|
| (*output)[i->first] = i->second.value;
|
| }
|
|
|
| +void Scope::GetCurrentScopeKeys(std::vector<base::StringPiece>* output) const {
|
| + for (RecordMap::const_iterator i = values_.begin(); i != values_.end(); ++i)
|
| + output->push_back(i->first);
|
| +}
|
| +
|
| bool Scope::NonRecursiveMergeTo(Scope* dest,
|
| bool clobber_existing,
|
| const ParseNode* node_for_err,
|
|
|