Index: ui/gfx/surface/surface.gyp |
=================================================================== |
--- ui/gfx/surface/surface.gyp (revision 96780) |
+++ ui/gfx/surface/surface.gyp (working copy) |
@@ -19,7 +19,7 @@ |
'targets': [ |
{ |
'target_name': 'surface', |
- 'type': 'static_library', |
+ 'type': '<(component)', |
'dependencies': [ |
'<(DEPTH)/base/base.gyp:base', |
'<(DEPTH)/skia/skia.gyp:skia', |
@@ -35,11 +35,15 @@ |
'accelerated_surface_wayland.h', |
'io_surface_support_mac.cc', |
'io_surface_support_mac.h', |
+ 'surface_export.h', |
'transport_dib.h', |
'transport_dib_linux.cc', |
'transport_dib_mac.cc', |
'transport_dib_win.cc', |
], |
+ 'defines': [ |
+ 'SURFACE_IMPLEMENTATION', |
+ ], |
'conditions': [ |
['use_wayland == 1', { |
'sources/': [ |