146d4c2bc3267f3f028f39e7e311b0f89aba2e4fdTorne (Richard Coles)# Copyright 2014 The Chromium Authors. All rights reserved. 2a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)# Use of this source code is governed by a BSD-style license that can be 3a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)# found in the LICENSE file. 4a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 5a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)from telemetry.core import util 6a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 7a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)# Bring in tvcm module for basic JS components capabilities. 8a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)util.AddDirToPythonPath( 9a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) util.GetChromiumSrcDir(), 10a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 'third_party', 'trace-viewer', 'third_party', 'tvcm') 11a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 12a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)# Bring in trace_viewer module for the UI features that are part of the trace 13a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)# viewer. 14a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)util.AddDirToPythonPath( 15a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) util.GetChromiumSrcDir(), 16a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles) 'third_party', 'trace-viewer') 17