summaryrefslogtreecommitdiff
path: root/keystore2/Android.bp
diff options
context:
space:
mode:
authorMax Bires <jbires@google.com>2021-11-17 10:13:04 -0800
committerMax Bires <jbires@google.com>2021-11-22 10:46:14 -0800
commit48fc2e5a43c6c664d8282e6a395f465242e8fe9e (patch)
treeacd2a876abf1fddad59fee3c099e307855c3eb04 /keystore2/Android.bp
parentccc92d1078d884a432c7eeafb255e9cc2640798d (diff)
downloadsecurity-48fc2e5a43c6c664d8282e6a395f465242e8fe9e.tar.gz
Replacing manual CBOR with serde-cbor
This change strips out all of the manually written CBOR parsing and serialization code in favor of using the serde-cbor library in order to make the code more robust and the error messages more actionable. Fixes: 180392379 Test: atest RemoteProvisionerUnitTests Change-Id: I1b08b26b6192763e393b061cd9b919cfd71c13c9
Diffstat (limited to 'keystore2/Android.bp')
-rw-r--r--keystore2/Android.bp2
1 files changed, 2 insertions, 0 deletions
diff --git a/keystore2/Android.bp b/keystore2/Android.bp
index e8cdb6c1..3b793341 100644
--- a/keystore2/Android.bp
+++ b/keystore2/Android.bp
@@ -52,6 +52,8 @@ rust_defaults {
"liblog_rust",
"librand",
"librustutils",
+ "libserde",
+ "libserde_cbor",
"libthiserror",
],
shared_libs: [