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

Unified Diff: ui/gfx/gfx.gyp

Issue 2009073003: Move mojo/converters/geometry -> ui/gfx/geometry/mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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
« no previous file with comments | « ui/gfx/geometry/mojo/mojo_geometry_export.h ('k') | ui/keyboard/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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': [
« no previous file with comments | « ui/gfx/geometry/mojo/mojo_geometry_export.h ('k') | ui/keyboard/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698