| # Copyright 2020 The Chromium OS Authors. All rights reserved. |
| # Distributed under the terms of the GNU General Public License v2 |
| |
| EAPI=7 |
| CROS_WORKON_COMMIT="f4be3fbf604d2f69b13606e703741b2d0178cebd" |
| CROS_WORKON_TREE=("f86b3dad942180ce041d9034a4f5f9cceb8afe6b" "8722b11e69e00b6b0028816d78f34e3da4030880" "e7dba8c91c1f3257c34d4a7ffff0ea2537aeb6bb") |
| CROS_WORKON_LOCALNAME="platform2" |
| CROS_WORKON_PROJECT="chromiumos/platform2" |
| CROS_WORKON_DESTDIR="${S}/platform2" |
| CROS_WORKON_SUBTREE="common-mk ml_benchmark .gn" |
| |
| DESCRIPTION="Chrome OS ML Benchmarking Suite" |
| |
| PLATFORM_SUBDIR="ml_benchmark" |
| |
| inherit cros-workon platform |
| |
| # chromeos-base/ml_benchmark blocked due to package rename |
| RDEPEND=" |
| !chromeos-base/ml_benchmark |
| " |
| |
| DEPEND=" |
| ${RDEPEND} |
| " |
| |
| LICENSE="BSD-Google" |
| KEYWORDS="*" |
| IUSE="" |
| |
| src_install() { |
| dobin "${OUT}"/ml_benchmark |
| dolib.so "${OUT}"/lib/libmlbenchmark_proto.so |
| } |
| |
| platform_pkg_test() { |
| platform_test "run" "${OUT}/ml_benchmark_test" |
| } |