1 #!/usr/bin/python 2 3 # Copyright (c) 2017 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 os 8 from autotest_lib.client.bin import utils 9 10 version = 1 11 12 def setup(setup_dir): 13 binary = 'arc_camera3_test' 14 src_path = os.path.join(os.environ['SYSROOT'], 'usr', 'bin') 15 dst_path = os.path.join(os.getcwd(), 'bin') 16 os.mkdir(dst_path) 17 utils.get_file(os.path.join(src_path, binary), 18 os.path.join(dst_path, binary)) 19 20 21 utils.update_version(os.getcwd(), True, version, setup, os.getcwd()) 22