blob: 25c4866bc43c2848c2ee295fdbca05e1803f586d [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
Mike Frysinger8ea7f0b2018-10-12 02:43:50 -040013CROSTESTUTILS_DIR = os.path.dirname(_TEST_LIB_PATH)
14
15CROS_PLATFORM_ROOT = os.path.join(CROSTESTUTILS_DIR, '..', '..')
Chris Sosa85d67ab2011-09-29 14:48:27 -070016
Chris Sosaa404a382013-08-22 11:28:38 -070017DEFAULT_CHROOT_DIR = 'chroot'
18
David James9d059db2012-12-30 10:04:32 -080019SOURCE_ROOT = os.path.realpath(os.path.join(
20 os.path.dirname(_TEST_LIB_PATH), '..', '..', '..', '..'))
Chris Sosa18fea3f2011-03-22 13:15:34 -070021
David James9d059db2012-12-30 10:04:32 -080022CROSUTILS_DIR = os.path.join(SOURCE_ROOT, 'src', 'scripts')
23
24CROSUTILS_LIB_DIR = os.path.join(CROSUTILS_DIR, 'lib')
David James53f9a2e2012-12-28 17:33:52 -080025
Jay Kimcde71292014-03-17 20:29:00 -070026MAX_TIMEOUT_SECONDS = 4800