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

Unified Diff: third_party/py_vulcanize/py_vulcanize/generate.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: third_party/py_vulcanize/py_vulcanize/generate.py
diff --git a/tracing/third_party/tvcm/tvcm/generate.py b/third_party/py_vulcanize/py_vulcanize/generate.py
similarity index 96%
rename from tracing/third_party/tvcm/tvcm/generate.py
rename to third_party/py_vulcanize/py_vulcanize/generate.py
index cf9c0db7f4546b32fa7427159352de261d2dd7dd..c3e08cbc2b0e733d862ffea9d82dedb46da9713b 100644
--- a/tracing/third_party/tvcm/tvcm/generate.py
+++ b/third_party/py_vulcanize/py_vulcanize/generate.py
@@ -8,7 +8,7 @@ import subprocess
import tempfile
import StringIO
-from tvcm import html_generation_controller
+from py_vulcanize import html_generation_controller
html_warning_message = """
@@ -51,10 +51,10 @@ def _AssertIsUTF8(f):
def _MinifyJS(input_js):
- tvcm_path = os.path.abspath(os.path.join(
+ py_vulcanize_path = os.path.abspath(os.path.join(
os.path.dirname(__file__), '..'))
rjsmin_path = os.path.abspath(
- os.path.join(tvcm_path, 'third_party', 'rjsmin', 'rjsmin.py'))
+ os.path.join(py_vulcanize_path, 'third_party', 'rjsmin', 'rjsmin.py'))
with tempfile.NamedTemporaryFile() as _:
args = [
@@ -176,10 +176,10 @@ class ExtraScript(object):
def _MinifyCSS(css_text):
- tvcm_path = os.path.abspath(os.path.join(
+ py_vulcanize_path = os.path.abspath(os.path.join(
os.path.dirname(__file__), '..'))
rcssmin_path = os.path.abspath(
- os.path.join(tvcm_path, 'third_party', 'rcssmin', 'rcssmin.py'))
+ os.path.join(py_vulcanize_path, 'third_party', 'rcssmin', 'rcssmin.py'))
with tempfile.NamedTemporaryFile() as _:
rcssmin_args = ['python', rcssmin_path]

Powered by Google App Engine
This is Rietveld 408576698