| // 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: [ |
| 'syslog/client.shard.cml', |
| ], |
| program: { |
| runner: 'driver', |
| binary: 'lib/libacpi_multiply.so', |
| bind: 'meta/bind/acpi_multiply.bindbc' |
| }, |
| // Consume the ACPI service capability from the parent |
| use: [ |
| { protocol: 'fuchsia.device.fs.Exporter' }, |
| { |
| service: [ |
| 'fuchsia.driver.compat.Service', |
| 'fuchsia.hardware.acpi.Service', |
| ] |
| }, |
| ], |
| // Provide the multiply device capability to other components |
| capabilities: [ |
| { service: 'examples.acpi.multiply.Service' }, |
| ], |
| expose: [ |
| { |
| service: 'examples.acpi.multiply.Service', |
| from: 'self', |
| }, |
| ], |
| } |