OLD | NEW |
(Empty) | |
| 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 my_srcdir = os.path.join(topdir, 'src.orig') |
| 14 srcdir = os.path.join(topdir, 'src') |
| 15 shutil.move(my_srcdir, srcdir) |
| 16 os.chdir(srcdir) |
| 17 utils.system('make') |
| 18 os.chdir(topdir) |
| 19 |
| 20 pwd = os.getcwd() |
| 21 utils.update_version(pwd + '/src', False, version, setup, pwd) |
OLD | NEW |