blob: a92c712cad896a92a7996b8410b9345596534a85 [file] [log] [blame]
Janis Danisevskis13356b22021-10-20 09:44:12 -07001// Copyright 2021, 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_security_license"],
17}
18
19rust_library {
20 name: "libdiced_open_dice_cbor",
21 crate_name: "diced_open_dice_cbor",
22 srcs: ["lib.rs"],
23
24 rustlibs: [
25 // For ZVec
26 "libkeystore2_crypto_rust",
Janis Danisevskis2cef73f2021-11-03 15:02:48 -070027 "libopen_dice_bcc_bindgen",
Janis Danisevskis13356b22021-10-20 09:44:12 -070028 "libopen_dice_cbor_bindgen",
29 "libthiserror",
30 ],
31 static_libs: [
Janis Danisevskis2cef73f2021-11-03 15:02:48 -070032 "libopen_dice_bcc",
Janis Danisevskis13356b22021-10-20 09:44:12 -070033 "libopen_dice_cbor",
34 ],
Janis Danisevskisaaba4af2021-11-18 14:25:07 -080035 vendor_available: true,
Janis Danisevskis13356b22021-10-20 09:44:12 -070036}