blob: 53e9fd9e89716e25a78dc5b53b9b1c79fbb1bf83 [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())