blob: 260546586377b1876c62bd3d148172d5905e13db [file] [log] [blame]
niklase@google.comda159d62011-05-30 11:51:34 +00001# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
2#
3# Use of this source code is governed by a BSD-style license
4# that can be found in the LICENSE file in the root of the source
5# tree. An additional intellectual property rights grant can be found
6# in the file PATENTS. All contributing project authors may
7# be found in the AUTHORS file in the root of the source tree.
8
9{
10 'includes': [
11 'common_settings.gypi', # Common settings
12 ],
13 'targets': [
14 {
15 'target_name': 'auto_tests',
16 'type': 'none',
17 'dependencies': [
18 'voice_engine.gyp:voe_auto_test',
19 'video_engine.gyp:vie_auto_test',
20 ],
21 },
22
23 {
24 'target_name': 'peerconnection_client',
25 'conditions': [
26 ['OS=="win"', {
27 'type': 'executable',
28 'sources': [
29 'peerconnection/samples/client/conductor.cc',
30 'peerconnection/samples/client/conductor.h',
31 'peerconnection/samples/client/defaults.cc',
32 'peerconnection/samples/client/defaults.h',
33 'peerconnection/samples/client/main.cc',
34 'peerconnection/samples/client/main_wnd.cc',
35 'peerconnection/samples/client/main_wnd.h',
36 'peerconnection/samples/client/peer_connection_client.cc',
37 'peerconnection/samples/client/peer_connection_client.h',
38 '../third_party/libjingle/source/talk/base/win32socketinit.cc',
39 '../third_party/libjingle/source/talk/base/win32socketserver.cc',
40 ],
41 'msvs_settings': {
42 'VCLinkerTool': {
43 'SubSystem': '2', # Windows
44 },
45 },
46 }, {
47 'type': 'none',
48 }],
49 ], # conditions
50 'dependencies': [
51 '../third_party/libjingle/libjingle.gyp:libjingle_app',
52 ],
53 'include_dirs': [
54 '../third_party/libjingle/source',
55 ],
56 },
57
58 {
59 'target_name': 'peerconnection_server',
60 'type': 'executable',
61 'sources': [
62 'peerconnection/samples/server/data_socket.cc',
63 'peerconnection/samples/server/data_socket.h',
64 'peerconnection/samples/server/main.cc',
65 'peerconnection/samples/server/peer_channel.cc',
66 'peerconnection/samples/server/peer_channel.h',
67 'peerconnection/samples/server/utils.cc',
68 'peerconnection/samples/server/utils.h',
69 ],
70 },
71 ],
72}