Index: webkit/glue/webkit_glue.gypi |
diff --git a/webkit/glue/webkit_glue.gypi b/webkit/glue/webkit_glue.gypi |
index 53a691288f4949e3e14ce311b9c8cb0984fa6cac..466c6bf3280835d6a53aeb9d3112437ecfe13ab9 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_']], |
}], |