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