blob: a4b2f866111982719257e3199d6308b82b2f1602 [file] [log] [blame]
# Copyright 2017 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=5
CROS_WORKON_PROJECT="chromiumos/platform2"
CROS_WORKON_LOCALNAME="../platform2"
CROS_WORKON_SUBTREE=".gn camera/build camera/camera3_test camera/common camera/include common-mk"
CROS_WORKON_OUTOFTREE_BUILD="1"
CROS_WORKON_INCREMENTAL_BUILD="1"
PLATFORM_SUBDIR="camera"
PLATFORM_GYP_FILE="camera3_test/cros_camera_test.gyp"
inherit cros-camera cros-workon platform
DESCRIPTION="Chrome OS camera HAL native test."
LICENSE="BSD-Google"
SLOT="0"
KEYWORDS="~*"
IUSE="-asan"
RDEPEND="
!media-libs/arc-camera3-test
media-libs/cros-camera-libcamera_client
media-libs/cros-camera-libcamera_common
media-libs/cros-camera-libcamera_metadata
media-libs/cros-camera-libcbm
media-libs/libexif
media-libs/libsync
media-libs/minigbm
virtual/jpeg:0"
DEPEND="${RDEPEND}
dev-cpp/gtest:=
media-libs/cros-camera-android-headers
media-libs/libyuv
virtual/pkgconfig"
src_install() {
dobin "${OUT}/cros_camera_test"
}