Dan Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 1 | // Copyright 2013 The Android Open Source Project |
| 2 | |
| 3 | cc_library_shared { |
| 4 | name: "libmemtrack", |
Ruchi Kandoi | 6e5739d | 2016-10-03 16:56:02 -0700 | [diff] [blame] | 5 | srcs: ["memtrack.cpp"], |
Dan Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 6 | export_include_dirs: ["include"], |
| 7 | local_include_dirs: ["include"], |
| 8 | include_dirs: ["hardware/libhardware/include"], |
| 9 | shared_libs: [ |
| 10 | "libhardware", |
| 11 | "liblog", |
Ruchi Kandoi | 6e5739d | 2016-10-03 16:56:02 -0700 | [diff] [blame] | 12 | "libbase", |
Yifan Hong | 62e840f | 2016-11-17 13:00:55 -0800 | [diff] [blame] | 13 | "libhidlbase", |
| 14 | "libhidltransport", |
Ruchi Kandoi | 6e5739d | 2016-10-03 16:56:02 -0700 | [diff] [blame] | 15 | "libhwbinder", |
| 16 | "libutils", |
| 17 | "android.hardware.memtrack@1.0", |
Dan Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 18 | ], |
| 19 | cflags: [ |
| 20 | "-Wall", |
| 21 | "-Werror", |
| 22 | ], |
| 23 | } |
| 24 | |
| 25 | cc_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 | } |