blob: 56c1f10ca33fefe99c28022ea2de46a93b874254 [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="b05e4a6b92b2cfe608b6cd8d5d37168680fc080e"
CROS_WORKON_TREE=("e7dba8c91c1f3257c34d4a7ffff0ea2537aeb6bb" "c920da127f686c434165b6056b1cd740f228df6b" "da7b73732df1f454a05ffc3efe5a90d416295e3f" "4a915605af1cd7e632f8e36813007c5403431db2" "52a8a8b6d3bbca5e90d4761aa308a5541d52b1bb")
CROS_WORKON_PROJECT="chromiumos/platform2"
CROS_WORKON_LOCALNAME="../platform2"
CROS_WORKON_SUBTREE=".gn camera/build camera/common camera/include common-mk"
CROS_WORKON_OUTOFTREE_BUILD="1"
CROS_WORKON_INCREMENTAL_BUILD="1"
PLATFORM_SUBDIR="camera/common/libcamera_common"
CROS_CAMERA_TESTS=(
"future_test"
)
inherit cros-camera cros-workon platform
DESCRIPTION="Chrome OS HAL common util."
LICENSE="BSD-Google"
SLOT="0"
KEYWORDS="*"
RDEPEND="
!media-libs/arc-camera3-libcamera_common
virtual/libudev"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_install() {
platform_src_install
dolib.so "${OUT}/lib/libcamera_common.so"
cros-camera_doheader ../../include/cros-camera/common.h \
../../include/cros-camera/constants.h \
../../include/cros-camera/cros_camera_hal.h \
../../include/cros-camera/export.h \
../../include/cros-camera/future.h \
../../include/cros-camera/future_internal.h \
../../include/cros-camera/camera_thread.h
cros-camera_dopc ../libcamera_common.pc.template
}