summaryrefslogtreecommitdiff
path: root/applypatch
diff options
context:
space:
mode:
authorPete Bentley <prb@google.com>2019-09-12 19:53:46 +0100
committerPete Bentley <prb@google.com>2019-09-13 12:18:44 +0100
commit189d424ceda58a0f0466f1e7c3ad93c3dca24f6f (patch)
treea4e30365a503c194efd9807b077cefba924729e3 /applypatch
parent4878f6a31c4b1a653322d48ca1f4de61fa8a9278 (diff)
Link libcrypto dynamically for recovery unit tests.
Tested by running recovery_unit_test as described in https://android.googlesource.com/platform/bootable/recovery/+/refs/heads/master/README.md Attempted to build and boot a recovery image with the same change to confirm it still works, but m recoveryimage-nodeps fails for me. Bug: 140940227 Test: See above Change-Id: I00545968a0e5684823e505f2ddbe7e993319b5d4
Diffstat (limited to 'applypatch')
-rw-r--r--applypatch/Android.bp10
1 files changed, 8 insertions, 2 deletions
diff --git a/applypatch/Android.bp b/applypatch/Android.bp
index 42aa5295..ae7e9c5c 100644
--- a/applypatch/Android.bp
+++ b/applypatch/Android.bp
@@ -51,12 +51,15 @@ cc_library_static {
"libbase",
"libbspatch",
"libbz",
- "libcrypto",
"libedify",
"libotautil",
"libz",
],
+ shared_libs: [
+ "libcrypto",
+ ],
+
target: {
darwin: {
enabled: false,
@@ -78,10 +81,13 @@ cc_library_static {
static_libs: [
"libapplypatch",
"libbase",
- "libcrypto",
"libedify",
"libotautil",
],
+
+ shared_libs: [
+ "libcrypto",
+ ],
}
cc_binary {