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', |