| # Copyright 2019 The Chromium OS Authors. All rights reserved. |
| # Distributed under the terms of the GNU General Public License v2 |
| |
| EAPI="7" |
| |
| CROS_WORKON_COMMIT="86e1a560610cb3a8dfbf6cedb7984c85830d6855" |
| CROS_WORKON_TREE="aec12bcc055872282be343c4f5d67fa9f0a60927" |
| CROS_RUST_SUBDIR="cras/client/cras_tests" |
| |
| CROS_WORKON_LOCALNAME="adhd" |
| CROS_WORKON_PROJECT="chromiumos/third_party/adhd" |
| # We don't use CROS_WORKON_OUTOFTREE_BUILD here since cras-sys/Cargo.toml is |
| # using "provided by ebuild" macro which supported by cros-rust |
| CROS_WORKON_SUBTREE="${CROS_RUST_SUBDIR}" |
| |
| inherit cros-workon cros-rust |
| |
| DESCRIPTION="Rust version cras test client" |
| HOMEPAGE="https://chromium.googlesource.com/chromiumos/third_party/adhd/+/HEAD/cras/client/cras_tests" |
| |
| LICENSE="BSD-Google" |
| KEYWORDS="*" |
| IUSE="test" |
| |
| DEPEND=" |
| >=dev-rust/getopts-0.2.18:= |
| !>=dev-rust/getopts-0.3 |
| dev-rust/hound:= |
| media-sound/audio_streams:= |
| media-sound/libcras:= |
| " |
| # (crbug.com/1182669): build-time only deps need to be in RDEPEND so they are pulled in when |
| # installing binpkgs since the full source tree is required to use the crate. |
| RDEPEND="${DEPEND} |
| !<=media-sound/cras_tests-0.1.0-r12 |
| " |