blob: e4efeeaf40b29cfcf56e5ffc29c2e05ef70c23af [file] [log] [blame]
# 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" "41d899585b7a07ea908a0cca2944a7b8a4d13655" "faa5b8036561b66b5b9d79ea1af8a95927a0ae0f" "d5188fec8e14c2a9a2c16c9645dc83908534149c" "da79a0cb46b293055987ed8190b88d813d8df81e" "21bea9b039270722a2838496f241927aab594088" "56d11be3eee2e1ae4822f70f73b6e8cc7a4082c8" "f12a2f998297133c0e97f61e1fa8f901e7f6852b" "6004a0e1699013ec8cf7e1061b6ed785e492f1a1" "9942607d3de36a375711502f44f44d28aac7bd3a" "1e601fb1df98e9ea9f5803aeb50bd6fbec835a2a" "e40ac435946a5417104d844a323350d04e9d3b2e" "cceb75d9e5555d3cccb273c52847819feabc9c65")
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/*
}