blob: dfecb2f9782696ba44704b779fd6fc065b7c8d19 [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="880bd2dff2582479fa4f44587f43a560186e9796"
CROS_WORKON_TREE=("dc1506ef7c8cfd2c5ffd1809dac05596ec18773c" "c1d6f47d810546f7412d95791a85fb4d35831af3" "e7db7f64545429ea9413680695b6aeef59efb075" "df544d9e971b33202110fb8d238784a2f9f9e62d" "e14da4094de2943ce26b01a89fb05db3d33a33f9" "6f3abf0e1487e52593fe1b4fc780df5844fa9cc1")
CROS_WORKON_PROJECT="chromiumos/platform2"
CROS_WORKON_LOCALNAME="../platform2"
CROS_WORKON_SUBTREE=".gn camera/build camera/hal/usb camera/include camera/tools common-mk"
CROS_WORKON_OUTOFTREE_BUILD="1"
CROS_WORKON_INCREMENTAL_BUILD="1"
PLATFORM_SUBDIR="camera"
PLATFORM_GYP_FILE="tools/generate_camera_profile.gyp"
inherit cros-camera cros-workon platform
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_install() {
dobin "${OUT}/generate_camera_profile"
}