blob: 9c96973b6803e2f25ff79a76d81914cdfcfe88cd [file] [log] [blame]
Allen Webb3949eebe2019-09-25 13:40:37 -07001# Copyright 2019 The Chromium OS Authors. All rights reserved.
2# Distributed under the terms of the GNU General Public License v2
3
Allen Webb798524a2020-08-27 08:37:40 -05004EAPI=7
Allen Webb3949eebe2019-09-25 13:40:37 -07005
Allen Webb0af13962020-12-14 11:21:31 -08006CROS_RUST_SUBDIR="system_api"
7
Allen Webb3949eebe2019-09-25 13:40:37 -07008CROS_WORKON_PROJECT="chromiumos/platform2"
Allen Webb91b283e2020-12-23 17:34:49 -06009CROS_WORKON_LOCALNAME="../platform2"
Allen Webb0af13962020-12-14 11:21:31 -080010CROS_WORKON_SUBTREE="${CROS_RUST_SUBDIR} authpolicy/dbus_bindings debugd/dbus_bindings login_manager/dbus_bindings"
Allen Webb3949eebe2019-09-25 13:40:37 -070011
12inherit cros-workon cros-rust
13
Allen Webb3949eebe2019-09-25 13:40:37 -070014DESCRIPTION="Chrome OS system API D-Bus bindings for Rust."
Allen Webb0af13962020-12-14 11:21:31 -080015HOMEPAGE="https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/system_api/"
Allen Webb3949eebe2019-09-25 13:40:37 -070016
17LICENSE="BSD-Google"
18SLOT="0/${PVR}"
19KEYWORDS="~*"
20
Allen Webb9f6bf412021-03-01 17:25:21 -060021DEPEND="
Allen Webb91b283e2020-12-23 17:34:49 -060022 dev-rust/chromeos-dbus-bindings:=
Allen Webb277a8da2020-09-17 18:42:11 -050023 =dev-rust/dbus-0.8*:=
Allen Webb3949eebe2019-09-25 13:40:37 -070024"
Allen Webb9f6bf412021-03-01 17:25:21 -060025# (crbug.com/1182669): build-time only deps need to be in RDEPEND so they are pulled in when
26# installing binpkgs since the full source tree is required to use the crate.
27RDEPEND="${DEPEND}
28 !chromeos-base/system_api-rust
29"