Chris Sosa | 18fea3f | 2011-03-22 13:15:34 -0700 | [diff] [blame] | 1 | # Copyright (c) 2011 The Chromium OS 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 | |
| 5 | import os |
| 6 | |
| 7 | _TEST_LIB_PATH = os.path.realpath(__file__) |
| 8 | |
Chris Sosa | 85d67ab | 2011-09-29 14:48:27 -0700 | [diff] [blame] | 9 | CROS_PLATFORM_ROOT = os.path.join(os.path.dirname(_TEST_LIB_PATH), '..', '..') |
| 10 | |
Chris Sosa | a404a38 | 2013-08-22 11:28:38 -0700 | [diff] [blame^] | 11 | DEFAULT_CHROOT_DIR = 'chroot' |
| 12 | |
David James | 9d059db | 2012-12-30 10:04:32 -0800 | [diff] [blame] | 13 | SOURCE_ROOT = os.path.realpath(os.path.join( |
| 14 | os.path.dirname(_TEST_LIB_PATH), '..', '..', '..', '..')) |
Chris Sosa | 18fea3f | 2011-03-22 13:15:34 -0700 | [diff] [blame] | 15 | |
David James | 9d059db | 2012-12-30 10:04:32 -0800 | [diff] [blame] | 16 | CROSUTILS_DIR = os.path.join(SOURCE_ROOT, 'src', 'scripts') |
| 17 | |
| 18 | CROSUTILS_LIB_DIR = os.path.join(CROSUTILS_DIR, 'lib') |
David James | 53f9a2e | 2012-12-28 17:33:52 -0800 | [diff] [blame] | 19 | |
| 20 | MAX_TIMEOUT_SECONDS = 2400 |