blob: 6725b0cdc4ebe7fdbc74770b507d1c84d9d5722e [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_PROJECT="chromiumos/platform/arc-camera"
CROS_WORKON_LOCALNAME="../platform/arc-camera"
inherit cros-debug cros-workon libchrome toolchain-funcs
DESCRIPTION="Runtime detect the number of cameras on device to generate
corresponding media_profiles.xml.xml."
LICENSE="BSD-Google"
SLOT="0"
KEYWORDS="~*"
IUSE="-asan"
RDEPEND="
chromeos-base/libbrillo"
DEPEND="${RDEPEND}
media-libs/arc-camera3-libcamera_timezone
virtual/pkgconfig"
src_configure() {
asan-setup-env
cros-workon_src_configure
}
src_compile() {
cw_emake BASE_VER=${LIBCHROME_VERS} camera_profile
}
src_install() {
dobin tools/generate_camera_profile
}