Diced: Add tests for open dice rust bindings.

Test: atest diced_open_dice_cbor_test
Bug: 198197213
Change-Id: Ib47e92cc268c4fc7c769e1e6291c451237f99d15
diff --git a/diced/open_dice_cbor/Android.bp b/diced/open_dice_cbor/Android.bp
index a92c712..3e67045 100644
--- a/diced/open_dice_cbor/Android.bp
+++ b/diced/open_dice_cbor/Android.bp
@@ -34,3 +34,22 @@
     ],
     vendor_available: true,
 }
+
+rust_test {
+    name: "diced_open_dice_cbor_test",
+    crate_name: "diced_open_dice_cbor_test",
+    srcs: ["lib.rs"],
+    test_suites: ["general-tests"],
+    auto_gen_config: true,
+    rustlibs: [
+        "libdiced_sample_inputs",
+        "libkeystore2_crypto_rust",
+        "libopen_dice_bcc_bindgen",
+        "libopen_dice_cbor_bindgen",
+        "libthiserror",
+    ],
+    static_libs: [
+        "libopen_dice_bcc",
+        "libopen_dice_cbor",
+    ],
+}