Add MDNS aidl
- Add MDNS aidl that NsdService can communicate with mdns service
via binder call instead of using ndc.
- Add mdns_aidl_interface to separate the mdns aidl from
netd_aidl_interface.
Bug: 209894875
Test: atest FrameworksNetTests CtsNetTestCases
Change-Id: I7bcbd6146269bdd9ac973d651a676bd9d126ae2d
diff --git a/staticlibs/netd/Android.bp b/staticlibs/netd/Android.bp
index e249e19..b06d708 100644
--- a/staticlibs/netd/Android.bp
+++ b/staticlibs/netd/Android.bp
@@ -156,3 +156,21 @@
},
},
}
+
+aidl_interface {
+ name: "mdns_aidl_interface",
+ local_include_dir: "binder",
+ srcs: [
+ "binder/android/net/mdns/aidl/**/*.aidl",
+ ],
+ backend: {
+ java: {
+ sdk_version: "module_current",
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.tethering",
+ ],
+ min_sdk_version: "30",
+ },
+ },
+}