xref: /aosp_15_r20/system/security/mls/mls-rs-crypto-boringssl/Android.bp (revision e1997b9af69e3155ead6e072d106a0077849ffba)
1*e1997b9aSAndroid Build Coastguard Worker// This file is generated by cargo_embargo.
2*e1997b9aSAndroid Build Coastguard Worker// Do not modify this file after the first "rust_*" or "genrule" module
3*e1997b9aSAndroid Build Coastguard Worker// because the changes will be overridden on upgrade.
4*e1997b9aSAndroid Build Coastguard Worker// Content before the first "rust_*" or "genrule" module is preserved.
5*e1997b9aSAndroid Build Coastguard Worker
6*e1997b9aSAndroid Build Coastguard Workerpackage {
7*e1997b9aSAndroid Build Coastguard Worker    default_applicable_licenses: ["platform_system_security_mls_rs_crypto_boringssl_license"],
8*e1997b9aSAndroid Build Coastguard Worker}
9*e1997b9aSAndroid Build Coastguard Worker
10*e1997b9aSAndroid Build Coastguard Worker// See: http://go/android-license-faq
11*e1997b9aSAndroid Build Coastguard Workerlicense {
12*e1997b9aSAndroid Build Coastguard Worker    name: "platform_system_security_mls_rs_crypto_boringssl_license",
13*e1997b9aSAndroid Build Coastguard Worker    visibility: [":__subpackages__"],
14*e1997b9aSAndroid Build Coastguard Worker    license_kinds: [
15*e1997b9aSAndroid Build Coastguard Worker        "SPDX-license-identifier-Apache-2.0",
16*e1997b9aSAndroid Build Coastguard Worker    ],
17*e1997b9aSAndroid Build Coastguard Worker    license_text: [
18*e1997b9aSAndroid Build Coastguard Worker        "LICENSE-apache",
19*e1997b9aSAndroid Build Coastguard Worker    ],
20*e1997b9aSAndroid Build Coastguard Worker}
21*e1997b9aSAndroid Build Coastguard Worker
22*e1997b9aSAndroid Build Coastguard Workerrust_library {
23*e1997b9aSAndroid Build Coastguard Worker    name: "libmls_rs_crypto_boringssl",
24*e1997b9aSAndroid Build Coastguard Worker    host_supported: true,
25*e1997b9aSAndroid Build Coastguard Worker    crate_name: "mls_rs_crypto_boringssl",
26*e1997b9aSAndroid Build Coastguard Worker    cargo_env_compat: true,
27*e1997b9aSAndroid Build Coastguard Worker    cargo_pkg_version: "0.1.0",
28*e1997b9aSAndroid Build Coastguard Worker    crate_root: "src/lib.rs",
29*e1997b9aSAndroid Build Coastguard Worker    edition: "2021",
30*e1997b9aSAndroid Build Coastguard Worker    cfgs: ["mls_build_async"],
31*e1997b9aSAndroid Build Coastguard Worker    rustlibs: [
32*e1997b9aSAndroid Build Coastguard Worker        "libbssl_crypto",
33*e1997b9aSAndroid Build Coastguard Worker        "libmls_rs_codec",
34*e1997b9aSAndroid Build Coastguard Worker        "libmls_rs_core",
35*e1997b9aSAndroid Build Coastguard Worker        "libmls_rs_crypto_traits",
36*e1997b9aSAndroid Build Coastguard Worker        "libthiserror",
37*e1997b9aSAndroid Build Coastguard Worker        "libzeroize",
38*e1997b9aSAndroid Build Coastguard Worker    ],
39*e1997b9aSAndroid Build Coastguard Worker    proc_macros: [
40*e1997b9aSAndroid Build Coastguard Worker        "libasync_trait",
41*e1997b9aSAndroid Build Coastguard Worker        "libmaybe_async",
42*e1997b9aSAndroid Build Coastguard Worker    ],
43*e1997b9aSAndroid Build Coastguard Worker    apex_available: [
44*e1997b9aSAndroid Build Coastguard Worker        "//apex_available:platform",
45*e1997b9aSAndroid Build Coastguard Worker        "//apex_available:anyapex",
46*e1997b9aSAndroid Build Coastguard Worker    ],
47*e1997b9aSAndroid Build Coastguard Worker    product_available: true,
48*e1997b9aSAndroid Build Coastguard Worker    vendor_available: true,
49*e1997b9aSAndroid Build Coastguard Worker}
50