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", |
Justin Yun | ef59c16 | 2017-08-03 15:49:19 +0900 | [diff] [blame] | 5 | vendor_available: true, |
| 6 | vndk: { |
| 7 | enabled: true, |
| 8 | }, |
Ruchi Kandoi | 6e5739d | 2016-10-03 16:56:02 -0700 | [diff] [blame] | 9 | srcs: ["memtrack.cpp"], |
Dan Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 10 | export_include_dirs: ["include"], |
| 11 | local_include_dirs: ["include"], |
| 12 | include_dirs: ["hardware/libhardware/include"], |
| 13 | shared_libs: [ |
| 14 | "libhardware", |
| 15 | "liblog", |
Ruchi Kandoi | 6e5739d | 2016-10-03 16:56:02 -0700 | [diff] [blame] | 16 | "libbase", |
Yifan Hong | 62e840f | 2016-11-17 13:00:55 -0800 | [diff] [blame] | 17 | "libhidlbase", |
| 18 | "libhidltransport", |
Ruchi Kandoi | 6e5739d | 2016-10-03 16:56:02 -0700 | [diff] [blame] | 19 | "libhwbinder", |
| 20 | "libutils", |
| 21 | "android.hardware.memtrack@1.0", |
Dan Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 22 | ], |
| 23 | cflags: [ |
| 24 | "-Wall", |
| 25 | "-Werror", |
| 26 | ], |
| 27 | } |
| 28 | |
| 29 | cc_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 | } |