You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
619 B
22 lines
619 B
#!/usr/bin/python2
|
|
|
|
# Copyright (c) 2017 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 os
|
|
from autotest_lib.client.bin import utils
|
|
|
|
version = 1
|
|
|
|
def setup(setup_dir):
|
|
binary = 'cros_camera_test'
|
|
src_path = os.path.join(os.environ['SYSROOT'], 'usr', 'bin')
|
|
dst_path = os.path.join(os.getcwd(), 'bin')
|
|
os.mkdir(dst_path)
|
|
utils.get_file(os.path.join(src_path, binary),
|
|
os.path.join(dst_path, binary))
|
|
|
|
|
|
utils.update_version(os.getcwd(), True, version, setup, os.getcwd())
|