1// This file is generated by cargo_embargo.
2// Do not modify this file because the changes will be overridden on upgrade.
3
4package {
5    default_applicable_licenses: ["external_rust_crates_openssl_license"],
6    default_team: "trendy_team_android_rust",
7}
8
9license {
10    name: "external_rust_crates_openssl_license",
11    visibility: [":__subpackages__"],
12    license_kinds: ["SPDX-license-identifier-Apache-2.0"],
13    license_text: ["LICENSE"],
14}
15
16rust_library {
17    name: "libopenssl",
18    host_supported: true,
19    crate_name: "openssl",
20    cargo_env_compat: true,
21    cargo_pkg_version: "0.10.64",
22    crate_root: "src/lib.rs",
23    edition: "2018",
24    features: ["unstable_boringssl"],
25    cfgs: ["boringssl"],
26    rustlibs: [
27        "libbitflags",
28        "libbssl_sys",
29        "libcfg_if",
30        "libforeign_types",
31        "liblibc",
32        "libonce_cell",
33    ],
34    proc_macros: ["libopenssl_macros"],
35    aliases: ["openssl_sys:ffi"],
36    apex_available: [
37        "//apex_available:platform",
38        "com.android.configinfrastructure",
39        "com.android.virt",
40    ],
41    product_available: true,
42    vendor_available: true,
43    min_sdk_version: "29",
44    visibility: [
45        ":__subpackages__",
46        "//external/rust/android-crates-io/crates/tokio-openssl",
47        "//packages/modules/ConfigInfrastructure/aconfigd",
48        "//packages/modules/Virtualization/android/virtualizationservice",
49        "//packages/modules/Virtualization/guest/authfs",
50        "//packages/modules/Virtualization/guest/authfs/src/fsverity/metadata",
51        "//packages/modules/Virtualization/guest/microdroid_manager",
52        "//packages/modules/Virtualization/guest/pvmfw/avb",
53        "//packages/modules/Virtualization/libs/apkverify",
54        "//packages/modules/Virtualization/libs/dice/driver",
55        "//packages/modules/Virtualization/libs/libclient_vm_csr",
56        "//packages/modules/Virtualization/libs/libvm_payload",
57        "//packages/modules/Virtualization/tests/authfs",
58        "//system/authgraph/boringssl",
59        "//system/keymint/boringssl",
60        "//system/security/keystore2/tests",
61        "//system/software_defined_vehicle/core_services/crypto_rpc",
62        "//system/software_defined_vehicle/core_services/sdv_comms/sdk",
63        "//system/software_defined_vehicle/core_services/service_authn",
64        "//system/software_defined_vehicle/core_services/service_discovery/sdv_sd_agent",
65        "//system/software_defined_vehicle/core_services/service_discovery/vvmtruststore",
66        "//system/software_defined_vehicle/core_services/vsidl/middleware/rpc/transport/grpc",
67        "//tools/netsim",
68        "//tools/security/remote_provisioning/hwtrust",
69        "//vendor:__subpackages__",
70    ],
71}
72
73rust_library_host_rlib {
74    name: "libopenssl_static",
75    crate_name: "openssl",
76    cargo_env_compat: true,
77    cargo_pkg_version: "0.10.64",
78    crate_root: "src/lib.rs",
79    edition: "2018",
80    features: ["unstable_boringssl"],
81    cfgs: ["boringssl"],
82    rustlibs: [
83        "libbitflags",
84        "libcfg_if",
85        "libforeign_types",
86        "liblibc",
87        "libonce_cell",
88    ],
89    rlibs: [
90        "libbssl_sys_static",
91    ],
92    proc_macros: ["libopenssl_macros"],
93    aliases: ["openssl_sys:ffi"],
94}
95
96dirgroup {
97    name: "trusty_dirgroup_external_rust_crates_openssl",
98    visibility: ["//trusty/vendor/google/aosp/scripts"],
99    dirs: ["."],
100}
101