blob: a064d79ef5309982e2c5164b05e54e6b0f8cbf9d [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="fc33550242495250878c540ce7efc4df287caf6f"
CROS_WORKON_TREE=("dc1506ef7c8cfd2c5ffd1809dac05596ec18773c" "c1d6f47d810546f7412d95791a85fb4d35831af3" "2330cadeadba6de140c9ad8aa826812212ef9bcc" "c9d4ae708d1d4560fafd237113649efa94d7be78" "b496323111ff12c540849b4c9dd134d877cbb38b" "0df55c9365dc0ed67c6d88df21de7dfa8a0c49d5" "a9c9dfedee8947f546a02e996ac05ea263acfaa1")
CROS_WORKON_PROJECT="chromiumos/platform2"
CROS_WORKON_LOCALNAME="../platform2"
CROS_WORKON_SUBTREE=".gn camera/build camera/common 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"
}