Include the framebuffer lib with the vulkan loader
Adding this dependency to the fuchsia vulkan loader allows the
framebuffer library to serve as the binary-stable display API. Once the
display controller fidl API is stable, it will provide a stable,
statically-linkable display API, at which point this implicitly
available API can be removed.
Change-Id: I464789437b59dfd24d8eabdef2db05cd5266f1f1
diff --git a/loader/BUILD.gn b/loader/BUILD.gn
index bac2977..920ac57 100644
--- a/loader/BUILD.gn
+++ b/loader/BUILD.gn
@@ -81,6 +81,14 @@
# libvulkan.so.
"//garnet/lib/magma:libmagma",
+ # Similarly to libmaga, the loaded libraries depend on the framebuffer
+ # library to provide their WSI implementation a stable zircon display
+ # API.
+ # TODO(ZX-2277): Once the display controller API can provide a stable,
+ # statically linkable display API, switch framebuffer back to a static
+ # library and remove this dependency.
+ "//zircon/public/lib/framebuffer",
+
"//zircon/public/lib/fdio",
]