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

Unified Diff: tools/gn/builder.h

Issue 2485523002: gn: Make generation of main build.ninja file deterministic. (Closed)
Patch Set: linux Created 4 years, 1 month 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
« no previous file with comments | « no previous file | tools/gn/ninja_build_writer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/builder.h
diff --git a/tools/gn/builder.h b/tools/gn/builder.h
index c8b54c9fb1637a06a4e7cd4a5bd6dcac9031fb4a..573d8eda9cb5227e3e43a8b9ec159e3dec19f552 100644
--- a/tools/gn/builder.h
+++ b/tools/gn/builder.h
@@ -5,8 +5,9 @@
#ifndef TOOLS_GN_BUILDER_H_
#define TOOLS_GN_BUILDER_H_
+#include <map>
+
#include "base/callback.h"
-#include "base/containers/hash_tables.h"
#include "base/macros.h"
#include "tools/gn/builder_record.h"
#include "tools/gn/label.h"
@@ -130,7 +131,7 @@ class Builder {
Loader* loader_;
// Owning pointers.
- typedef base::hash_map<Label, BuilderRecord*> RecordMap;
+ typedef std::map<Label, BuilderRecord*> RecordMap;
RecordMap records_;
ResolvedGeneratedCallback resolved_and_generated_callback_;
« no previous file with comments | « no previous file | tools/gn/ninja_build_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698