Android.bp 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. // APCT build target for metrics tests
  2. cc_benchmark {
  3. name: "netd_benchmark",
  4. defaults: ["netd_defaults"],
  5. shared_libs: [
  6. "libbase",
  7. "libbinder",
  8. "liblog",
  9. "libnetd_client",
  10. "libnetdutils",
  11. ],
  12. static_libs: [
  13. "libnetd_test_dnsresponder",
  14. "libutils",
  15. "dnsresolver_aidl_interface-cpp",
  16. "netd_aidl_interface-cpp",
  17. "netd_event_listener_interface-cpp",
  18. ],
  19. aidl: {
  20. include_dirs: ["system/netd/server/binder"],
  21. },
  22. include_dirs: [
  23. "system/netd/include",
  24. "system/netd/client",
  25. "system/netd/resolv/include",
  26. "system/netd/server",
  27. "system/netd/server/binder",
  28. "system/netd/resolv/dns_responder",
  29. ],
  30. srcs: [
  31. "main.cpp",
  32. "connect_benchmark.cpp",
  33. "dns_benchmark.cpp",
  34. ],
  35. }
  36. cc_benchmark {
  37. name: "bpf_benchmark",
  38. defaults: ["netd_defaults"],
  39. shared_libs: [
  40. "libbase",
  41. "libbpf_android",
  42. "libnetdutils",
  43. ],
  44. static_libs: [
  45. "libutils",
  46. ],
  47. srcs: [
  48. "bpf_benchmark.cpp",
  49. ],
  50. }