1// Copyright 2013 The Android Open Source Project
2
3cc_library_shared {
4    name: "libmemtrack",
5    srcs: ["memtrack.cpp"],
6    export_include_dirs: ["include"],
7    local_include_dirs: ["include"],
8    include_dirs: ["hardware/libhardware/include"],
9    shared_libs: [
10        "libhardware",
11        "liblog",
12        "libbase",
13        "libhidlbase",
14        "libhidltransport",
15        "libhwbinder",
16        "libutils",
17        "android.hardware.memtrack@1.0",
18    ],
19    cflags: [
20        "-Wall",
21        "-Werror",
22    ],
23}
24
25cc_binary {
26    name: "memtrack_test",
27    srcs: ["memtrack_test.c"],
28    shared_libs: [
29        "libmemtrack",
30        "libpagemap",
31    ],
32    cflags: [
33        "-Wall",
34        "-Werror",
35    ],
36}
37