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

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: 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..7513edaf59ac1c97ac290d248a942299cdb0d32c 100644
--- a/tools/gn/commands.cc
+++ b/tools/gn/commands.cc
@@ -10,6 +10,7 @@
#include "tools/gn/item.h"
#include "tools/gn/label.h"
#include "tools/gn/label_pattern.h"
+#include "tools/gn/pointer_set.h"
#include "tools/gn/setup.h"
#include "tools/gn/standard_out.h"
#include "tools/gn/target.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