Migrate libstatspull to libbinder_ndk
Since libstatspull will be placed within the APEX, we need to move to
libbinder_ndk.
Test: m -j libstatspull
Test: atest LibStatsPullTests
Bug: 145213327
Change-Id: I86dd6e759efa5eb20bffc76492d5fa72cf279872
diff --git a/libstats/pull/Android.bp b/libstats/pull/Android.bp
index de59033..827e992 100644
--- a/libstats/pull/Android.bp
+++ b/libstats/pull/Android.bp
@@ -19,9 +19,6 @@
// ==========================================================
cc_library_shared {
name: "libstatspull",
- aidl: {
- include_dirs: ["frameworks/base/core/java"],
- },
srcs: [
"stats_pull_atom_callback.cpp",
],
@@ -31,11 +28,9 @@
],
export_include_dirs: ["include"],
shared_libs: [
- //TODO: use libbinder_ndk. Remove libservices.
- "libbinder",
+ "libbinder_ndk",
"libstatssocket",
- "libservices",
- "statsd-aidl-cpp",
+ "statsd-aidl-ndk_platform",
],
static_libs: [
"liblog",