aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPer Larsen <perlarsen@google.com>2023-06-29 01:14:48 +0000
committerPer Larsen <perlarsen@google.com>2023-06-29 01:14:48 +0000
commit5e1884c1a0b348fa0ad0815edcea3b6ef727eb2e (patch)
tree29e8e6ebebc387ce654fbca1fa8e35052260ce64
parented1c2902aaffaefd366d5b86198c823a8013a16f (diff)
downloadspki-5e1884c1a0b348fa0ad0815edcea3b6ef727eb2e.tar.gz
Adding autogenerated Trusty makefile rules
Bug: 281857510 Change-Id: I62a2090f9227f4a1c75afb237111d04b16577487
-rw-r--r--cargo2rulesmk.json3
-rw-r--r--rules.mk17
2 files changed, 20 insertions, 0 deletions
diff --git a/cargo2rulesmk.json b/cargo2rulesmk.json
new file mode 100644
index 0000000..47578e1
--- /dev/null
+++ b/cargo2rulesmk.json
@@ -0,0 +1,3 @@
+{
+ "features": "alloc"
+}
diff --git a/rules.mk b/rules.mk
new file mode 100644
index 0000000..bd3edb9
--- /dev/null
+++ b/rules.mk
@@ -0,0 +1,17 @@
+# This file is generated by cargo2rulesmk.py --run --config cargo2rulesmk.json --features .
+# Do not modify this file as changes will be overridden on upgrade.
+
+LOCAL_DIR := $(GET_LOCAL_DIR)
+MODULE := $(LOCAL_DIR)
+MODULE_CRATE_NAME := spki
+MODULE_SRCS := \
+ $(LOCAL_DIR)/src/lib.rs \
+
+MODULE_RUST_EDITION := 2021
+MODULE_RUSTFLAGS += \
+ --cfg 'feature="alloc"' \
+
+MODULE_LIBRARY_DEPS := \
+ external/rust/crates/der \
+
+include make/library.mk