mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-27 15:32:10 +08:00
dcba40ceea
Bug: 93344 Change-Id: Id794e3c79983b4c2352842edfe73a81ad3958b6e Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/4676565 Commit-Queue: Clayton McCray <claytonmccray@google.com> Commit-Queue: Francois Rousseau <frousseau@google.com> Reviewed-by: Francois Rousseau <frousseau@google.com>
85 lines
2.1 KiB
Plaintext
85 lines
2.1 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.logger.LogSink",
|
|
from: "parent",
|
|
to: [
|
|
"#crashpad_test",
|
|
"#dns_resolver",
|
|
"#netstack",
|
|
]
|
|
},
|
|
{
|
|
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*" ],
|
|
},
|
|
],
|
|
}
|