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

Unified Diff: ui/ozone/ozone.gyp

Issue 312393002: ozone: Move the factory interfaces into a common target. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 6 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: ui/ozone/ozone.gyp
diff --git a/ui/ozone/ozone.gyp b/ui/ozone/ozone.gyp
index 3bd833f9d25aec21b61a5c0d148d8cf091dd25d8..daba5550d45004c13755313d096e36f6cbd387c9 100644
--- a/ui/ozone/ozone.gyp
+++ b/ui/ozone/ozone.gyp
@@ -15,6 +15,30 @@
},
'targets': [
{
+ 'target_name': 'ozone_base',
+ 'type': '<(component)',
+ 'dependencies': [
+ '<(DEPTH)/base/base.gyp:base',
+ '<(DEPTH)/skia/skia.gyp:skia',
+ '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
+ ],
+ 'defines': [
+ 'OZONE_BASE_IMPLEMENTATION',
+ ],
+ 'sources': [
+ 'factories/cursor_factory_ozone.cc',
+ 'factories/cursor_factory_ozone.h',
+ 'factories/event_factory_ozone.cc',
+ 'factories/event_factory_ozone.h',
+ 'factories/overlay_candidates_ozone.cc',
+ 'factories/overlay_candidates_ozone.h',
+ 'factories/surface_factory_ozone.cc',
+ 'factories/surface_factory_ozone.h',
+ 'factories/surface_ozone_canvas.h',
+ 'factories/surface_ozone_egl.h',
+ ],
+ },
+ {
'target_name': 'ozone',
'type': '<(component)',
'dependencies': [
@@ -23,10 +47,10 @@
'<(DEPTH)/ui/events/ozone/events_ozone.gyp:events_ozone',
'<(DEPTH)/ui/gfx/gfx.gyp:gfx',
'<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
- '<(DEPTH)/ui/gfx/ozone/gfx_ozone.gyp:gfx_ozone',
'<(DEPTH)/skia/skia.gyp:skia',
'<@(external_ozone_platform_deps)',
'<@(internal_ozone_platform_deps)',
+ 'ozone_base',
],
'defines': [
'OZONE_IMPLEMENTATION',
@@ -85,7 +109,7 @@
'<(DEPTH)/ui/display/display.gyp:display_types',
],
}],
- ]
+ ],
},
{
'target_name': 'ozone_unittests',
@@ -95,6 +119,7 @@
],
'dependencies': [
'ozone',
+ 'ozone_base',
'../../base/base.gyp:base',
'../../base/base.gyp:test_support_base',
'../../testing/gtest.gyp:gtest',

Powered by Google App Engine
This is Rietveld 408576698