blob: b363640797a102f3ce404410a1ffad5a9b7a5640 [file] [log] [blame]
Cindy Lin6ec3c2b2024-05-16 07:39:23 +00001// Copyright 2024, 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: ["platform_system_security_mls_rs_crypto_boringssl_license"],
17}
18
19// See: http://go/android-license-faq
20license {
21 name: "platform_system_security_mls_rs_crypto_boringssl_license",
22 visibility: [":__subpackages__"],
23 license_kinds: [
24 "SPDX-license-identifier-Apache-2.0",
25 ],
26 license_text: [
27 "LICENSE-apache",
28 ],
29}
30
31rust_library {
32 name: "libmls_rs_crypto_boringssl",
33 host_supported: true,
34 crate_name: "mls_rs_crypto_boringssl",
35 srcs: ["src/lib.rs"],
36 cfgs: ["mls_build_async"],
37 rustlibs: [
38 "libbssl_crypto",
39 "libmls_rs_codec",
40 "libmls_rs_core",
41 "libmls_rs_crypto_traits",
42 "libthiserror",
43 "libzeroize",
44 ],
45 proc_macros: [
46 "libasync_trait",
47 "libmaybe_async",
48 ],
49 apex_available: [
50 "//apex_available:anyapex",
51 "//apex_available:platform",
52 ],
53 product_available: true,
54 vendor_available: true,
55}