| // Copyright 2021 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/media/codec/factory/meta/include_codecfactory_testonly.shard.cml", |
| "//src/sys/test_runners/rust/default.shard.cml", |
| "inspect/client.shard.cml", |
| "syslog/client.shard.cml", |
| ], |
| program: { |
| binary: "bin/bt_hfp_audio_gateway_bin_test", |
| }, |
| children: [ |
| { |
| name: "mock-a2dp-controller", |
| url: "#meta/mock-a2dp-controller.cm", |
| }, |
| ], |
| use: [ |
| { |
| protocol: [ "fuchsia.bluetooth.internal.a2dp.Controller" ], |
| from: "#mock-a2dp-controller", |
| }, |
| |
| // See `include_codecfactory_testonly.shard.cml` which defines `#codec-factory` which |
| // provides this capability. |
| { |
| protocol: [ "fuchsia.mediacodec.CodecFactory" ], |
| from: "#codec-factory", |
| }, |
| { |
| protocol: [ |
| "fuchsia.sysmem.Allocator", |
| "fuchsia.sysmem2.Allocator", |
| "fuchsia.tracing.provider.Registry", |
| ], |
| }, |
| ], |
| } |