OLD | NEW |
1 # Copyright (c) 2012 The WebRTC Project Authors. All rights reserved. | 1 # Copyright (c) 2012 The WebRTC Project Authors. All rights reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 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 | 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 | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 { | 8 { |
9 'includes': [ | 9 'includes': [ |
10 '../talk/build/common.gypi', | 10 '../talk/build/common.gypi', |
11 ], | 11 ], |
12 'targets': [ | 12 |
13 { | |
14 'target_name': 'relayserver', | |
15 'type': 'executable', | |
16 'dependencies': [ | |
17 '<(webrtc_root)/base/base.gyp:rtc_base', | |
18 '<(webrtc_root)/pc/pc.gyp:rtc_pc', | |
19 ], | |
20 'sources': [ | |
21 'examples/relayserver/relayserver_main.cc', | |
22 ], | |
23 }, # target relayserver | |
24 { | |
25 'target_name': 'stunserver', | |
26 'type': 'executable', | |
27 'dependencies': [ | |
28 '<(webrtc_root)/base/base.gyp:rtc_base', | |
29 '<(webrtc_root)/pc/pc.gyp:rtc_pc', | |
30 ], | |
31 'sources': [ | |
32 'examples/stunserver/stunserver_main.cc', | |
33 ], | |
34 }, # target stunserver | |
35 { | |
36 'target_name': 'turnserver', | |
37 'type': 'executable', | |
38 'dependencies': [ | |
39 '<(webrtc_root)/base/base.gyp:rtc_base', | |
40 '<(webrtc_root)/pc/pc.gyp:rtc_pc', | |
41 ], | |
42 'sources': [ | |
43 'examples/turnserver/turnserver_main.cc', | |
44 ], | |
45 }, # target turnserver | |
46 { | |
47 'target_name': 'peerconnection_server', | |
48 'type': 'executable', | |
49 'sources': [ | |
50 'examples/peerconnection/server/data_socket.cc', | |
51 'examples/peerconnection/server/data_socket.h', | |
52 'examples/peerconnection/server/main.cc', | |
53 'examples/peerconnection/server/peer_channel.cc', | |
54 'examples/peerconnection/server/peer_channel.h', | |
55 'examples/peerconnection/server/utils.cc', | |
56 'examples/peerconnection/server/utils.h', | |
57 ], | |
58 'dependencies': [ | |
59 '<(webrtc_root)/base/base.gyp:rtc_base', | |
60 '<(webrtc_root)/common.gyp:webrtc_common', | |
61 ], | |
62 # TODO(ronghuawu): crbug.com/167187 fix size_t to int truncations. | |
63 'msvs_disabled_warnings': [ 4309, ], | |
64 }, # target peerconnection_server | |
65 ], | |
66 'conditions': [ | 13 'conditions': [ |
67 ['OS=="linux" or OS=="win"', { | 14 ['OS=="linux" or OS=="win"', { |
68 'targets': [ | 15 'targets': [ |
69 { | 16 { |
| 17 'target_name': 'relayserver', |
| 18 'type': 'executable', |
| 19 'dependencies': [ |
| 20 '<(webrtc_root)/base/base.gyp:rtc_base_approved', |
| 21 '<(webrtc_root)/pc/pc.gyp:rtc_pc', |
| 22 ], |
| 23 'sources': [ |
| 24 'examples/relayserver/relayserver_main.cc', |
| 25 ], |
| 26 }, # target relayserver |
| 27 { |
| 28 'target_name': 'stunserver', |
| 29 'type': 'executable', |
| 30 'dependencies': [ |
| 31 '<(webrtc_root)/base/base.gyp:rtc_base_approved', |
| 32 '<(webrtc_root)/pc/pc.gyp:rtc_pc', |
| 33 ], |
| 34 'sources': [ |
| 35 'examples/stunserver/stunserver_main.cc', |
| 36 ], |
| 37 }, # target stunserver |
| 38 { |
| 39 'target_name': 'turnserver', |
| 40 'type': 'executable', |
| 41 'dependencies': [ |
| 42 '<(webrtc_root)/base/base.gyp:rtc_base_approved', |
| 43 '<(webrtc_root)/pc/pc.gyp:rtc_pc', |
| 44 ], |
| 45 'sources': [ |
| 46 'examples/turnserver/turnserver_main.cc', |
| 47 ], |
| 48 }, # target turnserver |
| 49 { |
| 50 'target_name': 'peerconnection_server', |
| 51 'type': 'executable', |
| 52 'sources': [ |
| 53 'examples/peerconnection/server/data_socket.cc', |
| 54 'examples/peerconnection/server/data_socket.h', |
| 55 'examples/peerconnection/server/main.cc', |
| 56 'examples/peerconnection/server/peer_channel.cc', |
| 57 'examples/peerconnection/server/peer_channel.h', |
| 58 'examples/peerconnection/server/utils.cc', |
| 59 'examples/peerconnection/server/utils.h', |
| 60 ], |
| 61 'dependencies': [ |
| 62 '<(webrtc_root)/base/base.gyp:rtc_base_approved', |
| 63 '<(webrtc_root)/common.gyp:webrtc_common', |
| 64 '<(webrtc_root)/tools/internal_tools.gyp:command_line_parser', |
| 65 ], |
| 66 # TODO(ronghuawu): crbug.com/167187 fix size_t to int truncations. |
| 67 'msvs_disabled_warnings': [ 4309, ], |
| 68 }, # target peerconnection_server |
| 69 { |
70 'target_name': 'peerconnection_client', | 70 'target_name': 'peerconnection_client', |
71 'type': 'executable', | 71 'type': 'executable', |
72 'sources': [ | 72 'sources': [ |
73 'examples/peerconnection/client/conductor.cc', | 73 'examples/peerconnection/client/conductor.cc', |
74 'examples/peerconnection/client/conductor.h', | 74 'examples/peerconnection/client/conductor.h', |
75 'examples/peerconnection/client/defaults.cc', | 75 'examples/peerconnection/client/defaults.cc', |
76 'examples/peerconnection/client/defaults.h', | 76 'examples/peerconnection/client/defaults.h', |
77 'examples/peerconnection/client/peer_connection_client.cc', | 77 'examples/peerconnection/client/peer_connection_client.cc', |
78 'examples/peerconnection/client/peer_connection_client.h', | 78 'examples/peerconnection/client/peer_connection_client.h', |
79 ], | 79 ], |
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
444 'apk_name': 'AppRTCDemoTest', | 444 'apk_name': 'AppRTCDemoTest', |
445 'java_in_dir': 'examples/androidtests', | 445 'java_in_dir': 'examples/androidtests', |
446 'is_test_apk': 1, | 446 'is_test_apk': 1, |
447 }, | 447 }, |
448 'includes': [ '../build/java_apk.gypi' ], | 448 'includes': [ '../build/java_apk.gypi' ], |
449 }, | 449 }, |
450 ], # targets | 450 ], # targets |
451 }], # OS=="android" | 451 }], # OS=="android" |
452 ], | 452 ], |
453 } | 453 } |
OLD | NEW |