1// Copyright 2025, 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 15package { 16 default_applicable_licenses: ["system_see_authmgr_license"], 17} 18 19rust_library { 20 name: "libauthmgr_be", 21 crate_name: "authmgr_be", 22 srcs: ["src/lib.rs"], 23 host_supported: true, 24 vendor_available: true, 25 rustlibs: [ 26 "libauthgraph_core", 27 "libauthmgr_common", 28 "libcoset", 29 "liblog_rust", 30 ], 31} 32 33rust_library { 34 name: "libauthmgr_be_test", 35 crate_name: "authmgr_be_test", 36 srcs: ["src/tests.rs"], 37 host_supported: true, 38 rustlibs: [ 39 "libauthgraph_core", 40 "libauthmgr_common", 41 "libauthmgr_common_util", 42 "libauthmgr_be", 43 "libcoset", 44 "libdice_policy_builder", 45 "liblog_rust", 46 ], 47} 48