def UpdateSysPathIfNeeded(): p = DashboardProject() _AddToPathIfNeeded(p.catapult_third_party_path) _AddToPathIfNeeded(p.catapult_path) _AddToPathIfNeeded(p.tracing_root_path) import tracing_project tracing_project.UpdateSysPathIfNeeded()
def UpdateSysPathIfNeeded(): p = LighthouseProject() _AddToPathIfNeeded(p.lighthouse_third_party_path) _AddToPathIfNeeded(p.catapult_path) _AddToPathIfNeeded(p.tracing_root_path) _AddToPathIfNeeded(p.py_vulcanize_path) import tracing_project tracing_project.UpdateSysPathIfNeeded()
def UpdateSysPathIfNeeded(): p = PerfInsightsProject() _AddToPathIfNeeded(p.perf_insights_third_party_path) # TODO(fmeawad): We should add catapult projects even inside # appengine, see issue #1246 if not _IsRunningInAppEngine(): _AddToPathIfNeeded(p.catapult_path) _AddToPathIfNeeded(p.tracing_root_path) import tracing_project tracing_project.UpdateSysPathIfNeeded()
# Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # import tracing_project tracing_project.UpdateSysPathIfNeeded()