Skip to content

Commit

Permalink
[fuchsia] route fuchsia.sysmem2.Allocator pt 2
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.

flutter/flutter#146858
  • Loading branch information
dustingreen committed May 2, 2024
1 parent 7cbef71 commit 08d0d52
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 08d0d52

Please sign in to comment.