Index: webkit/glue/webkit_glue.gypi |
diff --git a/webkit/glue/webkit_glue.gypi b/webkit/glue/webkit_glue.gypi |
index 4fb60f6ae367dadb6cbc24dd1706ca4e525a6538..636fd03080373ed35fbcb337c4771aca6d47f3bb 100644 |
--- a/webkit/glue/webkit_glue.gypi |
+++ b/webkit/glue/webkit_glue.gypi |
@@ -352,8 +352,8 @@ |
'websocketstreamhandle_impl.h', |
'webthemeengine_impl_android.cc', |
'webthemeengine_impl_android.h', |
- 'webthemeengine_impl_linux.cc', |
- 'webthemeengine_impl_linux.h', |
+ 'webthemeengine_impl_default.cc', |
+ 'webthemeengine_impl_default.h', |
'webthemeengine_impl_mac.cc', |
'webthemeengine_impl_mac.h', |
'webthemeengine_impl_win.cc', |
@@ -384,6 +384,17 @@ |
# own hard dependencies. |
'hard_dependency': 1, |
'conditions': [ |
+ ['use_default_render_theme==0', { |
+ 'sources/': [ |
+ ['exclude', 'webthemeengine_impl_default.cc'], |
+ ['exclude', 'webthemeengine_impl_default.h'], |
+ ], |
+ }, { # else: use_default_render_theme==1 |
+ 'sources/': [ |
+ ['exclude', 'webthemeengine_impl_win.cc'], |
+ ['exclude', 'webthemeengine_impl_win.h'], |
+ ], |
+ }], |
['toolkit_uses_gtk == 1', { |
'dependencies': [ |
'<(DEPTH)/build/linux/system.gyp:gtk', |