blob: 9c5f101710029b759dd328c44a13ba18a973edc7 [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=("a2bf92c5f97626f20da000be873944d3b5142d70" "207b9c95e801b90f6616962cb928bec371aed39f")
CROS_WORKON_TREE=("6589055d0d41e7fc58d42616ba5075408d810f7d" "d815bb54767e70ab5d5b51e4a5501d8458a95316" "0317ae0ee6da82324dfb7e3166f9c7ce5ac42f95" "1c60697df0f10da379411bb7cbd79002f9714883" "17f4a6efa079886fb3e23fd256264f932d59721d")
CROS_WORKON_PROJECT=(
"chromiumos/platform/arc-camera"
"chromiumos/platform2"
)
CROS_WORKON_LOCALNAME=(
"../platform/arc-camera"
"../platform2"
)
CROS_WORKON_DESTDIR=(
"${S}/platform/arc-camera"
"${S}/platform2"
)
CROS_WORKON_SUBTREE=(
"build hal/usb include tools"
"common-mk"
)
PLATFORM_GYP_FILE="tools/generate_camera_profile.gyp"
inherit cros-camera cros-workon
DESCRIPTION="Runtime detect the number of cameras on device to generate
corresponding media_profiles.xml."
LICENSE="BSD-Google"
SLOT="0"
KEYWORDS="*"
RDEPEND="
chromeos-base/libbrillo
media-libs/cros-camera-libcamera_timezone"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_unpack() {
cros-camera_src_unpack
}
src_install() {
dobin "${OUT}/generate_camera_profile"
}