Remove libstatssocket from statsd_test
Statsd test links both libstatssocket and libstatssocket_private. It shouldn't need to link both, but needs the private lib to be able to access hidden APIs like getBuffer. So, remove it from statsd_test. Test: atest statsd_test Bug: 150435148 Change-Id: I46e71209489c8b1924800680f26e87ef7f4b8598
This commit is contained in:
@@ -122,7 +122,6 @@ cc_defaults {
|
||||
"libbinder_ndk",
|
||||
"libincident",
|
||||
"liblog",
|
||||
"libstatssocket",
|
||||
"statsd-aidl-ndk_platform",
|
||||
],
|
||||
}
|
||||
@@ -215,7 +214,10 @@ cc_binary {
|
||||
type: "lite",
|
||||
},
|
||||
|
||||
shared_libs: ["libgtest_prod"],
|
||||
shared_libs: [
|
||||
"libgtest_prod",
|
||||
"libstatssocket",
|
||||
],
|
||||
|
||||
apex_available: [
|
||||
"com.android.os.statsd",
|
||||
|
||||
Reference in New Issue
Block a user