summaryrefslogtreecommitdiffstats
path: root/chrome/chrome_exe.gypi
diff options
context:
space:
mode:
authordavemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-05 02:17:49 +0000
committerdavemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-05 02:17:49 +0000
commitc71fc77963db75fc518483dc38a1b4498499cb6f (patch)
tree2a521b4da36ceb110a7433ac3a710fd4050c3f80 /chrome/chrome_exe.gypi
parent3ec656606fba81d634acf0dca14eb78b7e691902 (diff)
downloadchromium_src-c71fc77963db75fc518483dc38a1b4498499cb6f.zip
chromium_src-c71fc77963db75fc518483dc38a1b4498499cb6f.tar.gz
chromium_src-c71fc77963db75fc518483dc38a1b4498499cb6f.tar.bz2
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
Diffstat (limited to 'chrome/chrome_exe.gypi')
-rw-r--r--chrome/chrome_exe.gypi32
1 files changed, 23 insertions, 9 deletions
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',