From c71fc77963db75fc518483dc38a1b4498499cb6f Mon Sep 17 00:00:00 2001 From: "davemoore@chromium.org" Date: Wed, 5 Oct 2011 02:17:49 +0000 Subject: Fixed aura dependencies to not include gtk but bring in necessary X libraries BUG=97131 TEST=None Review URL: http://codereview.chromium.org/8118027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104050 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/chrome_exe.gypi | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) (limited to 'chrome/chrome_exe.gypi') diff --git a/chrome/chrome_exe.gypi b/chrome/chrome_exe.gypi index 219fadb..6f0bfe33 100644 --- a/chrome/chrome_exe.gypi +++ b/chrome/chrome_exe.gypi @@ -122,15 +122,29 @@ }, ], }], - ], - 'dependencies': [ - # On Linux, link the dependencies (libraries) that make up actual - # Chromium functionality directly into the executable. - '<@(chromium_dependencies)', - # Needed for chrome_main.cc initialization of libraries. - '../build/linux/system.gyp:gtk', - # Needed to use the master_preferences functions - 'installer_util', + ['toolkit_uses_gtk == 1', { + 'dependencies': [ + # On Linux, link the dependencies (libraries) that make up actual + # Chromium functionality directly into the executable. + '<@(chromium_dependencies)', + # Needed for chrome_main.cc initialization of libraries. + '../build/linux/system.gyp:gtk', + # Needed to use the master_preferences functions + 'installer_util', + ], + }, { # else toolkit_uses_gtk == 1 + 'dependencies': [ + # On Linux, link the dependencies (libraries) that make up actual + # Chromium functionality directly into the executable. + '<@(chromium_dependencies)', + # Needed for chrome_main.cc initialization of libraries. + '../build/linux/system.gyp:x11', + '../build/linux/system.gyp:pangocairo', + '../build/linux/system.gyp:xext', + # Needed to use the master_preferences functions + 'installer_util', + ], + }], ], 'sources': [ 'app/chrome_dll_resource.h', -- cgit v1.1