Merge "Link libcrypto dynamically for recovery unit tests."

This commit is contained in:
Tobias Thierer 2019-09-13 16:56:06 +00:00 committed by Gerrit Code Review
commit 54100d3348
4 changed files with 13 additions and 5 deletions

View file

@ -51,12 +51,15 @@ cc_library_static {
"libbase", "libbase",
"libbspatch", "libbspatch",
"libbz", "libbz",
"libcrypto",
"libedify", "libedify",
"libotautil", "libotautil",
"libz", "libz",
], ],
shared_libs: [
"libcrypto",
],
target: { target: {
darwin: { darwin: {
enabled: false, enabled: false,
@ -78,10 +81,13 @@ cc_library_static {
static_libs: [ static_libs: [
"libapplypatch", "libapplypatch",
"libbase", "libbase",
"libcrypto",
"libedify", "libedify",
"libotautil", "libotautil",
], ],
shared_libs: [
"libcrypto",
],
} }
cc_binary { cc_binary {

View file

@ -102,11 +102,11 @@ cc_test {
"libfusesideload", "libfusesideload",
"libotautil", "libotautil",
"libadbd", "libadbd",
"libcrypto",
], ],
shared_libs: [ shared_libs: [
"libbase", "libbase",
"libcrypto",
"libcutils", "libcutils",
"liblog", "liblog",
], ],

View file

@ -64,7 +64,6 @@ libapplypatch_static_libs = [
"libbase", "libbase",
"libbrotli", "libbrotli",
"libbz", "libbz",
"libcrypto",
"libz", "libz",
"libziparchive", "libziparchive",
] ]

View file

@ -41,11 +41,14 @@ cc_defaults {
"libziparchive", "libziparchive",
"libz", "libz",
"libbase", "libbase",
"libcrypto",
"libcrypto_utils", "libcrypto_utils",
"libcutils", "libcutils",
"libutils", "libutils",
], ],
shared_libs: [
"libcrypto",
],
} }
cc_defaults { cc_defaults {