| # 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="745cdedb276031fbceedfb76854b10a234cab662" |
| CROS_WORKON_TREE=("e7dba8c91c1f3257c34d4a7ffff0ea2537aeb6bb" "a9db923ed9d7e66024405ab4fdb8bbe178930040" "05537afb624431739d04be7dec89054d85318249" "f4393b535673365e930c04efeab0ab4a23a5a8a0" "21f96983b4c04d23267767a4f371212fe68039d9" "3a8b816b9fdaca04ec76e8a8d97b206e139a9dfc" "ef118ceb3e8ebcc8b8a4ae6577a71d7ad210a722") |
| CROS_WORKON_PROJECT="chromiumos/platform2" |
| CROS_WORKON_LOCALNAME="../platform2" |
| # TODO(crbug.com/809389): Avoid directly including headers from other packages. |
| CROS_WORKON_SUBTREE=".gn camera/build camera/camera3_test camera/common camera/include chromeos-config common-mk" |
| CROS_WORKON_OUTOFTREE_BUILD="1" |
| CROS_WORKON_INCREMENTAL_BUILD="1" |
| |
| PLATFORM_SUBDIR="camera/camera3_test" |
| |
| inherit cros-camera cros-workon platform |
| |
| DESCRIPTION="Chrome OS camera HAL native test." |
| |
| LICENSE="BSD-Google" |
| SLOT="0" |
| KEYWORDS="*" |
| IUSE="-asan" |
| |
| RDEPEND=" |
| >=chromeos-base/cros-camera-libs-0.0.1-r34:= |
| chromeos-base/chromeos-config-tools |
| chromeos-base/cros-camera-android-deps |
| media-libs/libexif |
| media-libs/libsync |
| media-libs/minigbm |
| virtual/jpeg:0" |
| |
| DEPEND="${RDEPEND} |
| dev-cpp/gtest:= |
| media-libs/libyuv |
| virtual/pkgconfig" |
| |
| src_install() { |
| platform_src_install |
| dobin "${OUT}/cros_camera_test" |
| } |