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

Unified Diff: tracing/tracing_build/trace2html.py

Issue 2267503002: Import polymer in a single place and remove d3 hacks (Closed) Base URL: https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git@master
Patch Set: Created 4 years, 4 months 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: tracing/tracing_build/trace2html.py
diff --git a/tracing/tracing_build/trace2html.py b/tracing/tracing_build/trace2html.py
index 739ffda2dfe069ef64fd84a6a0ff85770bf86aa1..96006b247cf0c8900281329986251ae0b6c90fb4 100644
--- a/tracing/tracing_build/trace2html.py
+++ b/tracing/tracing_build/trace2html.py
@@ -81,13 +81,9 @@ def WriteHTMLForTraceDataToFile(trace_data_list,
config_name = project.GetDefaultConfigName()
modules = [
- # Import the config before trace2html. We do this because the UI has some
- # global initialization (e.g. Polymer, d3) that can be finnicky about the
- # order in which things happen.
+ 'tracing.trace2html',
project.GetModuleNameForConfigName(config_name),
- 'tracing.trace2html'
]
-
vulcanizer = project.CreateVulcanizer()
load_sequence = vulcanizer.CalcLoadSequenceForModuleNames(modules)

Powered by Google App Engine
This is Rietveld 408576698