| # Copyright 2022 The ChromiumOS Authors |
| # Distributed under the terms of the GNU General Public License v2 |
| |
| EAPI=7 |
| |
| CROS_WORKON_COMMIT="8b6e11a069e490c761cdab7ab3ff59434806cd9c" |
| CROS_WORKON_TREE=("f91b6afd5f2ae04ee9a2c19109a3a4a36f7659e6" "d5188fec8e14c2a9a2c16c9645dc83908534149c" "da79a0cb46b293055987ed8190b88d813d8df81e" "21bea9b039270722a2838496f241927aab594088" "56d11be3eee2e1ae4822f70f73b6e8cc7a4082c8" "f12a2f998297133c0e97f61e1fa8f901e7f6852b" "6004a0e1699013ec8cf7e1061b6ed785e492f1a1" "9942607d3de36a375711502f44f44d28aac7bd3a" "41d899585b7a07ea908a0cca2944a7b8a4d13655" "1e601fb1df98e9ea9f5803aeb50bd6fbec835a2a" "e40ac435946a5417104d844a323350d04e9d3b2e" "faa5b8036561b66b5b9d79ea1af8a95927a0ae0f" "cceb75d9e5555d3cccb273c52847819feabc9c65" "f9d448b071fa10e2a2149cdc09b1cb04c5a1634a") |
| CROS_WORKON_PROJECT="chromiumos/platform2" |
| CROS_WORKON_LOCALNAME="../platform2" |
| # iioservice/ is included just to make sandbox happy when running `gn gen`. |
| CROS_WORKON_SUBTREE=".gn camera/build camera/common camera/features camera/gpu camera/include camera/mojo chromeos-config common-mk iioservice/libiioservice_ipc iioservice/mojo metrics ml_core mojo_service_manager" |
| CROS_WORKON_OUTOFTREE_BUILD="1" |
| CROS_WORKON_INCREMENTAL_BUILD="1" |
| |
| PLATFORM_SUBDIR="camera/common/sw_privacy_switch_test" |
| |
| inherit cros-workon platform |
| |
| DESCRIPTION="ChromeOS Camera SW privacy switch test" |
| |
| LICENSE="BSD-Google" |
| KEYWORDS="*" |
| |
| IUSE="" |
| |
| BDEPEND="virtual/pkgconfig" |
| |
| RDEPEND=" |
| chromeos-base/chromeos-config-tools:= |
| chromeos-base/cros-camera-android-deps:= |
| chromeos-base/cros-camera-libs:= |
| chromeos-base/metrics:= |
| chromeos-base/mojo_service_manager:= |
| dev-cpp/gtest:= |
| media-libs/libyuv:= |
| " |
| |
| DEPEND=" |
| chromeos-base/system_api:= |
| x11-drivers/opengles-headers:= |
| ${RDEPEND} |
| " |
| |
| src_configure() { |
| # This is necessary for CameraBufferManagerImpl::AllocateScopedBuffer to |
| # succeed. Without this, gbm_bo_create will fail. |
| cros_optimize_package_for_speed |
| platform_src_configure |
| } |