blob: b4166c9a4825a34fcd2d7e320cd66eaef7fcfbf4 [file]
# Copyright 2020 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
EAPI=7
CROS_WORKON_COMMIT="315124477fc1557a85b6292084765e0e4e300f07"
CROS_WORKON_TREE="6f55c80867b6a5931cbc26b350a9d5b0e8604030"
CROS_RUST_SUBDIR="sof_sys"
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_INCREMENTAL_BUILD=1
CROS_WORKON_SUBTREE="${CROS_RUST_SUBDIR}"
inherit cros-workon cros-rust
DESCRIPTION="Crate for SOF C-structures generated by bindgen"
HOMEPAGE="https://chromium.googlesource.com/chromiumos/third_party/adhd/+/HEAD/sof_sys"
SRC_URI=""
LICENSE="BSD-Google"
KEYWORDS="*"
IUSE="test"
DEPEND="dev-rust/third-party-crates-src:="
RDEPEND="${DEPEND}"