diff --git a/apex/statsd/Android.bp b/apex/statsd/Android.bp index baa1c251324fa..c0f84a0ba0702 100644 --- a/apex/statsd/Android.bp +++ b/apex/statsd/Android.bp @@ -20,7 +20,6 @@ apex { apex_defaults { native_shared_libs: [ - "libstatssocket", "libstatspull", "libstats_jni", ], @@ -77,4 +76,4 @@ cc_library_shared { //TODO (b/148620413): remove platform. "//apex_available:platform", ], -} +} \ No newline at end of file diff --git a/cmds/statsd/Android.bp b/cmds/statsd/Android.bp index 1bcf44e03c092..956fd29205cbe 100644 --- a/cmds/statsd/Android.bp +++ b/cmds/statsd/Android.bp @@ -120,14 +120,13 @@ cc_defaults { "libstatslog", "libstatsmetadata", "libsysutils", - // TODO(b/145923087): move to shared when statsd is moved to the apex - "libstatssocket", "libutils", ], shared_libs: [ "libbinder", "libincident", "liblog", + "libstatssocket", "statsd-aidl-cpp", ], }