From 1834a0eb850c8e149fad51c11ee6db748591049b Mon Sep 17 00:00:00 2001 From: Miguel Flores Ruiz de Eguino <1889916+miguelfrde@users.noreply.github.com> Date: Wed, 21 Feb 2024 10:43:11 -0800 Subject: [PATCH] [fuchsia] Remove now unnecessary diagnostics directory. Inspect is now published using InspectSink and we can get rid of this directory. I'm unsure what "debug" and "ctrl" are for so I left them untouched. --- shell/platform/fuchsia/dart_runner/dart_component_controller.cc | 2 +- shell/platform/fuchsia/flutter/component_v2.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/platform/fuchsia/dart_runner/dart_component_controller.cc b/shell/platform/fuchsia/dart_runner/dart_component_controller.cc index a2dbb35ea4a23..c86ff1208cd85 100644 --- a/shell/platform/fuchsia/dart_runner/dart_component_controller.cc +++ b/shell/platform/fuchsia/dart_runner/dart_component_controller.cc @@ -231,7 +231,7 @@ bool DartComponentController::CreateAndBindNamespace() { dart_outgoing_dir_ptr_to_check_on_open_.NewRequest()); // Collect our standard set of directories. - std::vector other_dirs = {"debug", "ctrl", "diagnostics"}; + std::vector other_dirs = {"debug", "ctrl"}; dart_outgoing_dir_ptr_to_check_on_open_.events().OnOpen = [this, other_dirs](zx_status_t status, auto unused) { diff --git a/shell/platform/fuchsia/flutter/component_v2.cc b/shell/platform/fuchsia/flutter/component_v2.cc index ef616bbf4bf4e..98f1f57abfcb4 100644 --- a/shell/platform/fuchsia/flutter/component_v2.cc +++ b/shell/platform/fuchsia/flutter/component_v2.cc @@ -274,7 +274,7 @@ ComponentV2::ComponentV2( // Collect our standard set of directories along with directories that are // included in the cml file to expose. - std::vector other_dirs = {"debug", "ctrl", "diagnostics"}; + std::vector other_dirs = {"debug", "ctrl"}; for (auto dir : metadata.expose_dirs) { other_dirs.push_back(dir); }