diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-02-28 21:11:42 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-02-28 21:11:42 +0000 |
commit | 59968659dbdab65290d8b523b18b448029624de9 (patch) | |
tree | 441db0ef8e1c16d9c6bc6d0ed0760a8ea4c7a661 | |
parent | de587d5e34a59e3d55abb267161f5e499c77aa1d (diff) | |
parent | 4494fd2edc3962b2a73265eb03dfeacbfc551e94 (diff) | |
download | virtio-drivers-simpleperf-release.tar.gz |
Snap for 11510257 from 4494fd2edc3962b2a73265eb03dfeacbfc551e94 to simpleperf-releasesimpleperf-release
Change-Id: I6d6762c6ced9e93b1be00f92fa866fc4bfd3f185
-rw-r--r-- | cargo2rulesmk.json | 3 | ||||
-rw-r--r-- | patches/rules.mk.diff | 12 | ||||
-rw-r--r-- | rules.mk | 3 |
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 \ @@ -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 \ |