[fuchsia] route fuchsia.sysmem2.Allocator pt 2 (flutter/engine#52509)
Fuchsia's fake-display will be migrating to sysmem2, which requires fuchsia.sysmem2.Allocator to be routed. fixes https://github.com/flutter/flutter/issues/146858
This commit is contained in:
@@ -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},
|
||||
},
|
||||
@@ -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{},
|
||||
|
||||
Reference in New Issue
Block a user