diff --git a/apex/statsd/Android.bp b/apex/statsd/Android.bp index c0f84a0ba0702..baa1c251324fa 100644 --- a/apex/statsd/Android.bp +++ b/apex/statsd/Android.bp @@ -20,6 +20,7 @@ apex { apex_defaults { native_shared_libs: [ + "libstatssocket", "libstatspull", "libstats_jni", ], @@ -76,4 +77,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 956fd29205cbe..1bcf44e03c092 100644 --- a/cmds/statsd/Android.bp +++ b/cmds/statsd/Android.bp @@ -120,13 +120,14 @@ 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", ], }