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

Unified Diff: components/view_manager/surfaces/BUILD.gn

Issue 1245683004: Mandoline: Merge Surfaces and Views apps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: August 18 Rebase Created 5 years, 4 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/view_manager/surfaces/BUILD.gn
diff --git a/components/view_manager/surfaces/BUILD.gn b/components/view_manager/surfaces/BUILD.gn
index 31aa4cc338153169e6eb98402afbe4c29382601c..8c6c5439857773cedf65f1dd39e104efff14e87c 100644
--- a/components/view_manager/surfaces/BUILD.gn
+++ b/components/view_manager/surfaces/BUILD.gn
@@ -2,28 +2,10 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-import("//mojo/public/mojo_application.gni")
-
-mojo_native_application("surfaces") {
- output_name = "surfaces_service"
- sources = [
- "main.cc",
- ]
-
- deps = [
- ":lib",
- "//mojo/environment:chromium",
- "//third_party/mojo/src/mojo/public/cpp/system",
- ]
-}
-
-source_set("lib") {
+source_set("surfaces") {
sources = [
- "display_delegate.h",
- "display_factory_impl.cc",
- "display_factory_impl.h",
- "display_impl.cc",
- "display_impl.h",
+ "command_buffer_local.cc",
+ "command_buffer_local.h",
"surfaces_context_provider.cc",
"surfaces_context_provider.h",
"surfaces_delegate.h",
@@ -33,10 +15,10 @@ source_set("lib") {
"surfaces_output_surface.h",
"surfaces_scheduler.cc",
"surfaces_scheduler.h",
- "surfaces_service_application.cc",
- "surfaces_service_application.h",
"surfaces_state.cc",
"surfaces_state.h",
+ "top_level_display_client.cc",
+ "top_level_display_client.h",
]
deps = [
@@ -44,7 +26,9 @@ source_set("lib") {
"//cc",
"//cc/surfaces",
"//cc/surfaces:surface_id",
+ "//components/view_manager/gles2",
"//components/view_manager/public/interfaces",
+ "//gpu/command_buffer/client:gles2_implementation",
"//gpu/command_buffer/client:gles2_interface",
"//mojo/application/public/cpp",
"//mojo/common:tracing_impl",

Powered by Google App Engine
This is Rietveld 408576698