Use FIND_CRATE to locate dependencies for acpi crate
Due to recent changes in crate locations, we need to use the FIND_CRATE
macro to locate module paths for crates that might have moved to the
monorepo.
Bug: 367477170
Test: build.py generic-x86_64-test --skip-tests
Change-Id: If97d8be72acaa3bf72f0a25470dadee504f1122a
diff --git a/rules.mk b/rules.mk
index dacaa6b..49b9edd 100644
--- a/rules.mk
+++ b/rules.mk
@@ -16,8 +16,8 @@
--cfg 'feature="default"'
MODULE_LIBRARY_DEPS := \
- external/rust/crates/bit_field \
- external/rust/crates/log \
+ $(call FIND_CRATE,bit_field) \
+ $(call FIND_CRATE,log) \
trusty/user/base/lib/libcompiler_builtins-rust \
trusty/user/base/lib/libcore-rust \
trusty/user/base/lib/liballoc-rust \