aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarish Mahendrakar <harish.mahendrakar@ittiam.com>2020-09-17 03:19:24 +0530
committerHarish Mahendrakar <harish.mahendrakar@ittiam.com>2020-09-29 22:37:59 +0000
commit010915c933d15b2a035229830f4d824c1a0559e1 (patch)
treeb68a4d2dcfe8b1dba84b1e5d34f32f268bbbc72e
parent665b814e7de5db3296ad6eeaff275d083e626574 (diff)
downloadusrsctp-010915c933d15b2a035229830f4d824c1a0559e1.tar.gz
Enable device builds for usrsctp
Switch to using shared libcrypto library as static isn't built for devices Bug: 169202556 Test: Builds Change-Id: I26eee10af850fa3543029588a6428daff0a59584
-rw-r--r--Android.bp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index 038934e..972ec97 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,5 +1,7 @@
cc_library_static {
name: "usrsctplib",
+ // vendor needed for libpreprocessing effects.
+ vendor: true,
srcs: [
"usrsctplib/netinet/sctp_asconf.c",
"usrsctplib/netinet/sctp_auth.c",
@@ -50,10 +52,9 @@ cc_library_static {
"-D_GNU_SOURCE",
// TODO has different build flags for mac
],
- static_libs: [
+ shared_libs: [
"libcrypto",
],
host_supported: true,
- device_supported: false,
visibility: ["//external/webrtc:__subpackages__"],
}