xref: /aosp_15_r20/system/authgraph/hal/Android.bp (revision 4185b0660fbe514985fdcf75410317caad8afad1)
1// Copyright 2023, 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_authgraph_license"],
17}
18
19rust_library {
20    name: "libauthgraph_hal",
21    crate_name: "authgraph_hal",
22    srcs: ["src/lib.rs"],
23    vendor_available: true,
24    defaults: [
25        "authgraph_use_latest_hal_aidl_rust",
26    ],
27    rustlibs: [
28        "libauthgraph_wire",
29        "libbinder_rs",
30        "libciborium",
31        "libciborium_io",
32        "liblog_rust",
33    ],
34}
35