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

Unified Diff: tools/gn/commands.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/commands.cc
diff --git a/tools/gn/commands.cc b/tools/gn/commands.cc
index ed7a009d6af2c6f7a866d7d82e753b701d07760e..2087136cb0fe4138656d564493ce394924251209 100644
--- a/tools/gn/commands.cc
+++ b/tools/gn/commands.cc
@@ -6,6 +6,7 @@
#include "base/command_line.h"
#include "tools/gn/builder.h"
+#include "tools/gn/dereference_comparator.h"
#include "tools/gn/filesystem_utils.h"
#include "tools/gn/item.h"
#include "tools/gn/label.h"
@@ -494,7 +495,7 @@ void FilterAndPrintTargets(bool indent, std::vector<const Target*>* targets) {
}
void FilterAndPrintTargetSet(bool indent,
- const std::set<const Target*>& targets) {
+ const PointerSet<const Target>& targets) {
std::vector<const Target*> target_vector(targets.begin(), targets.end());
FilterAndPrintTargets(indent, &target_vector);
}

Powered by Google App Engine
This is Rietveld 408576698