summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Tej Singh <singhtejinder@google.com> 2020-03-05 14:33:15 -0800
committer Tej Singh <singhtejinder@google.com> 2020-03-05 14:37:25 -0800
commitb3915ea3630cc79c550b757511713b412a53eef8 (patch)
treea854b33d667f09e41ee855d4cdad45f7a62333d2
parent1f9f5ddd1cb77c3079bb4d63efcfe3a14038ec28 (diff)
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
-rw-r--r--cmds/statsd/Android.bp6
1 files changed, 4 insertions, 2 deletions
diff --git a/cmds/statsd/Android.bp b/cmds/statsd/Android.bp
index 0c3a49a9d340..a2fee8b6d752 100644
--- a/cmds/statsd/Android.bp
+++ b/cmds/statsd/Android.bp
@@ -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",