blob: 52432c13727917e8bda22c57b62abb203ac890f2 [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="724e8fed97eb25bc7f3e2d5aeceb79a5e3d1c253"
CROS_WORKON_TREE=("dc1506ef7c8cfd2c5ffd1809dac05596ec18773c" "c1d6f47d810546f7412d95791a85fb4d35831af3" "713aa477e765d66899af1c1bb01fc397d38d8da7" "df544d9e971b33202110fb8d238784a2f9f9e62d" "e14da4094de2943ce26b01a89fb05db3d33a33f9" "564023743cbb0d3d970ae3aeaeb717e3c5e87e0a")
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"
}