Index: ui/gfx/gfx.gyp |
diff --git a/ui/gfx/gfx.gyp b/ui/gfx/gfx.gyp |
index 4e6bf15f6d468f597e3640fd348a7a80bc67cf6c..42a135cd64b0b994eaeaa7fc0e6b8250e3705167 100644 |
--- a/ui/gfx/gfx.gyp |
+++ b/ui/gfx/gfx.gyp |
@@ -3,6 +3,9 @@ |
# found in the LICENSE file. |
{ |
+ 'includes': { |
+ '../../mojo/mojo_variables.gypi', |
nodir
2016/05/26 17:57:57
should be a list?
stgao
2016/05/26 18:28:07
It seems this cause a lot of failures in lkgr.
htt
|
+ }, |
'variables': { |
'chromium_code': 1, |
}, |
@@ -68,6 +71,43 @@ |
], |
}, |
{ |
+ # GN version: //ui/gfx/geometry/mojo:interfaces |
+ 'target_name': 'mojo_geometry_bindings_mojom', |
+ 'type': 'none', |
+ 'variables': { |
+ 'mojom_files': [ |
+ 'geometry/mojo/geometry.mojom', |
+ ], |
+ }, |
+ 'includes': [ '../../mojo/mojom_bindings_generator_explicit.gypi' ], |
+ }, |
+ { |
+ 'target_name': 'mojo_geometry_bindings', |
+ 'type': 'static_library', |
+ 'dependencies': [ |
+ 'mojo_geometry_bindings_mojom', |
+ '../../mojo/mojo_public.gyp:mojo_cpp_bindings', |
+ ], |
+ }, |
+ { |
+ # GN version: //ui/gfx/geometry/mojo |
+ 'target_name': 'mojo_geometry_lib', |
+ 'type': '<(component)', |
+ 'defines': [ |
+ 'MOJO_GEOMETRY_IMPLEMENTATION', |
+ ], |
+ 'dependencies': [ |
+ 'mojo_geometry_bindings', |
+ 'gfx_geometry', |
+ '<(mojo_system_for_component)', |
+ ], |
+ 'sources': [ |
+ 'geometry/mojo/geometry_type_converters.cc', |
+ 'geometry/mojo/geometry_type_converters.h', |
+ 'geometry/mojo/mojo_geometry_export.h', |
+ ], |
+ }, |
+ { |
'target_name': 'gfx_range', |
'type': '<(component)', |
'dependencies': [ |