mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-25 22:30:49 +08:00
41c74f5622
Routing LogSink manually is not needed, as this is done implicitly through the client shard. Future CLs will update the routing used in the shard, so it's necessary to cleanup these duplicate routes in order to update the shards. Bug: fuchsia:345827642 Change-Id: I529ab52412530382240d5c6276c1ef01ab349ecc Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/5941579 Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Brian Bosak <bbosak@google.com>
76 lines
1.8 KiB
Plaintext
76 lines
1.8 KiB
Plaintext
// 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/sys/test_runners/elf/ambient_exec.shard.cml",
|
|
"inspect/offer.shard.cml",
|
|
"syslog/client.shard.cml",
|
|
],
|
|
program: {
|
|
binary: "bin/crashpad_tests",
|
|
|
|
// For ProcessSnapshotFuchsiaTest.AddressSpaceMapping.
|
|
job_policy_ambient_mark_vmo_exec: "true",
|
|
},
|
|
children: [
|
|
{
|
|
name: "dns_resolver",
|
|
url: "#meta/dns_resolver.cm",
|
|
},
|
|
{
|
|
name: "netstack",
|
|
url: "#meta/netstack.cm",
|
|
},
|
|
{
|
|
name: "crashpad_test",
|
|
url: "#meta/crashpad_test.cm",
|
|
},
|
|
],
|
|
use: [
|
|
{
|
|
protocol: [ "fuchsia.net.name.Lookup" ],
|
|
from: "#dns_resolver",
|
|
},
|
|
{
|
|
protocol: [ "fuchsia.posix.socket.Provider" ],
|
|
from: "#netstack",
|
|
},
|
|
{
|
|
protocol: [ "fuchsia.process.Launcher" ],
|
|
},
|
|
{
|
|
storage: "tmp",
|
|
path: "/tmp",
|
|
},
|
|
],
|
|
offer: [
|
|
{
|
|
protocol: "fuchsia.net.name.Lookup",
|
|
from: "#dns_resolver",
|
|
to: "#crashpad_test",
|
|
},
|
|
{
|
|
protocol: "fuchsia.net.routes.State",
|
|
from: "#netstack",
|
|
to: "#dns_resolver",
|
|
},
|
|
{
|
|
protocol: "fuchsia.posix.socket.Provider",
|
|
from: "#netstack",
|
|
to: "#crashpad_test",
|
|
},
|
|
{
|
|
storage: "cache",
|
|
from: "parent",
|
|
to: [ "#netstack" ],
|
|
},
|
|
{
|
|
storage: "tmp",
|
|
from: "parent",
|
|
to: "#crashpad_test",
|
|
rights: [ "rw*" ],
|
|
},
|
|
],
|
|
}
|