blob: aa1b3a09bdf51a6bb79b1dbf403f05f74821aab0 [file] [log] [blame]
Chung-yih Wangf2c93cf2013-02-27 12:35:05 +08001# Copyright (c) 2013 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
5import logging
6import os
7
8# Setup autotest_lib path by importing common.
9import common
10from autotest_lib.client.bin import utils
11
12
13version = 1
14
15
16def setup(setup_dir):
Don Garrett4f739ac2014-05-15 18:49:01 -070017 """Stores a copy of the chromite cbuildbot source code for use on a DUT.
Chung-yih Wangf2c93cf2013-02-27 12:35:05 +080018
19 @param setup_dir: the target directory
20
21 """
22 logging.info('setup(%s)', setup_dir)
23
24pwd = os.getcwd()
25utils.update_version(os.getcwd(), True, version, setup, pwd)