summaryrefslogtreecommitdiff
path: root/libs/battery/Android.bp
blob: c860324359afa8d71dfbedd5f5b53731e06f2bfb (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
37
package {
    // See: http://go/android-license-faq
    default_applicable_licenses: ["frameworks_native_license"],
}

cc_library {
    name: "libbattery",
    srcs: [
        "LongArrayMultiStateCounter.cpp",
    ],
    shared_libs: [
        "liblog",
    ],
    cflags: [
        "-Werror",
        "-Wall",
        "-Wextra",
    ],
    export_include_dirs: ["."],
}

cc_test {
    name: "libbattery_test",
    srcs: [
        "MultiStateCounterTest.cpp",
        "LongArrayMultiStateCounterTest.cpp",
    ],
    static_libs: ["libbattery"],
    shared_libs: [
        "liblog",
    ],
    cflags: [
        "-Werror",
        "-Wall",
        "-Wextra",
    ],
}