1# Copyright (C) 2024 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15MODULE_SRCS += \
16	$(SRC_DIR)/lib.rs \
17
18MODULE_LIBRARY_DEPS += \
19	$(call FIND_CRATE,libc) \
20	$(call FIND_CRATE,log) \
21	frameworks/native/libs/binder/trusty/rust \
22	frameworks/native/libs/binder/trusty/rust/binder_rpc_server \
23	frameworks/native/libs/binder/trusty/rust/rpcbinder \
24	trusty/user/base/interface/secure_storage/rust \
25	trusty/user/base/lib/trusty-std \
26	trusty/user/base/lib/trusty-log \
27	trusty/user/base/lib/tipc/rust \
28
29MODULE_RUST_TESTS := true
30
31include make/library.mk
32