Generate rules.mk for uuid via cargo_embargo

Change-Id: Iad598b288167a5e93bacad712301cd3b808c3bbe
diff --git a/crates/uuid/Android.bp b/crates/uuid/Android.bp
index 5d7f1fc..b08a4a2 100644
--- a/crates/uuid/Android.bp
+++ b/crates/uuid/Android.bp
@@ -97,3 +97,9 @@
     product_available: true,
     vendor_available: true,
 }
+
+dirgroup {
+    name: "trusty_dirgroup_external_rust_crates_uuid",
+    visibility: ["//trusty/vendor/google/aosp/scripts"],
+    dirs: ["."],
+}
diff --git a/crates/uuid/cargo_embargo.json b/crates/uuid/cargo_embargo.json
index bb60a33..342c889 100644
--- a/crates/uuid/cargo_embargo.json
+++ b/crates/uuid/cargo_embargo.json
@@ -26,7 +26,8 @@
           "host_supported": false,
           "no_std": true
         }
-      }
+      },
+      "generate_rulesmk": true
     }
   ]
 }
diff --git a/crates/uuid/rules.mk b/crates/uuid/rules.mk
new file mode 100644
index 0000000..15bad0f
--- /dev/null
+++ b/crates/uuid/rules.mk
@@ -0,0 +1,17 @@
+# This file is generated by cargo_embargo.
+# Do not modify this file after the LOCAL_DIR line
+# because the changes will be overridden on upgrade.
+# Content before the first line starting with LOCAL_DIR is preserved.
+// DO NOT SUBMIT: Add license before submitting.
+LOCAL_DIR := $(GET_LOCAL_DIR)
+MODULE := $(LOCAL_DIR)
+MODULE_CRATE_NAME := uuid
+MODULE_RUST_CRATE_TYPES := rlib
+MODULE_SRCS := $(LOCAL_DIR)/src/lib.rs
+MODULE_ADD_IMPLICIT_DEPS := false
+MODULE_RUST_EDITION := 2018
+MODULE_LIBRARY_DEPS := \
+	trusty/user/base/lib/libcompiler_builtins-rust \
+	trusty/user/base/lib/libcore-rust
+
+include make/library.mk