Make libstatssocket shared

Also make private versions of the libraries available to link statically
for tests. We should try to figure out a better long term solution.

Test: m
Test: bit statsd_test:*
Test: atest LibStatsPullTests
Test: bit libstatssocket_test:*
Test: atest GtsStatsdHostTestCases
Bug: 149340100

Merged-In: I05b91efab2a657aec75d436575aff4373f86ed3f
(cherry picked from commit eb7d8f4675)
Change-Id: I05b91efab2a657aec75d436575aff4373f86ed3f
This commit is contained in:
Tej Singh
2020-01-29 15:59:35 -08:00
committed by Jiyong Park
parent f38cb36032
commit 3944f2d907

View File

@@ -122,6 +122,13 @@ cc_library {
"liblog",
"libcutils",
],
static_libs: ["libstatssocket"],
target: {
android: {
shared_libs: ["libstatssocket"],
},
host: {
static_libs: ["libstatssocket"],
},
},
}