blob: b1be38ec47945afd119b387a0e7145ee7fe27c5e [file] [log] [blame]
# Copyright 2019 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/common camera/hal/ip camera/hal/usb camera/include camera/mojo common-mk metrics"
CROS_WORKON_OUTOFTREE_BUILD="1"
CROS_WORKON_INCREMENTAL_BUILD="1"
PLATFORM_SUBDIR="camera/hal/ip"
inherit cros-camera cros-workon platform
DESCRIPTION="Chrome OS IP camera HAL v3."
LICENSE="BSD-Google"
SLOT="0"
KEYWORDS="~*"
RDEPEND="
media-libs/cros-camera-libcbm
media-libs/cros-camera-libjda
media-libs/libsync"
DEPEND="${RDEPEND}
media-libs/cros-camera-android-headers
media-libs/cros-camera-libcamera_client
media-libs/cros-camera-libcamera_metadata
virtual/pkgconfig"
src_install() {
cros-camera_dohal "${OUT}/lib/libcamera_hal.so" ip.so
}
platform_pkg_test() {
platform_test run "${OUT}"/request_queue_test
}