blob: 410ccfaac0c7e5267ef3d1776f0e7d96a56e4d73 [file] [log] [blame]
# Copyright 2017 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=4
CROS_WORKON_COMMIT="46dd7ef0af75240c67ed360977f9a0ec9febdd79"
CROS_WORKON_TREE="fc1015fe21a5c8f30182552dbc54bb8813e031c5"
CROS_WORKON_PROJECT="chromiumos/platform/arc-camera"
CROS_WORKON_LOCALNAME='../platform/arc-camera'
inherit cros-debug cros-workon libchrome toolchain-funcs
DESCRIPTION="ARC camera HALv3 native test."
LICENSE="BSD-Google"
SLOT="0"
KEYWORDS="*"
IUSE="-asan"
RDEPEND="
dev-cpp/gtest
media-libs/libexif
media-libs/libyuv
media-libs/minigbm
virtual/jpeg:0"
DEPEND="${RDEPEND}
media-libs/arc-camera3-android-headers
media-libs/arc-camera3-libcamera_client
media-libs/arc-camera3-libcamera_metadata
media-libs/arc-camera3-libcbm
media-libs/arc-camera3-libsync
virtual/pkgconfig"
src_compile() {
asan-setup-env
tc-export CC CXX PKG_CONFIG
cros-debug-add-NDEBUG
emake BASE_VER=${LIBCHROME_VERS} camera3_test
}
src_install() {
dobin camera3_test/arc_camera3_test
}