blob: 072f33c6bd91b4eb9e1f4e0753a0928be9208b74 [file] [log] [blame]
# Copyright 2019 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=6
CROS_WORKON_PROJECT="chromiumos/platform2"
CROS_WORKON_LOCALNAME="../platform2"
CROS_WORKON_SUBTREE=".gn camera/build camera/common camera/include camera/v4l2_test common-mk"
CROS_WORKON_OUTOFTREE_BUILD="1"
CROS_WORKON_INCREMENTAL_BUILD="1"
PLATFORM_SUBDIR="camera/v4l2_test"
inherit cros-camera cros-workon platform
DESCRIPTION="Chrome OS camera V4L2 test."
LICENSE="BSD-Google"
SLOT="0"
KEYWORDS="~*"
RDEPEND="
chromeos-base/libbrillo:=
dev-cpp/gtest:=
dev-libs/re2:=
media-libs/libyuv
virtual/jpeg:0"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_install() {
dobin "${OUT}/media_v4l2_is_capture_device"
dobin "${OUT}/media_v4l2_test"
}