| # Copyright 2018 The Chromium OS Authors. All rights reserved. |
| # Distributed under the terms of the GNU General Public License v2 |
| |
| EAPI="5" |
| |
| CROS_WORKON_PROJECT=( |
| "chromiumos/platform/arc-camera" |
| "chromiumos/platform2" |
| ) |
| CROS_WORKON_LOCALNAME=( |
| "../platform/arc-camera" |
| "../platform2" |
| ) |
| CROS_WORKON_DESTDIR=( |
| "${S}/platform/arc-camera" |
| "${S}/platform2" |
| ) |
| CROS_WORKON_SUBTREE=( |
| "build tools" |
| "common-mk" |
| ) |
| PLATFORM_GYP_FILE="tools/cros_camera_tool.gyp" |
| |
| inherit cros-camera cros-workon |
| |
| DESCRIPTION="Chrome OS camera test utility." |
| |
| LICENSE="BSD-Google" |
| SLOT="0" |
| KEYWORDS="~*" |
| |
| RDEPEND=" |
| chromeos-base/libbrillo" |
| |
| DEPEND="${RDEPEND} |
| virtual/pkgconfig" |
| |
| src_unpack() { |
| cros-camera_src_unpack |
| } |
| |
| src_install() { |
| dobin "${OUT}/cros-camera-tool" |
| } |