aboutsummaryrefslogtreecommitdiff
path: root/gps/android/utils/Android.bp
blob: c3dc17ae10319e7e539c76804ed82fe4701a4b73 (plain) (blame)
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
37
cc_library_static {

    name: "liblocbatterylistener",
    vendor: true,

    sanitize: GNSS_SANITIZE,

    cflags: GNSS_CFLAGS + ["-DBATTERY_LISTENER_ENABLED"],
    local_include_dirs: ["."],

    srcs: ["battery_listener.cpp"],

    shared_libs: [
        "liblog",
        "libhidlbase",
        "libcutils",
        "libutils",
        "android.hardware.health@1.0",
        "android.hardware.health@2.0",
        "android.hardware.health@2.1",
        "android.hardware.power@1.2",
        "libbase",
    ],

    static_libs: ["libhealthhalutils"],

    header_libs: [
        "libgps.utils_headers",
        "libloc_pla_headers",
    ],
}

cc_library_headers {

    name: "liblocbatterylistener_headers",
    export_include_dirs: ["."],
}