crosvm/tools
Dennis Kempin a0dcf8ab13 Generate constants.json offline
The constants.json file is generated for compiling seccomp polices,
but is only ever added to in newer versions of linux.
Generating them in build.rs will cause the seccomp compiler to only
understand constants and syscalls available on the build machine
and fail if policy files try to allow syscalls not available.

Putting the constants in version control will allow us to compile
the policies regardless of how old the kernel headers on the build
machine are.

BUG=b:235858187
TEST=presubmit

Change-Id: I1cfbb38f4687eb68b141f62c1c5fe6104b3f6456
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3988899
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Auto-Submit: Dennis Kempin <denniskempin@google.com>
2022-11-02 00:13:08 +00:00
..
audio_streams_conformance_test Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
chromeos handle new CV run ended message 2022-09-23 16:58:44 +00:00
contrib Make common crates part of the crosvm workspace 2022-10-31 21:33:33 +00:00
examples Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
impl Fix winetricks install and build new container 2022-11-01 19:04:35 +00:00
tests Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
windows tree-wide: use "crosvm" capitalization everywhere 2022-10-07 01:10:12 +00:00
.vpython3 infra: Small process improvements 2022-05-27 20:59:12 +00:00
aarch64vm Update copyright header check to cover all files 2022-09-13 18:41:29 +00:00
bindgen-all-the-things Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
cargo-doc Simplify cargo-doc 2022-10-31 21:33:33 +00:00
cl tools/cl: add confirmation for multi-cl uploads 2022-10-20 00:54:27 +00:00
clippy Make common crates part of the crosvm workspace 2022-10-31 21:33:33 +00:00
dev_container infra: Add build_chromeos_container builder 2022-10-26 23:05:08 +00:00
fmt Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
health-check Generate constants.json offline 2022-11-02 00:13:08 +00:00
install-aarch64-deps Enable vaapi feature upstream 2022-10-14 20:31:19 +00:00
install-armhf-deps Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
install-deps tools: Install winetricks 2022-10-27 18:11:46 +00:00
install-docs-deps Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
install-wine-deps Fix winetricks install and build new container 2022-11-01 19:04:35 +00:00
presubmit tools/presubmit: update mingw64 build steps 2022-10-13 16:25:38 +00:00
run_tests Update copyright header check to cover all files 2022-09-13 18:41:29 +00:00
test_target Update copyright header check to cover all files 2022-09-13 18:41:29 +00:00
x86vm Update copyright header check to cover all files 2022-09-13 18:41:29 +00:00