summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTejaswi Kallepalli <tkallepalli@google.com>2023-12-11 04:46:57 +0000
committerTejaswi Kallepalli <tkallepalli@google.com>2023-12-11 04:46:57 +0000
commit4363b0a154fd60d5acf1b72e7613106f0917d2e6 (patch)
treee2713007738018f77bc532c32eff4b9572d9b0d1
parent9f6a67ebdf0b195345996574440bc1ef2376389f (diff)
downloadzerocopy-derive-4363b0a154fd60d5acf1b72e7613106f0917d2e6.tar.gz
Add autogenerated Trusty rules.mk
Generate rules.mk for zerocopy-derive using cargo2rulesmk.py script. Bug: 314703810 Test: secdma trusty Change-Id: I4734ed0a81effd18a5998c4cd3be408cd3bb89f2 Signed-off-by: Tejaswi Kallepalli <tkallepalli@google.com>
-rw-r--r--rules.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/rules.mk b/rules.mk
new file mode 100644
index 0000000..de34983
--- /dev/null
+++ b/rules.mk
@@ -0,0 +1,17 @@
+# This file is generated by cargo2rulesmk.py --run.
+# Do not modify this file as changes will be overridden on upgrade.
+
+LOCAL_DIR := $(GET_LOCAL_DIR)
+MODULE := $(LOCAL_DIR)
+MODULE_CRATE_NAME := zerocopy_derive
+MODULE_RUST_CRATE_TYPES := proc-macro
+MODULE_SRCS := \
+ $(LOCAL_DIR)/src/lib.rs \
+
+MODULE_RUST_EDITION := 2018
+MODULE_LIBRARY_DEPS := \
+ external/rust/crates/proc-macro2 \
+ external/rust/crates/quote \
+ external/rust/crates/syn \
+
+include make/library.mk