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", |
| 13 | "libhidl", |
| 14 | "libhwbinder", |
| 15 | "libutils", |
| 16 | "android.hardware.memtrack@1.0", |
Dan Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 17 | ], |
| 18 | cflags: [ |
| 19 | "-Wall", |
| 20 | "-Werror", |
| 21 | ], |
| 22 | } |
| 23 | |
| 24 | cc_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 | } |