12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- // APCT build target for metrics tests
- cc_benchmark {
- name: "netd_benchmark",
- defaults: ["netd_defaults"],
- shared_libs: [
- "libbase",
- "libbinder",
- "liblog",
- "libnetd_client",
- "libnetdutils",
- ],
- static_libs: [
- "libnetd_test_dnsresponder",
- "libutils",
- "dnsresolver_aidl_interface-cpp",
- "netd_aidl_interface-cpp",
- "netd_event_listener_interface-cpp",
- ],
- aidl: {
- include_dirs: ["system/netd/server/binder"],
- },
- include_dirs: [
- "system/netd/include",
- "system/netd/client",
- "system/netd/resolv/include",
- "system/netd/server",
- "system/netd/server/binder",
- "system/netd/resolv/dns_responder",
- ],
- srcs: [
- "main.cpp",
- "connect_benchmark.cpp",
- "dns_benchmark.cpp",
- ],
- }
- cc_benchmark {
- name: "bpf_benchmark",
- defaults: ["netd_defaults"],
- shared_libs: [
- "libbase",
- "libbpf_android",
- "libnetdutils",
- ],
- static_libs: [
- "libutils",
- ],
- srcs: [
- "bpf_benchmark.cpp",
- ],
- }
|