Snap for 11926388 from 7039a1a15b to 24Q3-release

Change-Id: I3d4c52601850078afd2df6be9713f0be6c56b531
This commit is contained in:
Android Build Coastguard Worker 2024-06-05 00:21:36 +00:00
commit 97ae037e5e
3 changed files with 30 additions and 15 deletions

View file

@ -1,16 +1,7 @@
// Copyright 2024, The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// This file is generated by cargo_embargo.
// Do not modify this file after the first "rust_*" or "genrule" module
// because the changes will be overridden on upgrade.
// Content before the first "rust_*" or "genrule" module is preserved.
package {
default_applicable_licenses: ["platform_system_security_mls_rs_crypto_boringssl_license"],
@ -32,7 +23,10 @@ rust_library {
name: "libmls_rs_crypto_boringssl",
host_supported: true,
crate_name: "mls_rs_crypto_boringssl",
srcs: ["src/lib.rs"],
cargo_env_compat: true,
cargo_pkg_version: "0.1.0",
crate_root: "src/lib.rs",
edition: "2021",
cfgs: ["mls_build_async"],
rustlibs: [
"libbssl_crypto",
@ -47,8 +41,8 @@ rust_library {
"libmaybe_async",
],
apex_available: [
"//apex_available:anyapex",
"//apex_available:platform",
"//apex_available:anyapex",
],
product_available: true,
vendor_available: true,

View file

@ -0,0 +1,17 @@
[package]
name = "mls-rs-crypto-boringssl"
version = "0.1.0"
edition = "2021"
[dependencies]
bssl-crypto = { path = "../../../../external/boringssl/src/rust/bssl-crypto" }
mls-rs-codec = "0.5.3"
mls-rs-core = "0.18.0"
mls-rs-crypto-traits = "0.10.0"
thiserror = "1.0.49"
zeroize = { version = "1.6.0", features = ["zeroize_derive"] }
maybe-async = "0.2.10"
[target.'cfg(mls_build_async)'.dependencies]
async-trait = "0.1.74"

View file

@ -0,0 +1,4 @@
{
"extra_cfg": ["mls_build_async"],
"run_cargo": false
}