Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ef0eb515 authored by Per Larsen's avatar Per Larsen
Browse files

binder: rules.mk: Use FIND_CRATE to locate dependencies

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: I671671725d7b6d64f7ba6796098131e267c1b164
parent 51b2f8f1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -29,8 +29,8 @@ MODULE_LIBRARY_DEPS += \
	$(LIBBINDER_DIR)/trusty/rust/binder_ndk_sys \
	$(LIBBINDER_DIR)/trusty/rust/binder_rpc_unstable_bindgen \
	$(LIBBINDER_DIR)/trusty/rust/binder_rpc_server_bindgen \
	external/rust/crates/cfg-if \
	external/rust/crates/foreign-types \
	$(call FIND_CRATE,cfg-if) \
	$(call FIND_CRATE,foreign-types) \
	trusty/user/base/lib/tipc/rust \
	trusty/user/base/lib/trusty-sys \

+2 −2
Original line number Diff line number Diff line
@@ -27,8 +27,8 @@ MODULE_LIBRARY_DEPS += \
	$(LIBBINDER_DIR)/trusty/ndk \
	$(LIBBINDER_DIR)/trusty/rust/binder_ndk_sys \
	$(LIBBINDER_DIR)/trusty/rust/binder_rpc_unstable_bindgen \
	external/rust/crates/downcast-rs \
	external/rust/crates/libc \
	$(call FIND_CRATE,downcast-rs) \
	$(call FIND_CRATE,libc) \
	trusty/user/base/lib/trusty-sys \

MODULE_RUSTFLAGS += \