Skip to content

Commit

Permalink
[fuchsia] route fuchsia.sysmem2.Allocator pt 2 (flutter#52509)
Browse files Browse the repository at this point in the history
Fuchsia's fake-display will be migrating to sysmem2, which requires
fuchsia.sysmem2.Allocator to be routed.

fixes flutter/flutter#146858
  • Loading branch information
dustingreen committed May 3, 2024
1 parent ce644e7 commit d8c8cf4
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,11 @@ void FlutterEmbedderTest::SetUpRealmBase() {
Protocol{fuchsia::logger::LogSink::Name_},
Protocol{fuchsia::inspect::InspectSink::Name_},
Protocol{fuchsia::sysmem::Allocator::Name_},

// Replace "fuchsia.sysmem2.Allocator" with
// fuchsia::sysmem2::Allocator::Name_
// when available (fuchsia SDK >= 19).
Protocol{"fuchsia.sysmem2.Allocator"},
Protocol{fuchsia::tracing::provider::Registry::Name_},
Protocol{kVulkanLoaderServiceName},
},
Expand All @@ -249,6 +254,11 @@ void FlutterEmbedderTest::SetUpRealmBase() {
.capabilities = {Protocol{fuchsia::logger::LogSink::Name_},
Protocol{fuchsia::inspect::InspectSink::Name_},
Protocol{fuchsia::sysmem::Allocator::Name_},

// Replace "fuchsia.sysmem2.Allocator" with
// fuchsia::sysmem2::Allocator::Name_
// when available (fuchsia SDK >= 19).
Protocol{"fuchsia.sysmem2.Allocator"},
Protocol{fuchsia::tracing::provider::Registry::Name_},
Protocol{kVulkanLoaderServiceName}},
.source = ParentRef{},
Expand Down

0 comments on commit d8c8cf4

Please sign in to comment.