Apply Upstream code (2021-03-15)
[platform/upstream/connectedhomeip.git] / src / platform / device.gni
index 57821d1..7cb8bb4 100644 (file)
@@ -46,8 +46,11 @@ declare_args() {
       (chip_device_platform == "linux" || chip_device_platform == "darwin" ||
        chip_device_platform == "cc13x2_26x2")
 
-  chip_enable_mdns =
-      chip_device_platform == "linux" || chip_device_platform == "esp32"
+  if (chip_device_platform == "linux" || chip_device_platform == "esp32") {
+    chip_mdns = "minimal"
+  } else {
+    chip_mdns = "none"
+  }
 }
 
 _chip_device_layer = "none"