Stop depend on libnetd_client_header
Use the new one libnetdbinder_utils which only included required
header from netd.
Create dnsproxyd_protocol_headers for NETID_USE_LOCAL_NAMESERVERS.
Bug: 151895202
Test: build, atest
Change-Id: I13d56bbce94614865fb0d892b1ce0c6f2fffe4af
Merged-In: I13d56bbce94614865fb0d892b1ce0c6f2fffe4af
diff --git a/Android.bp b/Android.bp
index f392e14..03af8d4 100644
--- a/Android.bp
+++ b/Android.bp
@@ -10,6 +10,11 @@
export_include_dirs: ["."],
}
+cc_library_headers {
+ name: "dnsproxyd_protocol_headers",
+ export_include_dirs: ["include/dnsproxyd_protocol"],
+}
+
aidl_interface {
name: "dnsresolver_aidl_interface",
local_include_dir: "binder",
@@ -148,7 +153,7 @@
"libssl",
],
header_libs: [
- "libnetd_client_headers",
+ "libnetdbinder_utils_headers",
],
runtime_libs: [
// Causes the linkerconfig to create a namespace link from resolv to the