| # 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="6dd33d823125a9f9e78f10c51ea5756c9f8b64bc" |
| CROS_WORKON_TREE=("17b97c5c2ddeb8fe389f24ed79e581941c90795b" "a0d8550678a1ed2a4ab62782049032a024bf40df" "c3e1fc5061dcbd62acb501f21d7a3794f41b2160" "2c7ac844cf2db48eca0465be0c5ada91c108f177" "3b632cb1cbc6da698a355e078bfc220f0461deee") |
| CROS_RUST_SUBDIR="system_api" |
| |
| CROS_WORKON_PROJECT="chromiumos/platform2" |
| CROS_WORKON_LOCALNAME="../platform2" |
| CROS_WORKON_SUBTREE="${CROS_RUST_SUBDIR} authpolicy/dbus_bindings debugd/dbus_bindings login_manager/dbus_bindings shill/dbus_bindings" |
| |
| inherit cros-workon cros-rust |
| |
| DESCRIPTION="Chrome OS system API D-Bus bindings for Rust." |
| HOMEPAGE="https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/system_api/" |
| |
| LICENSE="BSD-Google" |
| SLOT="0/${PVR}" |
| KEYWORDS="*" |
| |
| DEPEND=" |
| dev-rust/chromeos-dbus-bindings:= |
| =dev-rust/dbus-0.8*:= |
| " |
| # (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} |
| !chromeos-base/system_api-rust |
| " |