[fuchsia] Route diagnostics dictionary to Chromium Update the CML to route from parent/diagnostics instead of from parent. LogSink and InspectSink will be routed through diagnostics dictionaries in the future, and this change is needed in order to allow for a soft-transition to dictionary capabilities rather than directly from parent. It's copied from https://crrev.com/c/6354008 to Crashpad. This change needs to go to crashpad first before merging to Chromium. Bug: 376922343 Change-Id: I76d388827c3a560b1f9dd88168e60458fedda7b8 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/6388762 Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Zijie He <zijiehe@google.com>
diff --git a/test/fuchsia_crashpad_tests.cml b/test/fuchsia_crashpad_tests.cml index d231f8f..7cf5240 100644 --- a/test/fuchsia_crashpad_tests.cml +++ b/test/fuchsia_crashpad_tests.cml
@@ -4,8 +4,6 @@ { include: [ "//src/sys/test_runners/elf/ambient_exec.shard.cml", - "inspect/offer.shard.cml", - "syslog/client.shard.cml", ], program: { binary: "bin/crashpad_tests", @@ -37,6 +35,10 @@ from: "#netstack", }, { + protocol: [ "fuchsia.logger.LogSink" ], + from: "parent/diagnostics", + }, + { protocol: [ "fuchsia.process.Launcher" ], }, { @@ -51,6 +53,15 @@ to: "#crashpad_test", }, { + dictionary: "diagnostics", + from: "parent", + to: [ + "#dns_resolver", + "#netstack", + "#crashpad_test", + ] + }, + { protocol: "fuchsia.net.routes.State", from: "#netstack", to: "#dns_resolver",