Add rules.mk for authmgr-be crate Test: N/A Bug: 369145005 Change-Id: Ib2c03702589e02287be3b25eb4cdafe34e933a2c
diff --git a/lib/authmgr-be-rust/rules.mk b/lib/authmgr-be-rust/rules.mk new file mode 100644 index 0000000..67235c1 --- /dev/null +++ b/lib/authmgr-be-rust/rules.mk
@@ -0,0 +1,30 @@ +# Copyright (C) 2025 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +LOCAL_DIR := $(GET_LOCAL_DIR) + +MODULE := $(LOCAL_DIR) + +MODULE_SRCS := system/see/authmgr/authmgr-be/src/lib.rs + +MODULE_CRATE_NAME := authmgr_be + +MODULE_LIBRARY_EXPORTED_DEPS += \ + trusty/user/base/lib/authgraph-rust/core \ + trusty/user/base/lib/authmgr-common-rust \ + $(call FIND_CRATE,coset) \ + $(call FIND_CRATE,log) \ + +include make/library.mk