Index: ui/ui.gyp |
diff --git a/ui/ui.gyp b/ui/ui.gyp |
index 545e1183828069230933cbbbea83bee8d31060c5..2ef8855ff8002e312fa86823cded9c9ae21841da 100644 |
--- a/ui/ui.gyp |
+++ b/ui/ui.gyp |
@@ -239,6 +239,10 @@ |
'base/layout.cc', |
'base/layout.h', |
'base/layout_mac.mm', |
+ 'base/linux/native_surface_linux_factory.cc', |
+ 'base/linux/native_surface_linux_factory.h', |
+ 'base/linux/native_surface_linux_factory_delegate.cc', |
+ 'base/linux/native_surface_linux_factory_delegate.h', |
'base/models/button_menu_item_model.cc', |
'base/models/button_menu_item_model.h', |
'base/models/combobox_model.cc', |
@@ -818,7 +822,15 @@ |
'base/cursor/cursor_null.cc', |
'base/cursor/cursor_loader_null.cc', |
'base/cursor/cursor_loader_null.h', |
- ], |
+ ], |
+ }], |
+ ['use_native_surface_linux==0', { |
+ 'sources!': [ |
+ 'base/linux/native_surface_linux_factory.cc', |
+ 'base/linux/native_surface_linux_factory.h', |
+ 'base/linux/native_surface_linux_factory_delegate.cc', |
+ 'base/linux/native_surface_linux_factory_delegate.h', |
+ ], |
}], |
['toolkit_views==0', { |
'sources!': [ |