| # Copyright 2018 The Chromium OS Authors. All rights reserved. |
| # Distributed under the terms of the GNU General Public License v2 |
| |
| EAPI="5" |
| CROS_WORKON_COMMIT="e9ac2f6e1c2b5f100c1612185050dfb2c7d693fd" |
| CROS_WORKON_TREE="cdd5d4f1f31b3e054d8b4284f0646f109d3a20ee" |
| CROS_WORKON_PROJECT="chromiumos/platform/arc-camera" |
| CROS_WORKON_LOCALNAME='../platform/arc-camera' |
| |
| inherit cros-debug cros-workon libchrome toolchain-funcs |
| |
| DESCRIPTION="Chrome OS camera test utility." |
| |
| LICENSE="BSD-Google" |
| SLOT="0" |
| KEYWORDS="*" |
| IUSE="-asan" |
| |
| RDEPEND=" |
| chromeos-base/libbrillo" |
| |
| DEPEND="${RDEPEND} |
| virtual/pkgconfig" |
| |
| src_configure() { |
| asan-setup-env |
| cros-workon_src_configure |
| } |
| |
| src_compile() { |
| cw_emake BASE_VER=${LIBCHROME_VERS} cros-camera-tool |
| } |
| |
| src_install() { |
| dobin tools/cros-camera-tool |
| } |