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 'targets': [ |
13 { | 13 { |
14 'target_name': 'relayserver', | 14 'target_name': 'relayserver', |
15 'type': 'executable', | 15 'type': 'executable', |
16 'dependencies': [ | 16 'dependencies': [ |
17 '../talk/libjingle.gyp:libjingle', | 17 '<(webrtc_root)/base/base.gyp:rtc_base', |
18 '../talk/libjingle.gyp:libjingle_p2p', | 18 '../talk/libjingle.gyp:libjingle_p2p', |
19 ], | 19 ], |
20 'sources': [ | 20 'sources': [ |
21 'examples/relayserver/relayserver_main.cc', | 21 'examples/relayserver/relayserver_main.cc', |
22 ], | 22 ], |
23 }, # target relayserver | 23 }, # target relayserver |
24 { | 24 { |
25 'target_name': 'stunserver', | 25 'target_name': 'stunserver', |
26 'type': 'executable', | 26 'type': 'executable', |
27 'dependencies': [ | 27 'dependencies': [ |
28 '../talk/libjingle.gyp:libjingle', | 28 '<(webrtc_root)/base/base.gyp:rtc_base', |
29 '../talk/libjingle.gyp:libjingle_p2p', | 29 '../talk/libjingle.gyp:libjingle_p2p', |
30 ], | 30 ], |
31 'sources': [ | 31 'sources': [ |
32 'examples/stunserver/stunserver_main.cc', | 32 'examples/stunserver/stunserver_main.cc', |
33 ], | 33 ], |
34 }, # target stunserver | 34 }, # target stunserver |
35 { | 35 { |
36 'target_name': 'turnserver', | 36 'target_name': 'turnserver', |
37 'type': 'executable', | 37 'type': 'executable', |
38 'dependencies': [ | 38 'dependencies': [ |
39 '../talk/libjingle.gyp:libjingle', | 39 '<(webrtc_root)/base/base.gyp:rtc_base', |
40 '../talk/libjingle.gyp:libjingle_p2p', | 40 '../talk/libjingle.gyp:libjingle_p2p', |
41 ], | 41 ], |
42 'sources': [ | 42 'sources': [ |
43 'examples/turnserver/turnserver_main.cc', | 43 'examples/turnserver/turnserver_main.cc', |
44 ], | 44 ], |
45 }, # target turnserver | 45 }, # target turnserver |
46 { | 46 { |
47 'target_name': 'peerconnection_server', | 47 'target_name': 'peerconnection_server', |
48 'type': 'executable', | 48 'type': 'executable', |
49 'sources': [ | 49 'sources': [ |
50 'examples/peerconnection/server/data_socket.cc', | 50 'examples/peerconnection/server/data_socket.cc', |
51 'examples/peerconnection/server/data_socket.h', | 51 'examples/peerconnection/server/data_socket.h', |
52 'examples/peerconnection/server/main.cc', | 52 'examples/peerconnection/server/main.cc', |
53 'examples/peerconnection/server/peer_channel.cc', | 53 'examples/peerconnection/server/peer_channel.cc', |
54 'examples/peerconnection/server/peer_channel.h', | 54 'examples/peerconnection/server/peer_channel.h', |
55 'examples/peerconnection/server/utils.cc', | 55 'examples/peerconnection/server/utils.cc', |
56 'examples/peerconnection/server/utils.h', | 56 'examples/peerconnection/server/utils.h', |
57 ], | 57 ], |
58 'dependencies': [ | 58 'dependencies': [ |
| 59 '<(webrtc_root)/base/base.gyp:rtc_base', |
59 '<(webrtc_root)/common.gyp:webrtc_common', | 60 '<(webrtc_root)/common.gyp:webrtc_common', |
60 '../talk/libjingle.gyp:libjingle', | |
61 ], | 61 ], |
62 # TODO(ronghuawu): crbug.com/167187 fix size_t to int truncations. | 62 # TODO(ronghuawu): crbug.com/167187 fix size_t to int truncations. |
63 'msvs_disabled_warnings': [ 4309, ], | 63 'msvs_disabled_warnings': [ 4309, ], |
64 }, # target peerconnection_server | 64 }, # target peerconnection_server |
65 ], | 65 ], |
66 'conditions': [ | 66 'conditions': [ |
67 ['OS=="linux" or OS=="win"', { | 67 ['OS=="linux" or OS=="win"', { |
68 'targets': [ | 68 'targets': [ |
69 { | 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 ], |
80 'dependencies': [ | 80 'dependencies': [ |
81 '../talk/libjingle.gyp:libjingle_peerconnection', | 81 '../talk/libjingle.gyp:libjingle_peerconnection', |
82 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:field_trial_defa
ult', | 82 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:field_trial_defa
ult', |
83 '<@(libjingle_tests_additional_deps)', | |
84 ], | 83 ], |
85 'conditions': [ | 84 'conditions': [ |
86 ['build_json==1', { | 85 ['build_json==1', { |
87 'dependencies': [ | 86 'dependencies': [ |
88 '<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp', | 87 '<(DEPTH)/third_party/jsoncpp/jsoncpp.gyp:jsoncpp', |
89 ], | 88 ], |
90 }], | 89 }], |
91 # TODO(ronghuawu): Move these files to a win/ directory then they | 90 # TODO(ronghuawu): Move these files to a win/ directory then they |
92 # can be excluded automatically. | 91 # can be excluded automatically. |
93 ['OS=="win"', { | 92 ['OS=="win"', { |
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
411 'apk_name': 'AppRTCDemoTest', | 410 'apk_name': 'AppRTCDemoTest', |
412 'java_in_dir': 'examples/androidtests', | 411 'java_in_dir': 'examples/androidtests', |
413 'is_test_apk': 1, | 412 'is_test_apk': 1, |
414 }, | 413 }, |
415 'includes': [ '../build/java_apk.gypi' ], | 414 'includes': [ '../build/java_apk.gypi' ], |
416 }, | 415 }, |
417 ], # targets | 416 ], # targets |
418 }], # OS=="android" | 417 }], # OS=="android" |
419 ], | 418 ], |
420 } | 419 } |
OLD | NEW |