blob: 7c68a0633eef2cd8f034f2dc062439435f2bd161 [file] [log] [blame]
// Copyright 2024 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: [
"driver_component/driver.shard.cml",
"syslog/client.shard.cml",
],
program: {
runner: 'driver',
binary: 'driver/test-power-child.so',
bind: 'meta/bind/test-power-child-bind.bindbc',
default_dispatcher_ops: [ "allow_sync_calls" ],
},
capabilities: [
{ protocol: "fuchsia.test.power-integration.Test" },
{ service: "fuchsia.hardware.power.PowerTokenService" },
],
use: [
{ protocol: "fuchsia.power.broker.Topology" },
{ service: "fuchsia.hardware.platform.device.Service" },
{ service: "fuchsia.hardware.power.PowerTokenService" },
],
expose: [
{
protocol: "fuchsia.test.power-integration.Test",
from: "self",
},
{
service: "fuchsia.hardware.power.PowerTokenService",
from: "self",
},
],
// TODO add `expose` of token provider protocol
}