aboutsummaryrefslogtreecommitdiff
path: root/client/deps/fakemodem/fakemodem.py
blob: ea45cd9afd3d9bbb83a971b0c6e7124f415edebb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/python3

# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import common, os, shutil
from autotest_lib.client.bin import utils

version = 1

def setup(topdir):
    srcdir = os.path.join(topdir, 'src')
    os.chdir(srcdir)
    utils.make()
    utils.make("DESTDIR=%s install"%(topdir))
    os.chdir(topdir)

pwd = os.getcwd()
utils.update_version(pwd + '/src', True, version, setup, pwd)