summaryrefslogtreecommitdiff
path: root/health/Android.bp
blob: cff313272315b5a1adec6e305e0175644b56aae4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
cc_library {
    name: "libpixelhealth",
    vendor: true,
    export_include_dirs: ["include"],

    srcs: [
        "LowBatteryShutdownMetrics.cpp",
        "CycleCountBackupRestore.cpp",
        "DeviceHealth.cpp",
        "BatteryMetricsLogger.cpp",
    ],

    cflags: [
        "-Wall",
        "-Werror",
    ],

    static_libs: [
        "libbatterymonitor",
    ],

    export_shared_lib_headers: [
        "android.frameworks.stats@1.0",
    ],

    shared_libs: [
        "android.frameworks.stats@1.0",
        "hardware.google.pixelstats@1.0",
        "libbase",
        "libcutils",
        "libhidlbase",
        "libhidltransport",
        "libhwbinder",
        "libutils",
    ],
}