blob: 095563384c9731df8209cdc500fbadfe287ddfa1 [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",
Justin Yunef59c162017-08-03 15:49:19 +09005 vendor_available: true,
6 vndk: {
7 enabled: true,
8 },
Ruchi Kandoi6e5739d2016-10-03 16:56:02 -07009 srcs: ["memtrack.cpp"],
Dan Willemsen45f05242016-07-12 22:10:56 -070010 export_include_dirs: ["include"],
11 local_include_dirs: ["include"],
12 include_dirs: ["hardware/libhardware/include"],
13 shared_libs: [
14 "libhardware",
15 "liblog",
Ruchi Kandoi6e5739d2016-10-03 16:56:02 -070016 "libbase",
Yifan Hong62e840f2016-11-17 13:00:55 -080017 "libhidlbase",
18 "libhidltransport",
Ruchi Kandoi6e5739d2016-10-03 16:56:02 -070019 "libhwbinder",
20 "libutils",
21 "android.hardware.memtrack@1.0",
Dan Willemsen45f05242016-07-12 22:10:56 -070022 ],
23 cflags: [
24 "-Wall",
25 "-Werror",
26 ],
27}
28
29cc_binary {
30 name: "memtrack_test",
31 srcs: ["memtrack_test.c"],
32 shared_libs: [
33 "libmemtrack",
34 "libpagemap",
35 ],
36 cflags: [
37 "-Wall",
38 "-Werror",
39 ],
40}