blob: 9310b24d86f0dd7de592076f0bb875f903491bfe [file] [log] [blame]
Dan Willemsen45f05242016-07-12 22:10:56 -07001// Copyright 2013 The Android Open Source Project
2
3cc_library_shared {
4 name: "libmemtrack",
Ruchi Kandoi6e5739d2016-10-03 16:56:02 -07005 srcs: ["memtrack.cpp"],
Dan Willemsen45f05242016-07-12 22:10:56 -07006 export_include_dirs: ["include"],
7 local_include_dirs: ["include"],
8 include_dirs: ["hardware/libhardware/include"],
9 shared_libs: [
10 "libhardware",
11 "liblog",
Ruchi Kandoi6e5739d2016-10-03 16:56:02 -070012 "libbase",
13 "libhidl",
14 "libhwbinder",
15 "libutils",
16 "android.hardware.memtrack@1.0",
Dan Willemsen45f05242016-07-12 22:10:56 -070017 ],
18 cflags: [
19 "-Wall",
20 "-Werror",
21 ],
22}
23
24cc_binary {
25 name: "memtrack_test",
26 srcs: ["memtrack_test.c"],
27 shared_libs: [
28 "libmemtrack",
29 "libpagemap",
30 ],
31 cflags: [
32 "-Wall",
33 "-Werror",
34 ],
35}