summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build/linux/system.gyp34
-rw-r--r--chrome/chrome.gyp14
-rw-r--r--skia/skia.gyp4
-rw-r--r--webkit/webkit.gyp1
4 files changed, 41 insertions, 12 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)',
],
},
},
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)',
diff --git a/skia/skia.gyp b/skia/skia.gyp
index ae3ccd7..bdf2de1 100644
--- a/skia/skia.gyp
+++ b/skia/skia.gyp
@@ -688,7 +688,9 @@
}],
[ 'OS == "linux"', {
'dependencies': [
- '../build/linux/system.gyp:gtk',
+ '../build/linux/system.gyp:gdk',
+ '../build/linux/system.gyp:fontconfig',
+ '../build/linux/system.gyp:freetype2',
],
'cflags': [
'-Wno-unused',
diff --git a/webkit/webkit.gyp b/webkit/webkit.gyp
index e1ec117..d65dff2 100644
--- a/webkit/webkit.gyp
+++ b/webkit/webkit.gyp
@@ -4446,7 +4446,6 @@
['OS=="linux"', {
'dependencies': [
'../build/linux/system.gyp:gtk',
- '../build/linux/system.gyp:pangoft2',
],
'sources!': [
'glue/plugins/plugin_stubs.cc',