crosvm/tpm2-sys/Cargo.toml
Dennis Kempin 00bfcab3e8 Update tpm2-sys build.rs to support cross-compilation
Also removes the use of the hermetic flag in favor of not failing the
build if the submodule is not checked out.
This allows us to remove the tpm2 build from the build_environment
Makefile.

BUG=b:198293072
TEST=./test_all

Change-Id: Ide81e78efe0da3a1b64d4b8ef094a2e901f99ccf
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3133623
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Dennis Kempin <denniskempin@google.com>
2021-09-01 01:59:09 +00:00

11 lines
183 B
TOML

[package]
name = "tpm2-sys"
version = "0.1.0"
authors = ["The Chromium OS Authors"]
edition = "2018"
links = "tpm2"
[build-dependencies]
num_cpus = "*"
pkg-config = "*"
anyhow = "*"