satorux | 250aa43 | 2010-03-26 11:43:47 +0900 | [diff] [blame] | 1 | #!/usr/bin/python |
| 2 | |
| 3 | # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
| 4 | # Use of this source code is governed by a BSD-style license that can be |
| 5 | # found in the LICENSE file. |
| 6 | |
| 7 | import common, os, shutil |
| 8 | from autotest_lib.client.bin import utils |
| 9 | |
| 10 | version = 1 |
| 11 | |
| 12 | def setup(topdir): |
| 13 | srcdir = os.path.join(topdir, 'src') |
| 14 | os.chdir(srcdir) |
David James | 3fa30f9 | 2010-08-19 18:18:36 -0700 | [diff] [blame^] | 15 | utils.make() |
satorux | 250aa43 | 2010-03-26 11:43:47 +0900 | [diff] [blame] | 16 | os.chdir(topdir) |
| 17 | |
| 18 | pwd = os.getcwd() |
| 19 | utils.update_version(pwd + '/src', True, version, setup, pwd) |