OLD | NEW |
| (Empty) |
1 #!/usr/bin/python | |
2 | |
3 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
4 # Use of this source code is governed by a BSD-style license that can be | |
5 # found in the LICENSE file. | |
6 | |
7 import os | |
8 | |
9 | |
10 def _SetupPaths(): | |
11 global SRC_THIRD_PARTY, PYTHON_BINDINGS, WEBDRIVER_TEST_DATA | |
12 start_dir = os.path.abspath(os.path.dirname(__file__)) | |
13 J = os.path.join | |
14 SRC_THIRD_PARTY = J(start_dir, os.pardir, os.pardir, os.pardir, 'third_party') | |
15 webdriver = J(SRC_THIRD_PARTY, 'webdriver') | |
16 PYTHON_BINDINGS = J(webdriver, 'python') | |
17 WEBDRIVER_TEST_DATA = J(webdriver, 'test_data') | |
18 | |
19 _SetupPaths() | |
OLD | NEW |