blob: f3b31377a3e8de47330de8a3b1c0d342fddfa74d [file] [log] [blame]
# 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')
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())