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

Unified Diff: tracing/tracing_build/generate_about_tracing_contents.py

Issue 1376953005: Move tracing/third_party/tvcm -> third_party/py_vulcanize. (Closed) Base URL: git@github.com:catapult-project/catapult.git@master
Patch Set: Created 5 years, 2 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/generate_about_tracing_contents.py
diff --git a/tracing/tracing_build/generate_about_tracing_contents.py b/tracing/tracing_build/generate_about_tracing_contents.py
index a8bca47e7d3747c41745fc23ac84081cacd5e41d..333fca1902170c3e5273f7af5a6740e2183586bc 100644
--- a/tracing/tracing_build/generate_about_tracing_contents.py
+++ b/tracing/tracing_build/generate_about_tracing_contents.py
@@ -7,7 +7,7 @@ import argparse
import os
import sys
-import tvcm
+import py_vulcanize
import tracing_project
@@ -38,13 +38,13 @@ def Main(args):
o = codecs.open(os.path.join(args.out_dir, 'about_tracing.html'), 'w',
encoding='utf-8')
try:
- tvcm.GenerateStandaloneHTMLToFile(
+ py_vulcanize.GenerateStandaloneHTMLToFile(
o,
load_sequence,
title='chrome://tracing',
flattened_js_url='tracing.js',
minify=not args.no_min)
- except tvcm.module.DepsException, ex:
+ except py_vulcanize.module.DepsException, ex:
sys.stderr.write('Error: %s\n\n' % str(ex))
return 255
o.close()
@@ -52,7 +52,7 @@ def Main(args):
o = codecs.open(os.path.join(args.out_dir, 'about_tracing.js'), 'w',
encoding='utf-8')
assert o.encoding == 'utf-8'
- tvcm.GenerateJSToFile(
+ py_vulcanize.GenerateJSToFile(
o,
load_sequence,
use_include_tags_for_scripts=False,

Powered by Google App Engine
This is Rietveld 408576698