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

Unified Diff: perf_insights/perf_insights_project.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: perf_insights/perf_insights_project.py
diff --git a/perf_insights/perf_insights_project.py b/perf_insights/perf_insights_project.py
index 9505a8b9b0c31878239de1f6adf946ede89888ae..0a01a1d20c69cdd8ee16f97bac2739789652a41f 100644
--- a/perf_insights/perf_insights_project.py
+++ b/perf_insights/perf_insights_project.py
@@ -31,7 +31,7 @@ def UpdateSysPathIfNeeded():
if not _IsRunningInAppEngine():
_AddToPathIfNeeded(p.catapult_path)
_AddToPathIfNeeded(p.tracing_root_path)
- _AddToPathIfNeeded(p.beautifulsoup_path)
+ _AddToPathIfNeeded(p.py_vulcanize_path)
import tracing_project
tracing_project.UpdateSysPathIfNeeded()
@@ -68,30 +68,26 @@ def _IsFilenameATest(x): # pylint: disable=unused-argument
class PerfInsightsProject(object):
- catapult_path = os.path.abspath(
- os.path.join(os.path.dirname(__file__), '..'))
+ catapult_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
perf_insights_root_path = os.path.abspath(
os.path.join(catapult_path, 'perf_insights'))
perf_insights_src_path = os.path.abspath(
- os.path.join(perf_insights_root_path, 'perf_insights'))
+ os.path.join(perf_insights_root_path,'perf_insights'))
perf_insights_ui_path = os.path.abspath(
os.path.join(perf_insights_src_path, 'ui'))
perf_insights_test_data_path = os.path.abspath(
os.path.join(perf_insights_root_path, 'test_data'))
perf_insights_examples_path = os.path.abspath(
os.path.join(perf_insights_root_path, 'perf_insights_examples'))
-
perf_insights_third_party_path = os.path.abspath(
os.path.join(perf_insights_root_path, 'third_party'))
tracing_root_path = os.path.abspath(
os.path.join(catapult_path, 'tracing'))
- beautifulsoup_path = os.path.abspath(
- os.path.join(tracing_root_path, 'third_party', 'tvcm',
- 'third_party', 'beautifulsoup'))
-
+ py_vulcanize_path = os.path.abspath(
+ os.path.join(catapult_path, 'third_party', 'py_vulcanize'))
def __init__(self): # pylint: disable=unused-argument
self._source_paths = None
@@ -121,7 +117,7 @@ class PerfInsightsProject(object):
return None
def CreateVulcanizer(self):
- from tvcm import project as project_module
+ from py_vulcanize import project as project_module
return project_module.Project(self.source_paths)
def IsD8CompatibleFile(self, filename):

Powered by Google App Engine
This is Rietveld 408576698