mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-10-23 04:46:29 +00:00
f36fc40bbe
This is only needed when powerd feature is enabled. When powerd is not enabled, this change allows devices to build without the new system_api dependency. BUG=372302460 TEST=android-merge-2-cargo-embargo.sh && verify no new libdbus dependency Change-Id: Ie20c6ea5721d6ec1800b91f9d35d7fdea04fbf4a Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5936072 Commit-Queue: Devin Moore <devinmoore@google.com> Auto-Submit: Devin Moore <devinmoore@google.com> Reviewed-by: Frederick Mayle <fmayle@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
20 lines
423 B
TOML
20 lines
423 B
TOML
[package]
|
|
name = "power_monitor"
|
|
version = "0.1.0"
|
|
authors = ["The ChromiumOS Authors"]
|
|
edition = "2021"
|
|
|
|
[features]
|
|
powerd = ["dbus", "system_api"]
|
|
|
|
[dependencies]
|
|
base = { path = "../base" }
|
|
dbus = { version = "0.9", optional = true }
|
|
protobuf = "3.2"
|
|
remain = "0.2"
|
|
system_api = { path = "../system_api", optional = true }
|
|
thiserror = "1.0.20"
|
|
|
|
[build-dependencies]
|
|
proto_build_tools = { path = "../proto_build_tools" }
|