Index: ui/ui_gfx.gypi |
diff --git a/ui/ui_gfx.gypi b/ui/ui_gfx.gypi |
index e4c985717061a164aaf41eca5d4ab5f63682312d..3f85460e73224dcf7eab40e26a3bf1d397cd724e 100644 |
--- a/ui/ui_gfx.gypi |
+++ b/ui/ui_gfx.gypi |
@@ -133,7 +133,7 @@ |
'../third_party/wtl/include', |
], |
}], |
- ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { |
+ ['toolkit_uses_gtk==1', { |
'dependencies': [ |
# font_gtk.cc uses fontconfig. |
# TODO(evanm): I think this is wrong; it should just use GTK. |