Mark Salyzyn | f089e14 | 2018-02-20 10:47:40 -0800 | [diff] [blame] | 1 | cc_library_headers { |
| 2 | name: "llkd_headers", |
| 3 | |
| 4 | export_include_dirs: ["include"], |
| 5 | } |
| 6 | |
| 7 | cc_library_static { |
| 8 | name: "libllkd", |
| 9 | |
| 10 | srcs: [ |
| 11 | "libllkd.cpp", |
| 12 | ], |
| 13 | |
| 14 | shared_libs: [ |
| 15 | "libbase", |
| 16 | "libcutils", |
| 17 | "liblog", |
| 18 | ], |
| 19 | |
| 20 | export_include_dirs: ["include"], |
| 21 | |
| 22 | cflags: ["-Werror"], |
Mark Salyzyn | 96505fa | 2018-08-07 08:13:13 -0700 | [diff] [blame] | 23 | |
| 24 | product_variables: { |
| 25 | debuggable: { |
| 26 | cppflags: ["-D__PTRACE_ENABLED__"], |
| 27 | }, |
| 28 | }, |
Mark Salyzyn | f089e14 | 2018-02-20 10:47:40 -0800 | [diff] [blame] | 29 | } |
| 30 | |
| 31 | cc_binary { |
| 32 | name: "llkd", |
| 33 | |
| 34 | srcs: [ |
| 35 | "llkd.cpp", |
| 36 | ], |
| 37 | shared_libs: [ |
| 38 | "libbase", |
| 39 | "libcutils", |
| 40 | "liblog", |
| 41 | ], |
| 42 | static_libs: [ |
| 43 | "libllkd", |
| 44 | ], |
| 45 | cflags: ["-Werror"], |
| 46 | |
| 47 | init_rc: ["llkd.rc"], |
Mark Salyzyn | 96505fa | 2018-08-07 08:13:13 -0700 | [diff] [blame] | 48 | product_variables: { |
| 49 | debuggable: { |
| 50 | init_rc: ["llkd-debuggable.rc"], |
| 51 | }, |
| 52 | }, |
Mark Salyzyn | f089e14 | 2018-02-20 10:47:40 -0800 | [diff] [blame] | 53 | } |