aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-10-16 20:18:29 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-10-16 20:18:29 +0000
commitdb84e71a75df1ba9bebc96d100a0a78ded662891 (patch)
treed251ef6b2400ce5d46f09f239bb16fcf67bd60cb
parente4e41f72d77e40b876b494426796ab0c496a5a97 (diff)
parente29ce79324bfa3528f2abe82f27b62566254ddbe (diff)
downloadopenssl-db84e71a75df1ba9bebc96d100a0a78ded662891.tar.gz
Snap for 10957012 from e29ce79324bfa3528f2abe82f27b62566254ddbe to simpleperf-release
Change-Id: Ibf213f0e842e0bdbe13a7a88524e25ec19a92549
-rw-r--r--Android.bp17
1 files changed, 14 insertions, 3 deletions
diff --git a/Android.bp b/Android.bp
index 0ece701..7d2407d 100644
--- a/Android.bp
+++ b/Android.bp
@@ -45,8 +45,8 @@ license {
],
}
-rust_library {
- name: "libopenssl",
+rust_defaults {
+ name: "libopenssl_defaults",
host_supported: true,
crate_name: "openssl",
cargo_env_compat: true,
@@ -58,7 +58,6 @@ rust_library {
rustlibs: [
"libbitflags-1.3.2",
"libcfg_if",
- "libbssl_ffi",
"libforeign_types",
"liblibc",
"libonce_cell",
@@ -71,3 +70,15 @@ rust_library {
vendor_available: true,
product_available: true,
}
+
+rust_library {
+ name: "libopenssl",
+ defaults: ["libopenssl_defaults"],
+ rustlibs: ["libbssl_ffi"],
+}
+
+rust_library_host_rlib {
+ name: "libopenssl_static",
+ defaults: ["libopenssl_defaults"],
+ rlibs: ["libbssl_ffi_static"],
+}