blob: dc87fd4c9acee6ecdff7e907f0436dc432aaec76 [file] [log] [blame]
# 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="76cc214ce771ab7dd0990b403e2a2c98dd0a4c80"
CROS_WORKON_TREE="4d1019d4ba75c8d6c18310a8bce67bcda0eceab5"
CROS_WORKON_LOCALNAME="../platform/crosvm"
CROS_WORKON_PROJECT="chromiumos/platform/crosvm"
CROS_WORKON_INCREMENTAL_BUILD=1
CROS_WORKON_SUBTREE="tempfile"
inherit cros-workon cros-rust
DESCRIPTION="A library for managing temporary files and directories"
HOMEPAGE="https://chromium.googlesource.com/chromiumos/platform/crosvm/+/HEAD/tempfile"
LICENSE="BSD-Google"
KEYWORDS="*"
IUSE="test"
DEPEND="
=dev-rust/cfg-if-0.1*:=
>=dev-rust/libc-0.2.27:=
=dev-rust/rand-0.6*:=
=dev-rust/redox_syscall-0.1*:=
=dev-rust/remove_dir_all-0.5*:=
=dev-rust/winapi-0.3*:=
"
# (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}
!!<=dev-rust/tempfile-3.0.7-r2
"