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", |
| 5 | srcs: ["memtrack.c"], |
| 6 | export_include_dirs: ["include"], |
| 7 | local_include_dirs: ["include"], |
| 8 | include_dirs: ["hardware/libhardware/include"], |
| 9 | shared_libs: [ |
| 10 | "libhardware", |
| 11 | "liblog", |
| 12 | ], |
| 13 | cflags: [ |
| 14 | "-Wall", |
| 15 | "-Werror", |
| 16 | ], |
| 17 | } |
| 18 | |
| 19 | cc_binary { |
| 20 | name: "memtrack_test", |
| 21 | srcs: ["memtrack_test.c"], |
| 22 | shared_libs: [ |
| 23 | "libmemtrack", |
| 24 | "libpagemap", |
| 25 | ], |
| 26 | cflags: [ |
| 27 | "-Wall", |
| 28 | "-Werror", |
| 29 | ], |
| 30 | } |