cryptohome: Add AddAuthFactor API definition
This CL intends to add AddAuthFactor API proto and dbus call so that the
client side team can begin working on the API. The API will plumbed
later.
BUG=b:208357699
TEST=manual test using crytohome CLI client
Change-Id: Ifd5d544c4983ce0a5f3e16dedc63f4c626cb96f9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform2/+/3319388
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Denis Kuznetsov <antrim@chromium.org>
Reviewed-by: Maksim Ivanov <emaxx@chromium.org>
Tested-by: Hardik Goyal <hardikgoyal@chromium.org>
Auto-Submit: Hardik Goyal <hardikgoyal@chromium.org>
Reviewed-by: Greg Kerr <kerrnel@chromium.org>
Tested-by: Greg Kerr <kerrnel@chromium.org>
Commit-Queue: Hardik Goyal <hardikgoyal@chromium.org>
NOKEYCHECK=True
GitOrigin-RevId: a36f89d53bff17ff027e7853d834571e9bd61a95
diff --git a/build.rs b/build.rs
index a03fd80..cff03c6 100644
--- a/build.rs
+++ b/build.rs
@@ -61,6 +61,10 @@
// When adding additional protos, remember to include the source project and subtree in the
// ebuild. Otherwise, the source files will not be accessible when building dev-rust/system_api.
const PROTOS_TO_GENERATE: &[(&str, &str)] = &[
+ (
+ "auth_factor",
+ "system_api/dbus/cryptohome/auth_factor.proto",
+ ),
("fido", "system_api/dbus/cryptohome/fido.proto"),
("key", "system_api/dbus/cryptohome/key.proto"),
("rpc", "system_api/dbus/cryptohome/rpc.proto"),