Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(436)

Unified Diff: components/surfaces/BUILD.gn

Issue 1138293002: core_services: Add mojo:surfaces_service to core_services. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/surfaces/BUILD.gn
diff --git a/components/surfaces/BUILD.gn b/components/surfaces/BUILD.gn
index 9c72d24cdeed2da8129896f7659ad986b729172e..16ad2895f97879f5c2977d4ed6f70a4706d295f7 100644
--- a/components/surfaces/BUILD.gn
+++ b/components/surfaces/BUILD.gn
@@ -7,12 +7,24 @@ import("//third_party/mojo/src/mojo/public/mojo_application.gni")
mojo_native_application("surfaces") {
output_name = "surfaces_service"
sources = [
- "context_provider_mojo.cc",
- "context_provider_mojo.h",
+ "main.cc",
+ ]
+
+ deps = [
+ ":lib",
+ "//mojo/environment:chromium",
+ "//third_party/mojo/src/mojo/public/cpp/system",
+ ]
+}
+
+source_set("lib") {
+ sources = [
"display_factory_impl.cc",
"display_factory_impl.h",
"display_impl.cc",
"display_impl.h",
+ "surfaces_context_provider.cc",
+ "surfaces_context_provider.h",
"surfaces_impl.cc",
"surfaces_impl.h",
"surfaces_output_surface.cc",
@@ -36,11 +48,9 @@ mojo_native_application("surfaces") {
"//mojo/common:tracing_impl",
"//mojo/converters/geometry",
"//mojo/converters/surfaces",
- "//mojo/environment:chromium",
"//third_party/mojo/src/mojo/public/c/gles2",
"//third_party/mojo/src/mojo/public/cpp/bindings",
"//third_party/mojo/src/mojo/public/cpp/environment",
- "//third_party/mojo/src/mojo/public/cpp/system",
"//ui/gfx/geometry",
"//ui/mojo/geometry:interfaces",
]
« no previous file with comments | « no previous file | components/surfaces/context_provider_mojo.h » ('j') | mandoline/app/core_services_initialization.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698