• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/usr/bin/python2
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
7import os
8from autotest_lib.client.bin import utils
9
10version = 1
11
12def setup(setup_dir):
13    binary = 'cros_camera_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
21utils.update_version(os.getcwd(), True, version, setup, os.getcwd())
22