mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
base: move Windows-only deps into the target section
chrono, rand, and regex are only needed in the Windows parts of base for now; remove them from the common dependencies so we don't need to compile them for Linux builds. BUG=None TEST=cargo build --timings Change-Id: Ib62d8e9c71860a4e924a05c8453c6bd54ba7ecf8 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3579725 Reviewed-by: Dennis Kempin <denniskempin@google.com> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
This commit is contained in:
parent
f620437e8b
commit
772a28edca
1 changed files with 3 additions and 3 deletions
|
@ -20,12 +20,12 @@ thiserror = "1.0.20"
|
||||||
tempfile = "3"
|
tempfile = "3"
|
||||||
base_poll_token_derive = { path = "base_poll_token_derive" }
|
base_poll_token_derive = { path = "base_poll_token_derive" }
|
||||||
cfg-if = "*"
|
cfg-if = "*"
|
||||||
rand = "*"
|
|
||||||
chrono = "*"
|
|
||||||
regex = "*"
|
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies]
|
[target.'cfg(windows)'.dependencies]
|
||||||
|
chrono = "*"
|
||||||
lazy_static = "*"
|
lazy_static = "*"
|
||||||
|
rand = "*"
|
||||||
|
regex = "*"
|
||||||
winapi = "*"
|
winapi = "*"
|
||||||
win_util = { path = "../win_util"}
|
win_util = { path = "../win_util"}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue