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

Unified Diff: tools/gn/command_refs.cc

Issue 1494883002: GN: Makes GN output deterministic (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moves sort into ninja_toolchain_writer.cc for consistency Created 5 years 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/command_refs.cc
diff --git a/tools/gn/command_refs.cc b/tools/gn/command_refs.cc
index 742b43b350338652429fdd0fad767718ed6fb877..03ee420028bda82516e2c0eac47595646721e8ed 100644
--- a/tools/gn/command_refs.cc
+++ b/tools/gn/command_refs.cc
@@ -10,6 +10,7 @@
#include "base/strings/string_split.h"
#include "tools/gn/commands.h"
#include "tools/gn/deps_iterator.h"
+#include "tools/gn/dereference_comparator.h"
#include "tools/gn/filesystem_utils.h"
#include "tools/gn/input_file.h"
#include "tools/gn/item.h"
@@ -21,7 +22,7 @@ namespace commands {
namespace {
-typedef std::set<const Target*> TargetSet;
+typedef PointerSet<const Target> TargetSet;
typedef std::vector<const Target*> TargetVector;
// Maps targets to the list of targets that depend on them.
« no previous file with comments | « tools/gn/command_desc.cc ('k') | tools/gn/commands.h » ('j') | tools/gn/dereference_comparator.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698