crosvm/jail/Cargo.toml
Keiichi Watanabe 4caa4427f6 jail: Compile seccomp policies in parallel
Allow running `compile_seccomp_policy` script in parallel in build.rs so
the build time would change from 19 sec to 1.6 sec on my Linux
workstation.

With combinining with crrev.com/c/4546480, time of clean build of crosvm
changed from 73.5 sec to 67.8 sec.

BUG=b:283197076
TEST=cargo build

Change-Id: I60197e29d623ccc3638fc464373fdf1d71b00ae1
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4546818
Reviewed-by: Dennis Kempin <denniskempin@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org>
2023-05-25 19:13:12 +00:00

28 lines
471 B
TOML

[package]
name = "jail"
version = "0.1.0"
authors = ["The ChromiumOS Authors"]
edition = "2021"
[features]
seccomp_trace = []
[dependencies]
anyhow = "*"
base = { path = "../base" }
libc = "*"
once_cell = "*"
serde = "*"
serde_keyvalue = { path = "../serde_keyvalue", features = ["argh_derive"] }
zerocopy = "*"
static_assertions = "*"
[target.'cfg(unix)'.dependencies]
minijail = "*"
[build-dependencies]
which = "4"
rayon = "1.5.3"
[dev-dependencies]
cfg-if = "*"