Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 815bafa847cf82c8802ee6749a805f38d6eaa19d..dbc37567ae55f4cb7824b30e027f25d98514dcd3 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -994,6 +994,11 @@ |
['toolkit_uses_gtk==1', { |
'defines': ['TOOLKIT_USES_GTK=1'], |
}], |
+ ['toolkit_uses_gtk==1 and toolkit_views==0', { |
+ # TODO(erg): We are progressively sealing up use of deprecated features |
+ # in gtk in preparation for an eventual porting to gtk3. |
+ 'defines': ['GTK_DISABLE_SINGLE_INCLUDES=1'], |
+ }], |
['chromeos==1', { |
'defines': ['OS_CHROMEOS=1'], |
}], |