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

Unified Diff: tools/gn/commands.h

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.h
diff --git a/tools/gn/commands.h b/tools/gn/commands.h
index ca4b0f2168b7778690a5b07317423d159e1cbffe..e0f6a66c08f4ed9b1fc1c1e860ca12e49c61f617 100644
--- a/tools/gn/commands.h
+++ b/tools/gn/commands.h
@@ -11,6 +11,7 @@
#include <vector>
#include "base/strings/string_piece.h"
+#include "tools/gn/dereference_comparator.h"
#include "tools/gn/target.h"
#include "tools/gn/unique_vector.h"
@@ -174,7 +175,7 @@ void FilterTargetsByPatterns(const std::vector<const Target*>& input,
// The vector will be modified so that only the printed targets will remain.
void FilterAndPrintTargets(bool indent, std::vector<const Target*>* targets);
void FilterAndPrintTargetSet(bool indent,
- const std::set<const Target*>& targets);
+ const PointerSet<const Target>& targets);
} // namespace commands

Powered by Google App Engine
This is Rietveld 408576698