Index: ui/gfx/gfx.gyp |
diff --git a/ui/gfx/gfx.gyp b/ui/gfx/gfx.gyp |
index 7a3ed268d20852e679edab61c490eab1a029ddec..c30b9277705ec9ef3c4e0b668af7894b09abe26f 100644 |
--- a/ui/gfx/gfx.gyp |
+++ b/ui/gfx/gfx.gyp |
@@ -237,8 +237,13 @@ |
'ozone/dri/dri_vsync_provider.h', |
'ozone/dri/dri_wrapper.cc', |
'ozone/dri/dri_wrapper.h', |
+ 'ozone/dri/gbm_surface.h', |
+ 'ozone/dri/gbm_surface.cc', |
+ 'ozone/dri/gbm_surface_factory.cc', |
+ 'ozone/dri/gbm_surface_factory.h', |
'ozone/dri/hardware_display_controller.cc', |
'ozone/dri/hardware_display_controller.h', |
+ 'ozone/dri/scanout_surface.h', |
'ozone/impl/file_surface_factory.cc', |
'ozone/impl/file_surface_factory.h', |
'ozone/surface_factory_ozone.cc', |
@@ -452,7 +457,14 @@ |
}], |
['ozone_platform_dri==1', { |
'dependencies': [ |
- '<(DEPTH)/build/linux/system.gyp:dridrm', |
+ '<(DEPTH)/build/linux/system.gyp:dridrm', |
+ ], |
+ }], |
+ ['ozone_platform_gbm==1', { |
+ 'dependencies': [ |
+ '<(DEPTH)/build/linux/system.gyp:dridrm', |
+ '<(DEPTH)/third_party/khronos/khronos.gyp:khronos_headers', |
+ '<(DEPTH)/third_party/mesa/mesa.gyp:mesa_gbm', |
], |
}], |
['desktop_linux==1 or chromeos==1', { |