Android.bp 532 B

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