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

Unified Diff: mojo/mojo_services.gypi

Issue 510553002: Teach the native viewport service to draw a Surface into itself (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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: mojo/mojo_services.gypi
diff --git a/mojo/mojo_services.gypi b/mojo/mojo_services.gypi
index 93e8d29a52c8e0dd05ecc3ef03d8d3dbcbd4277e..18e2a5e81790faac8c0a7105b373b6ef5ed77ce9 100644
--- a/mojo/mojo_services.gypi
+++ b/mojo/mojo_services.gypi
@@ -132,7 +132,7 @@
],
},
{
- # GN version: //mojo/services/public/cpp/geometry
+ # GN version: //mojo/services/public/cpp/surfaces
'target_name': 'mojo_surfaces_lib',
'type': '<(component)',
'defines': [
@@ -237,12 +237,14 @@
'mojo_base.gyp:mojo_gles2_bindings',
'mojo_geometry_bindings',
'mojo_input_events_bindings',
+ 'mojo_surface_id_bindings',
],
'export_dependent_settings': [
'mojo_base.gyp:mojo_cpp_bindings',
'mojo_base.gyp:mojo_gles2_bindings',
'mojo_geometry_bindings',
'mojo_input_events_bindings',
+ 'mojo_surface_id_bindings',
],
},
{
@@ -253,6 +255,7 @@
'type': 'static_library',
'dependencies': [
'../base/base.gyp:base',
+ '../cc/cc.gyp:cc_surfaces',
'../ui/events/events.gyp:events',
'../ui/gfx/gfx.gyp:gfx',
'../ui/gfx/gfx.gyp:gfx_geometry',
@@ -264,11 +267,14 @@
'mojo_gpu_bindings',
'mojo_input_events_lib',
'mojo_native_viewport_bindings',
+ 'mojo_surfaces_bindings',
+ 'mojo_surfaces_lib',
],
'export_dependent_settings': [
'mojo_geometry_bindings',
'mojo_gpu_bindings',
'mojo_native_viewport_bindings',
+ 'mojo_surfaces_bindings',
],
'sources': [
'services/native_viewport/gpu_impl.cc',
@@ -282,6 +288,8 @@
'services/native_viewport/platform_viewport_stub.cc',
'services/native_viewport/platform_viewport_win.cc',
'services/native_viewport/platform_viewport_x11.cc',
+ 'services/native_viewport/viewport_surface.cc',
+ 'services/native_viewport/viewport_surface.h',
],
'conditions': [
['OS=="win" or OS=="android" or OS=="linux" or OS=="mac"', {
@@ -569,19 +577,35 @@
'target_name': 'mojo_surfaces_bindings',
'type': 'static_library',
'sources': [
- 'services/public/interfaces/surfaces/surface_id.mojom',
'services/public/interfaces/surfaces/surfaces.mojom',
'services/public/interfaces/surfaces/surfaces_service.mojom',
'services/public/interfaces/surfaces/quads.mojom',
],
'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
+ 'dependencies': [
+ 'mojo_base.gyp:mojo_cpp_bindings',
+ 'mojo_geometry_bindings',
+ 'mojo_surface_id_bindings',
+ ],
'export_dependent_settings': [
'mojo_base.gyp:mojo_cpp_bindings',
+ 'mojo_geometry_bindings',
+ 'mojo_surface_id_bindings',
],
+ },
+ {
+ # GN version: //mojo/services/public/interfaces/surfaces:surface_id
+ 'target_name': 'mojo_surface_id_bindings',
+ 'type': 'static_library',
+ 'sources': [
+ 'services/public/interfaces/surfaces/surface_id.mojom',
+ ],
+ 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
'dependencies': [
'mojo_base.gyp:mojo_cpp_bindings',
- 'mojo_geometry_bindings',
- 'mojo_native_viewport_bindings',
+ ],
+ 'export_dependent_settings': [
+ 'mojo_base.gyp:mojo_cpp_bindings',
],
},
{

Powered by Google App Engine
This is Rietveld 408576698