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

Unified Diff: third_party/py_vulcanize/py_vulcanize/parse_html_deps.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/parse_html_deps.py
diff --git a/tracing/third_party/tvcm/tvcm/parse_html_deps.py b/third_party/py_vulcanize/py_vulcanize/parse_html_deps.py
similarity index 95%
rename from tracing/third_party/tvcm/tvcm/parse_html_deps.py
rename to third_party/py_vulcanize/py_vulcanize/parse_html_deps.py
index 8866ba18ab2dc02a56e89eda6c566fc244eec7bf..b75e06f96e905474bcf659f7c1ef0245eacb9d9d 100644
--- a/tracing/third_party/tvcm/tvcm/parse_html_deps.py
+++ b/third_party/py_vulcanize/py_vulcanize/parse_html_deps.py
@@ -5,9 +5,9 @@
import os
import sys
-from tvcm import module
-from tvcm import strip_js_comments
-from tvcm import html_generation_controller
+from py_vulcanize import module
+from py_vulcanize import strip_js_comments
+from py_vulcanize import html_generation_controller
def _AddToPathIfNeeded(path):
@@ -16,8 +16,9 @@ def _AddToPathIfNeeded(path):
def _InitBeautifulSoup():
- catapult_path = os.path.abspath(os.path.join(os.path.dirname(__file__),
- '..', '..', '..', '..'))
+ catapult_path = os.path.abspath(
+ os.path.join(os.path.dirname(__file__),
+ os.path.pardir, os.path.pardir, os.path.pardir))
bs_path = os.path.join(catapult_path, 'third_party', 'beautifulsoup4')
_AddToPathIfNeeded(bs_path)
@@ -28,6 +29,7 @@ def _InitBeautifulSoup():
_InitBeautifulSoup()
import bs4
+
class InlineScript(object):
def __init__(self, soup):
if not soup:

Powered by Google App Engine
This is Rietveld 408576698