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 | 6a7e882 | 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: [ |
Lorenzo Colitti | 2e4280d | 2019-01-20 11:47:12 +0900 | [diff] [blame^] | 9 | "checksum.c", |
Colin Cross | cafe889 | 2017-04-19 16:46:46 -0700 | [diff] [blame] | 10 | "dhcpclient.c", |
| 11 | "dhcpmsg.c", |
| 12 | "ifc_utils.c", |
| 13 | "packet.c", |
| 14 | ], |
| 15 | |
| 16 | shared_libs: [ |
| 17 | "libcutils", |
| 18 | "liblog", |
| 19 | ], |
| 20 | |
| 21 | cflags: ["-Werror"], |
| 22 | |
| 23 | export_include_dirs: ["include"], |
| 24 | } |
Dmitry Shmidt | bc59276 | 2017-05-16 14:20:15 -0700 | [diff] [blame] | 25 | |
| 26 | cc_binary { |
Dmitry Shmidt | d3b2d4f | 2017-05-17 10:47:28 -0700 | [diff] [blame] | 27 | name: "dhcpdbg", |
Dmitry Shmidt | bc59276 | 2017-05-16 14:20:15 -0700 | [diff] [blame] | 28 | |
| 29 | srcs: [ |
| 30 | "dhcptool.c", |
| 31 | ], |
| 32 | |
| 33 | shared_libs: [ |
| 34 | "libnetutils", |
| 35 | ], |
| 36 | |
| 37 | cflags: ["-Werror"], |
| 38 | } |