OLD | NEW |
| (Empty) |
1 #!/usr/bin/env python | |
2 # Copyright 2015 The Chromium Authors. All rights reserved. | |
3 # Use of this source code is governed by a BSD-style license that can be | |
4 # found in the LICENSE file. | |
5 | |
6 import os | |
7 import sys | |
8 | |
9 _CATAPULT = os.path.abspath( | |
10 os.path.join(os.path.dirname(__file__), | |
11 os.path.pardir, os.path.pardir, os.path.pardir)) | |
12 | |
13 | |
14 def _AddToPathIfNeeded(path): | |
15 if path not in sys.path: | |
16 sys.path.insert(0, path) | |
17 | |
18 | |
19 if __name__ == '__main__': | |
20 _AddToPathIfNeeded(_CATAPULT) | |
21 from catapult_build import run_with_typ | |
22 sys.exit(run_with_typ.Run( | |
23 os.path.join(_CATAPULT, 'tracing', 'third_party', 'tvcm'))) | |
24 | |
OLD | NEW |