| # 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="e9ac2f6e1c2b5f100c1612185050dfb2c7d693fd" |
| CROS_WORKON_TREE="cdd5d4f1f31b3e054d8b4284f0646f109d3a20ee" |
| 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 |
| } |