diff options
author | Pete Bentley <prb@google.com> | 2022-04-12 19:01:28 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2022-04-12 19:01:28 +0000 |
commit | 67506730c7a6b3fe9ca0217d36e0aa51eac400f4 (patch) | |
tree | 16de0257906eded5b58a4f2938ab5726815911e6 | |
parent | 04b0aa091683b4d6f5a3ed8e035ecf34042777db (diff) | |
parent | 00087b4f303765c6303a5a4314d06828cbf4989f (diff) | |
download | boringssl-67506730c7a6b3fe9ca0217d36e0aa51eac400f4.tar.gz |
Use static libraries for libcrypto and libssl native tests. am: 00087b4f30
Original change: https://android-review.googlesource.com/c/platform/external/boringssl/+/2061407
Change-Id: I612d2626f43bd76efad81237d9757062ef96f14b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | Android.bp | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -510,7 +510,9 @@ cc_test { "boringssl_flags", ], whole_static_libs: ["boringssl_test_support"], - shared_libs: ["libcrypto"], + // Statically link the library to test to ensure we always pick up the + // correct version regardless of device linker configuration. + static_libs: ["libcrypto_static"], target: { android: { test_suites: ["mts-conscrypt"], @@ -537,9 +539,10 @@ cc_test { "boringssl_flags", ], whole_static_libs: ["boringssl_test_support"], - - shared_libs: [ - "libcrypto", + // Statically link the libraries to test to ensure we always pick up the + // correct version regardless of device linker configuration. + static_libs: [ + "libcrypto_static", "libssl", ], target: { |