1# Copyright (c) 2015 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5import os
6import sys
7
8def _SetupTVCMPath():
9  tvcm_path = os.path.abspath(os.path.join(os.path.dirname(__file__),
10                                           'third_party', 'tvcm'))
11  if tvcm_path not in sys.path:
12    sys.path.append(tvcm_path)
13  vinn_path = os.path.abspath(os.path.join(os.path.dirname(__file__),
14                                           'third_party', 'vinn'))
15  if vinn_path not in sys.path:
16    sys.path.append(vinn_path)
17
18_SetupTVCMPath()
19