blob: dd9ee91baac664b350aee4a466be46b5aa9d24a6 [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': [
niklase@google.comf6d205a2011-07-07 09:18:14 +000011 'src/common_settings.gypi', # Common settings
niklase@google.comda159d62011-05-30 11:51:34 +000012 ],
13 'targets': [
14 {
15 'target_name': 'auto_tests',
16 'type': 'none',
17 'dependencies': [
niklase@google.comf6d205a2011-07-07 09:18:14 +000018 'src/voice_engine.gyp:voe_auto_test',
19 'src/video_engine.gyp:vie_auto_test',
niklase@google.comda159d62011-05-30 11:51:34 +000020 ],
leozwang@google.com5e9a6822011-06-20 17:05:14 +000021 },
22 {
23 'target_name': 'cmd_test',
24 'type': 'none',
25 'dependencies': [
niklase@google.comf6d205a2011-07-07 09:18:14 +000026 'src/voice_engine.gyp:voe_cmd_test',
leozwang@google.com5e9a6822011-06-20 17:05:14 +000027 ],
tommi@google.comaefcdf42011-05-31 15:49:22 +000028 },
niklase@google.comda159d62011-05-30 11:51:34 +000029 {
tommi@google.comaefcdf42011-05-31 15:49:22 +000030 'target_name': 'peerconnection_server',
31 'type': 'executable',
32 'sources': [
33 'peerconnection/samples/server/data_socket.cc',
34 'peerconnection/samples/server/data_socket.h',
35 'peerconnection/samples/server/main.cc',
36 'peerconnection/samples/server/peer_channel.cc',
37 'peerconnection/samples/server/peer_channel.h',
38 'peerconnection/samples/server/utils.cc',
39 'peerconnection/samples/server/utils.h',
40 ],
41 },
42 ],
43 'conditions': [
44 ['OS=="win"', {
45 'targets': [
46 {
47 'target_name': 'peerconnection_client',
niklase@google.comda159d62011-05-30 11:51:34 +000048 'type': 'executable',
49 'sources': [
50 'peerconnection/samples/client/conductor.cc',
51 'peerconnection/samples/client/conductor.h',
52 'peerconnection/samples/client/defaults.cc',
53 'peerconnection/samples/client/defaults.h',
54 'peerconnection/samples/client/main.cc',
55 'peerconnection/samples/client/main_wnd.cc',
56 'peerconnection/samples/client/main_wnd.h',
57 'peerconnection/samples/client/peer_connection_client.cc',
58 'peerconnection/samples/client/peer_connection_client.h',
niklase@google.comf6d205a2011-07-07 09:18:14 +000059 'third_party/libjingle/source/talk/base/win32socketinit.cc',
60 'third_party/libjingle/source/talk/base/win32socketserver.cc',
niklase@google.comda159d62011-05-30 11:51:34 +000061 ],
62 'msvs_settings': {
63 'VCLinkerTool': {
64 'SubSystem': '2', # Windows
65 },
66 },
tommi@google.comaefcdf42011-05-31 15:49:22 +000067 'dependencies': [
ronghuawu@google.com35f53452011-08-05 22:08:29 +000068 'third_party_mods/libjingle/libjingle.gyp:libjingle_app',
tommi@google.comaefcdf42011-05-31 15:49:22 +000069 ],
70 'include_dirs': [
ronghuawu@google.com35f53452011-08-05 22:08:29 +000071 'third_party_mods/libjingle/source',
niklase@google.comf6d205a2011-07-07 09:18:14 +000072 'third_party/libjingle/source',
tommi@google.comaefcdf42011-05-31 15:49:22 +000073 ],
74 },
75 ], # targets
76 }, ], # OS="win"
77 ], # conditions
niklase@google.comda159d62011-05-30 11:51:34 +000078}