summaryrefslogtreecommitdiffstats
path: root/chrome/chrome.gyp
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-02 23:31:55 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-02 23:31:55 +0000
commitc24e5d031e408a81cd6a004353b4d3065d29046d (patch)
treec9bd374cca48525c6ca6dfc632ffec298336089b /chrome/chrome.gyp
parent77e802a962b6e3104a43fb8b9c289584f408901e (diff)
downloadchromium_src-c24e5d031e408a81cd6a004353b4d3065d29046d.zip
chromium_src-c24e5d031e408a81cd6a004353b4d3065d29046d.tar.gz
chromium_src-c24e5d031e408a81cd6a004353b4d3065d29046d.tar.bz2
Fix linking with gold by cleaning up lib dependencies.
- Remove pangoft2, we don't use it anywhere. - Add gdk, fontconfig and freetype2 as dependencies of skia. Gdk is used in platform_canvas_linux. - X11, Xrender and Xext are used by the IPC system, so everything that depends on common, needs to link in those libs. By moving the link_settings line into the libcommon.a target, all projects inherit these. Review URL: http://codereview.chromium.org/60070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13055 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome.gyp')
-rw-r--r--chrome/chrome.gyp14
1 files changed, 7 insertions, 7 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index 4e3df4d..199a69d3 100644
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -314,6 +314,13 @@
'dependencies': [
'../build/linux/system.gyp:gtk',
],
+ 'link_settings': {
+ 'libraries': [
+ '-lX11',
+ '-lXrender',
+ '-lXext',
+ ],
+ },
}, { # else: 'OS!="linux"'
'sources!': [
'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc',
@@ -1537,13 +1544,6 @@
# Needed for chrome_dll_main.cc #include of gtk/gtk.h
'../build/linux/system.gyp:gtk',
],
- 'link_settings': {
- 'libraries': [
- '-lX11',
- '-lXrender',
- '-lXext',
- ],
- },
'copies': [
{
'destination': '<(PRODUCT_DIR)',