diff --git a/libstats/pull/Android.bp b/libstats/pull/Android.bp index a7b5d9154..ef1c5c5bd 100644 --- a/libstats/pull/Android.bp +++ b/libstats/pull/Android.bp @@ -30,11 +30,11 @@ cc_defaults { shared_libs: [ "libbinder_ndk", "liblog", - "statsd-aidl-ndk_platform", "libstatssocket", ], static_libs: [ "libutils", + "statsd-aidl-ndk_platform", ], } cc_library_shared { @@ -53,6 +53,9 @@ cc_library_shared { "com.android.os.statsd", "test_com.android.os.statsd", ], + + stl: "libc++_static", + // TODO(b/151102177): Enable it when the build error is fixed. header_abi_checker: { enabled: false, diff --git a/libstats/socket/Android.bp b/libstats/socket/Android.bp index b02ab42b2..c86d65031 100644 --- a/libstats/socket/Android.bp +++ b/libstats/socket/Android.bp @@ -54,6 +54,7 @@ cc_library { }, }, }, + stl: "libc++_static", // enumerate stable entry points for APEX use stubs: {