summaryrefslogtreecommitdiffstats
path: root/build/linux
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-21 17:52:54 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-21 17:52:54 +0000
commitb6bb36e2e8c9a09b4fd733bf74b60a6f02a5a7e9 (patch)
tree91131329313e02e6c171e007707ab1cb0c3c2be0 /build/linux
parent694cafac21aee4a18638d5dfb0e726d3f237be3d (diff)
downloadchromium_src-b6bb36e2e8c9a09b4fd733bf74b60a6f02a5a7e9.zip
chromium_src-b6bb36e2e8c9a09b4fd733bf74b60a6f02a5a7e9.tar.gz
chromium_src-b6bb36e2e8c9a09b4fd733bf74b60a6f02a5a7e9.tar.bz2
aura: Make 'ui' buildable without gtk.
BUG=97131 TEST=ui_unittests links and runs with use_aura=1 Review URL: http://codereview.chromium.org/7977025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102131 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/linux')
-rw-r--r--build/linux/system.gyp36
1 files changed, 36 insertions, 0 deletions
diff --git a/build/linux/system.gyp b/build/linux/system.gyp
index 688903f..81b619e 100644
--- a/build/linux/system.gyp
+++ b/build/linux/system.gyp
@@ -507,6 +507,42 @@
],
},
{
+ 'target_name': 'pangocairo',
+ 'type': 'settings',
+ 'toolsets': ['host', 'target'],
+ 'conditions': [
+ ['_toolset=="target"', {
+ 'direct_dependent_settings': {
+ 'cflags': [
+ '<!@(<(pkg-config) --cflags pangocairo)',
+ ],
+ },
+ 'link_settings': {
+ 'ldflags': [
+ '<!@(<(pkg-config) --libs-only-L --libs-only-other pangocairo)',
+ ],
+ 'libraries': [
+ '<!@(<(pkg-config) --libs-only-l pangocairo)',
+ ],
+ },
+ }, {
+ 'direct_dependent_settings': {
+ 'cflags': [
+ '<!@(pkg-config --cflags pangocairo)',
+ ],
+ },
+ 'link_settings': {
+ 'ldflags': [
+ '<!@(pkg-config --libs-only-L --libs-only-other pangocairo)',
+ ],
+ 'libraries': [
+ '<!@(pkg-config --libs-only-l pangocairo)',
+ ],
+ },
+ }],
+ ],
+ },
+ {
'target_name': 'libresolv',
'type': 'settings',
'link_settings': {