blob: bb87e332be4f443d46521500a08cfcd8d6938863 [file] [log] [blame]
Chris Sosa18fea3f2011-03-22 13:15:34 -07001# 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
Daniel Wangdec23c12016-01-25 18:15:56 -08005"""Module containing contants to be used across crostestutils."""
6
7from __future__ import print_function
8
Chris Sosa18fea3f2011-03-22 13:15:34 -07009import os
10
11_TEST_LIB_PATH = os.path.realpath(__file__)
12
Chris Sosa85d67ab2011-09-29 14:48:27 -070013CROS_PLATFORM_ROOT = os.path.join(os.path.dirname(_TEST_LIB_PATH), '..', '..')
14
Chris Sosaa404a382013-08-22 11:28:38 -070015DEFAULT_CHROOT_DIR = 'chroot'
16
David James9d059db2012-12-30 10:04:32 -080017SOURCE_ROOT = os.path.realpath(os.path.join(
18 os.path.dirname(_TEST_LIB_PATH), '..', '..', '..', '..'))
Chris Sosa18fea3f2011-03-22 13:15:34 -070019
David James9d059db2012-12-30 10:04:32 -080020CROSUTILS_DIR = os.path.join(SOURCE_ROOT, 'src', 'scripts')
21
22CROSUTILS_LIB_DIR = os.path.join(CROSUTILS_DIR, 'lib')
David James53f9a2e2012-12-28 17:33:52 -080023
Jay Kimcde71292014-03-17 20:29:00 -070024MAX_TIMEOUT_SECONDS = 4800