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

Unified Diff: tools/gn/builder.h

Issue 2485523002: gn: Make generation of main build.ninja file deterministic. (Closed)
Patch Set: 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.cc » ('j') | tools/gn/ninja_build_writer.cc » ('J')
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..54453c7ec93c7796bc156da0fb20581ca23b7790 100644
--- a/tools/gn/builder.h
+++ b/tools/gn/builder.h
@@ -130,7 +130,7 @@ class Builder {
Loader* loader_;
// Owning pointers.
- typedef base::hash_map<Label, BuilderRecord*> RecordMap;
+ typedef std::map<Label, BuilderRecord*> RecordMap;
Nico 2016/11/06 22:18:10 Label has an operator<, so just use that ordering.
RecordMap records_;
ResolvedGeneratedCallback resolved_and_generated_callback_;
« no previous file with comments | « no previous file | tools/gn/ninja_build_writer.cc » ('j') | tools/gn/ninja_build_writer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698