| Index: tools/gn/target.h
|
| diff --git a/tools/gn/target.h b/tools/gn/target.h
|
| index 10d3b05dd992ed1be07bb2a0a02248f4205b9793..86b3ffd0686b455f09e6262cb40d44d8b312f267 100644
|
| --- a/tools/gn/target.h
|
| +++ b/tools/gn/target.h
|
| @@ -19,6 +19,7 @@
|
| #include "tools/gn/label_ptr.h"
|
| #include "tools/gn/ordered_set.h"
|
| #include "tools/gn/output_file.h"
|
| +#include "tools/gn/pointer_set.h"
|
| #include "tools/gn/source_file.h"
|
| #include "tools/gn/unique_vector.h"
|
|
|
| @@ -199,7 +200,7 @@ class Target : public Item {
|
| const OrderedSet<SourceDir>& all_lib_dirs() const { return all_lib_dirs_; }
|
| const OrderedSet<std::string>& all_libs() const { return all_libs_; }
|
|
|
| - const std::set<const Target*>& recursive_hard_deps() const {
|
| + const PointerSet<const Target>& recursive_hard_deps() const {
|
| return recursive_hard_deps_;
|
| }
|
|
|
| @@ -244,6 +245,8 @@ class Target : public Item {
|
| return dependency_output_file_;
|
| }
|
|
|
| + bool operator<(const Target& other) const;
|
| +
|
| private:
|
| FRIEND_TEST_ALL_PREFIXES(Target, ResolvePrecompiledHeaders);
|
|
|
| @@ -306,7 +309,7 @@ class Target : public Item {
|
|
|
| // All hard deps from this target and all dependencies. Filled in when this
|
| // target is marked resolved. This will not include the current target.
|
| - std::set<const Target*> recursive_hard_deps_;
|
| + PointerSet<const Target> recursive_hard_deps_;
|
|
|
| // Used for all binary targets. The precompiled header values in this struct
|
| // will be resolved to the ones to use for this target, if precompiled
|
|
|