Colin Cross | cafe889 | 2017-04-19 16:46:46 -0700 | [diff] [blame] | 1 | cc_library_shared { |
| 2 | name: "libnetutils", |
Jayant Chowdhary | 409731e | 2017-05-17 11:44:29 -0700 | [diff] [blame] | 3 | vendor_available: true, |
Justin Yun | 9b0ed72 | 2017-07-24 15:19:45 +0900 | [diff] [blame] | 4 | vndk: { |
| 5 | enabled: true, |
| 6 | }, |
Colin Cross | cafe889 | 2017-04-19 16:46:46 -0700 | [diff] [blame] | 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 | } |
Dmitry Shmidt | bc59276 | 2017-05-16 14:20:15 -0700 | [diff] [blame] | 24 | |
| 25 | cc_binary { |
Dmitry Shmidt | d3b2d4f | 2017-05-17 10:47:28 -0700 | [diff] [blame] | 26 | name: "dhcpdbg", |
Dmitry Shmidt | bc59276 | 2017-05-16 14:20:15 -0700 | [diff] [blame] | 27 | |
| 28 | srcs: [ |
| 29 | "dhcptool.c", |
| 30 | ], |
| 31 | |
| 32 | shared_libs: [ |
| 33 | "libnetutils", |
| 34 | ], |
| 35 | |
| 36 | cflags: ["-Werror"], |
| 37 | } |