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

Unified Diff: tools/gn/trace.cc

Issue 1464463003: Reduce the number of worker threads GN uses. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « tools/gn/trace.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/trace.cc
diff --git a/tools/gn/trace.cc b/tools/gn/trace.cc
index c81079311486164f8d81c661f5bd1c0ed7665e12..4746310206f3e1200816313883b4e8e9f7e4de57 100644
--- a/tools/gn/trace.cc
+++ b/tools/gn/trace.cc
@@ -202,6 +202,7 @@ std::string SummarizeTraces() {
case TraceItem::TRACE_FILE_LOAD:
case TraceItem::TRACE_FILE_WRITE:
case TraceItem::TRACE_DEFINE_TARGET:
+ case TraceItem::TRACE_ON_RESOLVED:
break; // Ignore these for the summary.
}
}
@@ -281,6 +282,9 @@ void SaveTraces(const base::FilePath& file_name) {
case TraceItem::TRACE_DEFINE_TARGET:
out << "\"define\"";
break;
+ case TraceItem::TRACE_ON_RESOLVED:
+ out << "\"onresolved\"";
+ break;
case TraceItem::TRACE_CHECK_HEADER:
out << "\"hdr\"";
break;
« no previous file with comments | « tools/gn/trace.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698