Add libstatspull and libstatssocket to the apex
Also make libstatssocket dependency static in statsd_test temporarily to use AStatsEvent_getBuffer in tests. Bug: 145922701 Bug: 145923416 Test: m Change-Id: Idb8107cfe4f7d08d08c7a242c037fcc63912bb5f
This commit is contained in:
@@ -21,6 +21,8 @@ apex {
|
||||
apex_defaults {
|
||||
native_shared_libs: [
|
||||
"libstats_jni",
|
||||
"libstatspull",
|
||||
"libstatssocket",
|
||||
],
|
||||
// binaries: ["vold"],
|
||||
java_libs: [
|
||||
|
||||
@@ -299,6 +299,11 @@ cc_test {
|
||||
static_libs: [
|
||||
"libgmock",
|
||||
"libplatformprotos",
|
||||
|
||||
// TODO(b/149842105): Make libstatssocket shared and remove libcutils once statsd_test is
|
||||
// moved to the apex.
|
||||
"libstatssocket",
|
||||
"libcutils",
|
||||
],
|
||||
|
||||
proto: {
|
||||
@@ -308,7 +313,6 @@ cc_test {
|
||||
|
||||
shared_libs: [
|
||||
"libprotobuf-cpp-lite",
|
||||
"libstatssocket"
|
||||
],
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user