Janis Danisevskis | 13356b2 | 2021-10-20 09:44:12 -0700 | [diff] [blame] | 1 | // 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 | |
| 15 | package { |
| 16 | default_applicable_licenses: ["system_security_license"], |
| 17 | } |
| 18 | |
| 19 | rust_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 Danisevskis | 2cef73f | 2021-11-03 15:02:48 -0700 | [diff] [blame] | 27 | "libopen_dice_bcc_bindgen", |
Janis Danisevskis | 13356b2 | 2021-10-20 09:44:12 -0700 | [diff] [blame] | 28 | "libopen_dice_cbor_bindgen", |
| 29 | "libthiserror", |
| 30 | ], |
| 31 | static_libs: [ |
Janis Danisevskis | 2cef73f | 2021-11-03 15:02:48 -0700 | [diff] [blame] | 32 | "libopen_dice_bcc", |
Janis Danisevskis | 13356b2 | 2021-10-20 09:44:12 -0700 | [diff] [blame] | 33 | "libopen_dice_cbor", |
| 34 | ], |
Janis Danisevskis | aaba4af | 2021-11-18 14:25:07 -0800 | [diff] [blame^] | 35 | vendor_available: true, |
Janis Danisevskis | 13356b2 | 2021-10-20 09:44:12 -0700 | [diff] [blame] | 36 | } |