Index: webkit/glue/webkit_glue.gypi |
diff --git a/webkit/glue/webkit_glue.gypi b/webkit/glue/webkit_glue.gypi |
index 1b1f3df84c3dec4388333d6f2ea440a42690c4e9..3268ea86a614ceb37160da5b6d88fd72e3b819f2 100644 |
--- a/webkit/glue/webkit_glue.gypi |
+++ b/webkit/glue/webkit_glue.gypi |
@@ -445,15 +445,14 @@ |
# own hard dependencies. |
'hard_dependency': 1, |
'conditions': [ |
- ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { |
+ ['toolkit_uses_gtk==1', { |
'dependencies': [ |
'<(DEPTH)/build/linux/system.gyp:gtk', |
], |
'sources!': [ |
'plugins/plugin_stubs.cc', |
], |
- }, { # else: OS!="linux" and OS!="freebsd" and OS!="openbsd" \ |
- # and OS!="solaris"' |
+ }, { # else: toolkit_uses_gtk!=1 |
'sources/': [['exclude', '_(linux|gtk)(_data)?\\.cc$'], |
['exclude', r'/gtk_']], |
}], |