diff options
author | Maurice Lam <yukl@google.com> | 2023-12-18 23:33:20 +0000 |
---|---|---|
committer | Maurice Lam <yukl@google.com> | 2023-12-21 21:58:08 +0000 |
commit | 446c795a7e4abd244689c36254ccac649663ba1f (patch) | |
tree | 2378a1c91e19eb2dfab7395706cb97408815b1af | |
parent | 5186c7da7af95f75956402b509c522a4219359aa (diff) | |
download | beto-rust-446c795a7e4abd244689c36254ccac649663ba1f.tar.gz |
Switch beto-rust to using bssl-crypto
Test: TreeHugger
Change-Id: Ic8fa3285983d1f3d77312088f28c1825dbe35f8d
-rw-r--r-- | nearby/Android.bp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/nearby/Android.bp b/nearby/Android.bp index 9237aac..1739424 100644 --- a/nearby/Android.bp +++ b/nearby/Android.bp @@ -76,11 +76,11 @@ rust_library_rlib { cargo_pkg_version: "0.1.0", srcs: ["crypto/crypto_provider_default/src/lib.rs"], edition: "2021", - features: ["opensslbssl"], + features: ["boringssl"], rustlibs: [ "libcfg_if", "libcrypto_provider", - "libcrypto_provider_openssl", + "libcrypto_provider_boringssl", ], apex_available: [ "//apex_available:platform", @@ -89,20 +89,18 @@ rust_library_rlib { } rust_library_rlib { - name: "libcrypto_provider_openssl", + name: "libcrypto_provider_boringssl", host_supported: true, - crate_name: "crypto_provider_openssl", + crate_name: "crypto_provider_boringssl", cargo_env_compat: true, cargo_pkg_version: "0.1.0", - cfgs: ["soong"], - srcs: ["crypto/crypto_provider_openssl/src/lib.rs"], + srcs: ["crypto/crypto_provider_boringssl/src/lib.rs"], edition: "2021", - features: ["boringssl"], rustlibs: [ "libcfg_if", "libcrypto_provider", "libcrypto_provider_stubs", - "libopenssl", + "libbssl_crypto", "librand", ], apex_available: [ |