| // Copyright 2022 The Fuchsia Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| { |
| include: [ |
| "//src/connectivity/network/lib/net_interfaces/client.shard.cml", |
| "syslog/client.shard.cml", |
| ], |
| program: { |
| runner: "elf", |
| binary: "bin/mdns", |
| }, |
| capabilities: [ |
| { |
| protocol: [ |
| "fuchsia.net.mdns.HostNameResolver", |
| "fuchsia.net.mdns.HostNameSubscriber", |
| "fuchsia.net.mdns.ProxyHostPublisher", |
| "fuchsia.net.mdns.Publisher", |
| "fuchsia.net.mdns.Resolver", |
| "fuchsia.net.mdns.ServiceInstancePublisher", |
| "fuchsia.net.mdns.ServiceInstanceResolver", |
| "fuchsia.net.mdns.ServiceSubscriber2", |
| "fuchsia.net.mdns.Subscriber", |
| ], |
| }, |
| ], |
| use: [ |
| { |
| protocol: [ |
| "fuchsia.device.NameProvider", |
| "fuchsia.net.name.Lookup", |
| "fuchsia.posix.socket.Provider", |
| ], |
| }, |
| { |
| directory: "config-data", |
| rights: [ "r*" ], |
| path: "/config/data", |
| }, |
| { |
| directory: "boot", |
| rights: [ "r*" ], |
| path: "/boot", |
| }, |
| ], |
| expose: [ |
| { |
| protocol: [ |
| "fuchsia.net.mdns.HostNameResolver", |
| "fuchsia.net.mdns.HostNameSubscriber", |
| "fuchsia.net.mdns.ProxyHostPublisher", |
| "fuchsia.net.mdns.Publisher", |
| "fuchsia.net.mdns.Resolver", |
| "fuchsia.net.mdns.ServiceInstancePublisher", |
| "fuchsia.net.mdns.ServiceInstanceResolver", |
| "fuchsia.net.mdns.ServiceSubscriber2", |
| "fuchsia.net.mdns.Subscriber", |
| ], |
| from: "self", |
| }, |
| ], |
| } |