mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
7df5a0ef1a
make open_fd patch optional. if sandboxed-libusb feature is not selected, open_fd is not required. In this case, the code must have access to /dev/bus/usb, and not external fd is needed. BUG=chromium:831850 TEST=cargo test Change-Id: I21fa87dd15d08a03c2fe2b190559abbe6f63dcd5 Reviewed-on: https://chromium-review.googlesource.com/1375019 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: Jingkui Wang <jkwang@google.com> Reviewed-by: Zach Reizner <zachr@chromium.org>
16 lines
306 B
TOML
16 lines
306 B
TOML
[package]
|
|
name = "usb_util"
|
|
version = "0.1.0"
|
|
authors = ["The Chromium OS Authors"]
|
|
build = "build.rs"
|
|
|
|
[features]
|
|
sandboxed-libusb = []
|
|
|
|
[dependencies]
|
|
assertions = { path = "../assertions" }
|
|
data_model = { path = "../data_model" }
|
|
sync = { path = "../sync" }
|
|
|
|
[build-dependencies]
|
|
pkg-config = "=0.3.11"
|