summaryrefslogtreecommitdiffstats
path: root/build
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 /build
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 'build')
-rw-r--r--build/linux/system.gyp34
1 files changed, 31 insertions, 3 deletions
diff --git a/build/linux/system.gyp b/build/linux/system.gyp
index 73f439a..0c6b7ed 100644
--- a/build/linux/system.gyp
+++ b/build/linux/system.gyp
@@ -33,16 +33,44 @@
},
},
{
- 'target_name': 'pangoft2',
+ 'target_name': 'freetype2',
'type': 'settings',
'direct_dependent_settings': {
'cflags': [
- '<!@(python pkg_config_wrapper.py --cflags pangoft2)',
+ '<!@(python pkg_config_wrapper.py --cflags freetype2)',
],
},
'link_settings': {
'libraries': [
- '<!@(python pkg_config_wrapper.py --libs pangoft2)',
+ '<!@(python pkg_config_wrapper.py --libs freetype2)',
+ ],
+ },
+ },
+ {
+ 'target_name': 'fontconfig',
+ 'type': 'settings',
+ 'direct_dependent_settings': {
+ 'cflags': [
+ '<!@(python pkg_config_wrapper.py --cflags fontconfig)',
+ ],
+ },
+ 'link_settings': {
+ 'libraries': [
+ '<!@(python pkg_config_wrapper.py --libs fontconfig)',
+ ],
+ },
+ },
+ {
+ 'target_name': 'gdk',
+ 'type': 'settings',
+ 'direct_dependent_settings': {
+ 'cflags': [
+ '<!@(python pkg_config_wrapper.py --cflags gdk-2.0)',
+ ],
+ },
+ 'link_settings': {
+ 'libraries': [
+ '<!@(python pkg_config_wrapper.py --libs gdk-2.0)',
],
},
},