1cc_library_headers { 2 name: "llkd_headers", 3 4 export_include_dirs: ["include"], 5} 6 7cc_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"], 23 24 product_variables: { 25 debuggable: { 26 cppflags: ["-D__PTRACE_ENABLED__"], 27 }, 28 }, 29} 30 31cc_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"], 48 product_variables: { 49 debuggable: { 50 init_rc: ["llkd-debuggable.rc"], 51 }, 52 }, 53} 54