mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
The Linux syslog hack won't work, as Android doesn't use the same syslog interface. This introduces a Syslog trait to abstract over the syslog interface for the target platform, which is implemented for Linux and Android. BUG=b:158290206 TEST=cargo test && cargo build --target=aarch64-linux-android Cq-Depend: chromium:2355628 Change-Id: Ib7a86b37a1526a3ba9f7a0fdb47f1b959caf7c7c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2302469 Tested-by: Andrew Walbran <qwandor@google.com> Commit-Queue: Dylan Reid <dgreid@chromium.org> Reviewed-by: Dylan Reid <dgreid@chromium.org> Auto-Submit: Andrew Walbran <qwandor@google.com>
22 lines
584 B
TOML
22 lines
584 B
TOML
[package]
|
|
name = "sys_util"
|
|
version = "0.1.0"
|
|
authors = ["The Chromium OS Authors"]
|
|
edition = "2018"
|
|
include = ["src/**/*", "Cargo.toml"]
|
|
|
|
[dependencies]
|
|
data_model = { path = "../data_model" } # provided by ebuild
|
|
libc = "*"
|
|
poll_token_derive = { version = "*", path = "poll_token_derive" }
|
|
sync = { path = "../sync" } # provided by ebuild
|
|
syscall_defines = { path = "../syscall_defines" } # provided by ebuild
|
|
tempfile = { path = "../tempfile" } # provided by ebuild
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
|
android_log-sys = "0.2"
|
|
|
|
[features]
|
|
chromeos = []
|
|
|
|
[workspace]
|