Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7b31ff81 authored by Muhammad Qureshi's avatar Muhammad Qureshi
Browse files

Add libstatspull and libstatssocket to the apex

Also make libstatssocket dependency static in statsd_test temporarily to use
AStatsEvent_getBuffer in tests.

Bug: 145922701
Bug: 145923416
Test: m

Change-Id: Idb8107cfe4f7d08d08c7a242c037fcc63912bb5f
parent 205a16ab
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -21,6 +21,8 @@ apex {
apex_defaults {
    native_shared_libs: [
        "libstats_jni",
        "libstatspull",
        "libstatssocket",
    ],
    // binaries: ["vold"],
    java_libs: [
+5 −1
Original line number Diff line number Diff line
@@ -299,6 +299,11 @@ cc_test {
    static_libs: [
        "libgmock",
        "libplatformprotos",

        // TODO(b/149842105): Make libstatssocket shared and remove libcutils once statsd_test is
        // moved to the apex.
        "libstatssocket",
        "libcutils",
    ],

    proto: {
@@ -308,7 +313,6 @@ cc_test {

    shared_libs: [
        "libprotobuf-cpp-lite",
        "libstatssocket"
    ],

}