components: Add Exosphere component.
Exosphere is a set of display server classes for Chromium that
can be used for building a display server on top of Ash, the
Chrome Compositor and the GpuMemoryBuffer framework.
The classes and interfaces are inspired by the Wayland protocol
and reference implementation of a display server that uses
the Wayland protocol and server library is provided in the
wayland/ sub-directory.
BUG=549781
TEST=components_unittests --gtest_filter=ServerTest.*:SurfaceTest.*:BufferTest.*:DisplayTest.*:ShellSurfaceTest.*:SharedMemoryTest.*
Review URL: https://codereview.chromium.org/1412093006
Cr-Commit-Position: refs/heads/master@{#360672}
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index 2a0fcbe1..e1d05f9 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -901,6 +901,17 @@
if (enable_mojo_media == "utility") {
deps += [ "//media/mojo/services:application" ]
}
+
+ if (enable_wayland_server) {
+ deps += [
+ "//components/exo",
+ "//components/exo/wayland",
+ ]
+ sources += [
+ "chrome_browser_main_extra_parts_exo.cc",
+ "chrome_browser_main_extra_parts_exo.h",
+ ]
+ }
}
if (is_android) {