aboutsummaryrefslogtreecommitdiff
path: root/webrtc.gyp
diff options
context:
space:
mode:
authortommi@google.com <tommi@google.com@4adac7df-926f-26a2-2b94-8c16560cd09d>2011-08-10 09:03:29 +0000
committertommi@google.com <tommi@google.com@4adac7df-926f-26a2-2b94-8c16560cd09d>2011-08-10 09:03:29 +0000
commitb0d7a87bb0c77811b9f9cfe1522584dda40961db (patch)
tree34414b49cbe1c706877d0b721b7598dfa88d980a /webrtc.gyp
parentc3976c8c92d1f141bc51c81c6d664e5971bbe5c0 (diff)
downloadwebrtc-b0d7a87bb0c77811b9f9cfe1522584dda40961db.tar.gz
Mock implementation for the UI of the linux version of the peerconnection client.
At this point, there's not a lot too it as it only shows what the UI will look like and basically mimics what the Windows version does presently. Review URL: http://webrtc-codereview.appspot.com/92018 git-svn-id: http://webrtc.googlecode.com/svn/trunk@344 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'webrtc.gyp')
-rw-r--r--webrtc.gyp33
1 files changed, 33 insertions, 0 deletions
diff --git a/webrtc.gyp b/webrtc.gyp
index dd9ee91baa..801e1adf52 100644
--- a/webrtc.gyp
+++ b/webrtc.gyp
@@ -74,5 +74,38 @@
},
], # targets
}, ], # OS="win"
+ ['OS=="linux"', {
+ 'targets': [
+ {
+ 'target_name': 'peerconnection_client',
+ 'type': 'executable',
+ 'sources': [
+ 'peerconnection/samples/client/linux/main.cc',
+ 'peerconnection/samples/client/linux/main_wnd.cc',
+ 'peerconnection/samples/client/linux/main_wnd.h',
+ ],
+ 'dependencies': [
+ 'third_party_mods/libjingle/libjingle.gyp:libjingle_app',
+ # TODO(tommi): Switch to this and remove specific gtk dependency
+ # sections below for cflags and link_settings.
+ # '<(DEPTH)/build/linux/system.gyp:gtk',
+ ],
+ 'include_dirs': [
+ 'third_party/libjingle/source',
+ ],
+ 'cflags': [
+ '<!@(pkg-config --cflags gtk+-2.0)',
+ ],
+ 'link_settings': {
+ 'ldflags': [
+ '<!@(pkg-config --libs-only-L --libs-only-other gtk+-2.0 gthread-2.0)',
+ ],
+ 'libraries': [
+ '<!@(pkg-config --libs-only-l gtk+-2.0 gthread-2.0)',
+ ],
+ },
+ },
+ ], # targets
+ }, ], # OS="linux"
], # conditions
}