| # Copyright 2022 The ChromiumOS Authors |
| # Distributed under the terms of the GNU General Public License v2 |
| |
| EAPI=7 |
| |
| CROS_WORKON_LOCALNAME="../platform2" |
| CROS_WORKON_PROJECT="chromiumos/platform2" |
| CROS_WORKON_DESTDIR="${S}/platform2" |
| CROS_WORKON_SUBTREE=".gn common-mk metrics camera/build camera/common camera/features camera/gpu camera/include camera/mojo chromeos-config iioservice/libiioservice_ipc iioservice/mojo ml_core ml_core/mojo" |
| |
| DESCRIPTION="Tests Effects Stream Manipulator" |
| |
| PLATFORM_SUBDIR="camera/features/effects/tests" |
| |
| SRC_URI="gs://chromeos-localmirror/distfiles/ml-core-cros_effects_test_assets-0.0.17.tar.xz" |
| RESTRICT="mirror" |
| |
| inherit cros-workon unpacker platform |
| |
| LICENSE="BSD-Google" |
| KEYWORDS="~*" |
| SLOT=0 |
| |
| RDEPEND=" |
| chromeos-base/cros-camera-android-deps:= |
| chromeos-base/cros-camera-libs:= |
| chromeos-base/dlcservice:= |
| chromeos-base/dlcservice-client:= |
| dev-libs/ml-core:= |
| " |
| |
| DEPEND="${RDEPEND}" |
| |
| src_unpack() { |
| unpacker |
| platform_src_unpack |
| } |
| |
| src_install() { |
| platform_src_install |
| |
| into /usr/local |
| dobin "${OUT}"/cros_effects_sm_tests |
| |
| insinto /usr/local/share/ml-core-effects-test-assets |
| doins -r "${WORKDIR}"/cros_effects_test_assets/* |
| } |