blob: 3f67ba361b2b0ab343126c5b3c554af6605e9c4e [file] [log] [blame] [edit]
// 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.
// Add fuzz-manager to core
{
include: [ "inspect/offer.shard.cml" ],
children: [
{
name: "fuzz-manager",
url: "fuchsia-pkg://fuchsia.com/fuzz-manager#meta/fuzz-manager.cm",
environment: "#core-env",
},
{
name: "fuzz-registry",
url: "fuchsia-pkg://fuchsia.com/fuzz-registry#meta/fuzz-registry.cm",
environment: "#core-env",
},
],
offer: [
// Needed to start fuzzers within the Test runner Framework.
{
protocol: [ "fuchsia.test.manager.SuiteRunner" ],
from: "#test_manager",
to: "#fuzz-manager",
},
// Need by fuzz-test-runner to register fuzzers.
{
protocol: [ "fuchsia.fuzzer.Registrar" ],
from: "#fuzz-registry",
to: "#test_manager",
},
// Need by fuzz-manager to connect to fuzzers.
{
protocol: [ "fuchsia.fuzzer.Registry" ],
from: "#fuzz-registry",
to: "#fuzz-manager",
},
{
protocol: "fuchsia.fuzzer.Manager",
from: "#fuzz-manager",
to: "self/toolbox",
target_availability: "unknown",
},
],
}