Android.bp 710 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. cc_defaults {
  2. name: "multinetwork_defaults",
  3. cflags: [
  4. "-Wall",
  5. "-Werror",
  6. ],
  7. include_dirs: [
  8. "frameworks/native/include",
  9. ],
  10. srcs: [
  11. "common.cpp",
  12. ],
  13. shared_libs: [
  14. "libandroid",
  15. "libbase",
  16. ],
  17. product_variables: {
  18. // The PDK build does not have access to frameworks/native elements.
  19. pdk: {
  20. enabled: false,
  21. },
  22. },
  23. }
  24. // Sample util binaries.
  25. cc_binary {
  26. name: "dnschk",
  27. defaults: ["multinetwork_defaults"],
  28. srcs: [
  29. "dnschk.cpp",
  30. ],
  31. }
  32. cc_binary {
  33. name: "httpurl",
  34. defaults: ["multinetwork_defaults"],
  35. srcs: [
  36. "httpurl.cpp",
  37. ],
  38. }