| # 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="6f9011123f3656c45bb34148673aa110a22326b3" |
| CROS_WORKON_TREE=("e7dba8c91c1f3257c34d4a7ffff0ea2537aeb6bb" "49e3b5c529d012af19cb326eec9cf346538d4459" "686790e236933c99eeef7eed68f3b4c7ca629daf" "c37af7d99913a584dbfb1b64fdb83acb19e91c20" "049eedf136293a1ab81617017200cb31032eb384" "aa0612733aca2d5ffa65470f07408228b473ebdb" "791c6808b4f4f5f1c484108d66ff958d65f8f1e3") |
| 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" |
| } |