1 cc_library_shared { 2 name: "libnetutils", 3 vendor_available: true, 4 vndk: { 5 enabled: true, 6 }, 7 8 srcs: [ 9 "dhcpclient.c", 10 "dhcpmsg.c", 11 "ifc_utils.c", 12 "packet.c", 13 ], 14 15 shared_libs: [ 16 "libcutils", 17 "liblog", 18 ], 19 20 cflags: ["-Werror"], 21 22 export_include_dirs: ["include"], 23 } 24 25 cc_binary { 26 name: "dhcpdbg", 27 28 srcs: [ 29 "dhcptool.c", 30 ], 31 32 shared_libs: [ 33 "libnetutils", 34 ], 35 36 cflags: ["-Werror"], 37 } 38