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

Commit 6b92f75c authored by Salud Lemus's avatar Salud Lemus
Browse files

Make libstatspull host supported

Test: Ran `m` and completed successfully
Change-Id: I069792c0edfbc3a3d648fc060d1437cee581b948
parent 5c253bb6
Loading
Loading
Loading
Loading
+24 −3
Original line number Original line Diff line number Diff line
@@ -30,18 +30,39 @@ cc_defaults {
    shared_libs: [
    shared_libs: [
        "libbinder_ndk",
        "libbinder_ndk",
        "liblog",
        "liblog",
        "libstatssocket",
    ],
    ],
    static_libs: [
    static_libs: [
        "libutils",
        "libutils",
        "statsd-aidl-ndk_platform",
        "statsd-aidl-ndk_platform",
    ],
    ],
    target: {
        android: {
            shared_libs: ["libstatssocket"],
        },
        host: {
            static_libs: ["libstatssocket"],
        },
    },
}
}
cc_library_shared {
cc_library {
    name: "libstatspull",
    name: "libstatspull",
    defaults: [
    defaults: [
        "libstatspull_defaults"
        "libstatspull_defaults",
        "libbinder_ndk_host_user",
    ],
    ],
    host_supported: true,
    target: {
        android: {
            static: {
                enabled: false,
            },
        },
        host: {
            shared: {
                enabled: false,
            },
        },
    },
    // enumerate stable entry points for APEX use
    // enumerate stable entry points for APEX use
    stubs: {
    stubs: {
        symbol_file: "libstatspull.map.txt",
        symbol_file: "libstatspull.map.txt",