diff options
author | Pete Bentley <prb@google.com> | 2022-04-12 19:20:47 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2022-04-12 19:20:47 +0000 |
commit | 9ff3c15dd7596abd15ce8a105b0a6d42dceb1ddb (patch) | |
tree | 16de0257906eded5b58a4f2938ab5726815911e6 | |
parent | 1c4c54db075534ab6532cdc769a96da12c31668a (diff) | |
parent | 67506730c7a6b3fe9ca0217d36e0aa51eac400f4 (diff) | |
download | boringssl-9ff3c15dd7596abd15ce8a105b0a6d42dceb1ddb.tar.gz |
Use static libraries for libcrypto and libssl native tests. am: 00087b4f30 am: 67506730c7
Original change: https://android-review.googlesource.com/c/platform/external/boringssl/+/2061407
Change-Id: Ia2c3f80962d1c77feff883d4f0bf063202054238
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: { |