crosvm_control: Also create a static lib

This is useful for projects that build in lock-step with crosvm and want
to control a VM without having to `dlopen()` or embed
`libcrosvm_control.so`.

TEST=./tools/presubmit --quick
BUG=none

Change-Id: I9407c3e1783f55e399358bdf291a999ee8dc8892
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3864925
Reviewed-by: Dennis Kempin <denniskempin@google.com>
Commit-Queue: Christian Blichmann <cblichmann@google.com>
Tested-by: Christian Blichmann <cblichmann@google.com>
This commit is contained in:
Christian Blichmann 2022-08-31 14:13:58 +02:00 committed by crosvm LUCI
parent 05246b107c
commit 9dc9210d3d

View file

@ -5,7 +5,7 @@ authors = ["The Chromium OS Authors"]
edition = "2021"
[lib]
crate-type = ["cdylib"]
crate-type = ["cdylib", "staticlib"]
[dependencies]
base = { path = "../base" }