summaryrefslogtreecommitdiffstats
path: root/build/linux
diff options
context:
space:
mode:
authorsatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-22 16:57:30 +0000
committersatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-22 16:57:30 +0000
commit49b0187a4f1716da3dc9db4a824e881fef526377 (patch)
tree45237a34ab8b4f7d1000c14506f18f257e4bc863 /build/linux
parent11001e4fbdfa9d49e08c65bb3db924af51fc1a96 (diff)
downloadchromium_src-49b0187a4f1716da3dc9db4a824e881fef526377.zip
chromium_src-49b0187a4f1716da3dc9db4a824e881fef526377.tar.gz
chromium_src-49b0187a4f1716da3dc9db4a824e881fef526377.tar.bz2
Add libdbus dependency for Linux.
This is the first patch for our own D-Bus client library. The D-Bus client code will be placed under 'dbus' on the top level directory More patches will follow. BUG=90036 TEST=try bot to make sure this won't break builds. Review URL: http://codereview.chromium.org/7467031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93658 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/linux')
-rw-r--r--build/linux/system.gyp18
1 files changed, 18 insertions, 0 deletions
diff --git a/build/linux/system.gyp b/build/linux/system.gyp
index d61ac62c..b7f09e4 100644
--- a/build/linux/system.gyp
+++ b/build/linux/system.gyp
@@ -395,6 +395,24 @@
],
},
{
+ 'target_name': 'dbus',
+ 'type': 'settings',
+ 'direct_dependent_settings': {
+ 'cflags': [
+ '<!@(<(pkg-config) --cflags dbus-1)',
+ ],
+ },
+ 'link_settings': {
+ 'ldflags': [
+ '<!@(<(pkg-config) --libs-only-L --libs-only-other dbus-1)',
+ ],
+ 'libraries': [
+ '<!@(<(pkg-config) --libs-only-l dbus-1)',
+ ],
+ },
+ },
+ {
+ # TODO(satorux): Remove this once dbus-glib clients are gone.
'target_name': 'dbus-glib',
'type': 'settings',
'direct_dependent_settings': {