summaryrefslogtreecommitdiffstats
path: root/libmemtrack/Android.bp
blob: 68c580a45f6eeac1b1f28bb52fe12085aa77996c (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
// Copyright 2013 The Android Open Source Project

cc_library_shared {
    name: "libmemtrack",
    srcs: ["memtrack.cpp"],
    export_include_dirs: ["include"],
    local_include_dirs: ["include"],
    include_dirs: ["hardware/libhardware/include"],
    shared_libs: [
        "libhardware",
        "liblog",
        "libbase",
        "libhidlbase",
        "libhidltransport",
        "libhwbinder",
        "libutils",
        "android.hardware.memtrack@1.0",
    ],
    cflags: [
        "-Wall",
        "-Werror",
    ],
}

cc_binary {
    name: "memtrack_test",
    srcs: ["memtrack_test.c"],
    shared_libs: [
        "libmemtrack",
        "libpagemap",
    ],
    cflags: [
        "-Wall",
        "-Werror",
    ],
}