1# 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):
17    """Stores a copy of the chromite cbuildbot source code for use on a DUT.
18
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)
26