diff options
author | erg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-22 03:12:31 +0000 |
---|---|---|
committer | erg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-22 03:12:31 +0000 |
commit | a47aa89e77066507e80f97839e0c08e3432379ab (patch) | |
tree | 9e58424dbb240bf676ba29a1da9da763e029a2c1 /build | |
parent | 7ffe7e1bbdebf463804537faca533326fe579499 (diff) | |
download | chromium_src-a47aa89e77066507e80f97839e0c08e3432379ab.zip chromium_src-a47aa89e77066507e80f97839e0c08e3432379ab.tar.gz chromium_src-a47aa89e77066507e80f97839e0c08e3432379ab.tar.bz2 |
GTK: Make the gtk port compile with GTK_DISABLE_SINGLE_INCLUDES.
BUG=79722
TEST=none
TBR=tony
Review URL: http://codereview.chromium.org/8586044
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111090 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r-- | build/common.gypi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi index e54edfe..390697c1 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -984,6 +984,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'], }], |