blob: 68c580a45f6eeac1b1f28bb52fe12085aa77996c [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",
Yifan Hong62e840f2016-11-17 13:00:55 -080013 "libhidlbase",
14 "libhidltransport",
Ruchi Kandoi6e5739d2016-10-03 16:56:02 -070015 "libhwbinder",
16 "libutils",
17 "android.hardware.memtrack@1.0",
Dan Willemsen45f05242016-07-12 22:10:56 -070018 ],
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}