crosvm/.devcontainer/devcontainer.json
Zihan Chen e2f7c0c24b crosvm: Fix cross-compile in dev container
- Fix devcontainer.json to be used by vscode correctly
- Fix wayland-protocols path finding
- Add missing SYSROOT env for pkg_config
- Add missing linker settings

TEST=native/armv7/aarch64 targets compile in dev container

Change-Id: Id6fc43b2fd63d09bc46169d996387d5417ada93e
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3766822
Commit-Queue: Dennis Kempin <denniskempin@google.com>
Tested-by: Dennis Kempin <denniskempin@google.com>
Auto-Submit: Zihan Chen <zihanchen@google.com>
Reviewed-by: Dennis Kempin <denniskempin@google.com>
2022-07-19 17:07:49 +00:00

20 lines
558 B
JSON

{
"image": "gcr.io/crosvm-packages/crosvm_dev:r0012",
"extensions": [
"rust-lang.rust-analyzer",
"bungcip.better-toml",
"esbenp.prettier-vscode",
"ms-python.vscode-pylance",
"foxundermoon.shell-format",
"timonwong.shellcheck",
],
"runArgs": [
"--privileged",
"--device=/dev/kvm",
"--volume=/dev/log:/dev/log",
"--device=/dev/net/tun",
"--device=/dev/vhost-net",
"--device=/dev/vhost-vsock",
"--mount=type=tmpfs,destination=/tmp",
]
}