aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-02-28 21:11:44 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-02-28 21:11:44 +0000
commit6ef6c431ad29fe64a9b9789ecc832cbc2d09897d (patch)
tree2a0cd3069dcfe6e29d1fd05ee9967e541ff15c7a
parent6ab41174ce6f3aba85a6f9a1203521d0c324a52b (diff)
parent05f2bbcbc3d5c35e0234dbb43b0a5d515efc8ec5 (diff)
downloadvm-memory-simpleperf-release.tar.gz
Snap for 11510257 from 05f2bbcbc3d5c35e0234dbb43b0a5d515efc8ec5 to simpleperf-releasesimpleperf-release
Change-Id: Ib09c153138941b544b5b4869e69567636ba86bf4
-rw-r--r--rules.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/rules.mk b/rules.mk
new file mode 100644
index 0000000..4ef7d0b
--- /dev/null
+++ b/rules.mk
@@ -0,0 +1,19 @@
+# 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 := vm_memory
+MODULE_SRCS := \
+ $(LOCAL_DIR)/src/lib.rs \
+
+MODULE_RUST_EDITION := 2021
+MODULE_RUSTFLAGS += \
+ --cfg 'feature="default"' \
+
+MODULE_LIBRARY_DEPS := \
+ external/rust/crates/libc \
+ external/rust/crates/thiserror \
+ external/rust/crates/winapi \
+
+include make/library.mk