blob: 75228338616a264ffa8fdece614d9281966eda13 [file] [log] [blame]
# Copyright 2023 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="95ac3a98a1caf4ce6304d9277b0dcf0a6165901f"
CROS_WORKON_TREE="1c41b677faed40e4b5c7ff57a19631b096c01392"
CROS_RUST_SUBDIR="vm_tools/metric_reporter"
CROS_WORKON_LOCALNAME="platform2"
CROS_WORKON_PROJECT="chromiumos/platform2"
CROS_WORKON_SUBTREE="${CROS_RUST_SUBDIR}"
inherit cros-workon cros-rust
DESCRIPTION="Disk usage metric reporter for Crostini"
HOMEPAGE="https://chromium.googlesource.com/chromiumos/platform2/+/HEAD/vm_tools"
LICENSE="BSD-Google"
SLOT="0/${PVR}"
KEYWORDS="*"
DEPEND="
dev-rust/third-party-crates-src:=
"
RDEPEND="${DEPEND}"
src_install() {
cros-rust_src_install
dobin "$(cros-rust_get_build_dir)/crostini_metric_reporter"
}