blob: 65b29da2872f9ad258ae2c96db5bb1ec172e8129 [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_COMMIT="0ee68c125c7bac78938bdbc7ba11cb3025e99b72"
CROS_WORKON_TREE=("dc1506ef7c8cfd2c5ffd1809dac05596ec18773c" "7134e391e4c04513211b250b665951820d5b0bbd" "914d260731d6c368682bc50e5c55eba9dea3779a" "013f561c3d4edc6cf6850ac6ef094bca481ee0a8" "d91d17d55ce741e7cbd075983d30b0e5c1be4c84" "6e26865830c31aab3c4ac64af4612f5fce7edc6e")
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"
}