From ee15178af719d2feb0034dd6ce4d517970e03ccf Mon Sep 17 00:00:00 2001 From: Dennis Kempin Date: Thu, 29 Sep 2022 15:41:38 +0000 Subject: [PATCH] Fix compilation with vtpm enabled This snuck through because it's only compiled for chromeos. The feature will be split out and enabled on upstream builds in https://crrev.com/c/3924741 to prevent failures like this in the future. BUG=None TEST=emerge-amd64-generic implicit-system crosvm Change-Id: Id74c59a5a5a765bfbe5864ee9588ab9863b18bc7 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3929079 Reviewed-by: Daniel Verkamp Auto-Submit: Dennis Kempin Commit-Queue: Daniel Verkamp --- system_api/src/bindings/include_modules.rs | 2 ++ system_api/src/protos/include_protos.rs | 1 + 2 files changed, 3 insertions(+) diff --git a/system_api/src/bindings/include_modules.rs b/system_api/src/bindings/include_modules.rs index 8357835b1c..88eed0d28c 100644 --- a/system_api/src/bindings/include_modules.rs +++ b/system_api/src/bindings/include_modules.rs @@ -3,4 +3,6 @@ pub mod client { pub mod org_chromium_userdataauth; pub use org_chromium_userdataauth::*; + pub mod org_chromium_vtpm; + pub use org_chromium_vtpm::*; } diff --git a/system_api/src/protos/include_protos.rs b/system_api/src/protos/include_protos.rs index 65022ee9e6..1660a78419 100644 --- a/system_api/src/protos/include_protos.rs +++ b/system_api/src/protos/include_protos.rs @@ -7,3 +7,4 @@ pub mod auth_factor; pub mod fido; pub mod key; pub mod rpc; +pub mod vtpm_interface;