aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-02-28 21:11:42 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-02-28 21:11:42 +0000
commit59968659dbdab65290d8b523b18b448029624de9 (patch)
tree441db0ef8e1c16d9c6bc6d0ed0760a8ea4c7a661
parentde587d5e34a59e3d55abb267161f5e499c77aa1d (diff)
parent4494fd2edc3962b2a73265eb03dfeacbfc551e94 (diff)
downloadvirtio-drivers-simpleperf-release.tar.gz
Snap for 11510257 from 4494fd2edc3962b2a73265eb03dfeacbfc551e94 to simpleperf-releasesimpleperf-release
Change-Id: I6d6762c6ced9e93b1be00f92fa866fc4bfd3f185
-rw-r--r--cargo2rulesmk.json3
-rw-r--r--patches/rules.mk.diff12
-rw-r--r--rules.mk3
3 files changed, 17 insertions, 1 deletions
diff --git a/cargo2rulesmk.json b/cargo2rulesmk.json
new file mode 100644
index 0000000..5733757
--- /dev/null
+++ b/cargo2rulesmk.json
@@ -0,0 +1,3 @@
+{
+ "patch": "patches/rules.mk.diff"
+} \ No newline at end of file
diff --git a/patches/rules.mk.diff b/patches/rules.mk.diff
new file mode 100644
index 0000000..17d1333
--- /dev/null
+++ b/patches/rules.mk.diff
@@ -0,0 +1,12 @@
+diff --git a/rules.mk b/rules.mk
+index fe61b75..f43c05b 100644
+--- a/rules.mk
++++ b/rules.mk
+@@ -13,6 +13,7 @@ MODULE_RUSTFLAGS += \
+ --cfg 'feature="default"' \
+
+ MODULE_LIBRARY_DEPS := \
++ trusty/user/base/lib/liballoc-rust \
+ external/rust/crates/bitflags \
+ external/rust/crates/log \
+ external/rust/crates/zerocopy \
diff --git a/rules.mk b/rules.mk
index fe61b75..7755d96 100644
--- a/rules.mk
+++ b/rules.mk
@@ -1,4 +1,4 @@
-# This file is generated by cargo2rulesmk.py --run.
+# This file is generated by cargo2rulesmk.py --run --config cargo2rulesmk.json.
# Do not modify this file as changes will be overridden on upgrade.
LOCAL_DIR := $(GET_LOCAL_DIR)
@@ -13,6 +13,7 @@ MODULE_RUSTFLAGS += \
--cfg 'feature="default"' \
MODULE_LIBRARY_DEPS := \
+ trusty/user/base/lib/liballoc-rust \
external/rust/crates/bitflags \
external/rust/crates/log \
external/rust/crates/zerocopy \