OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'includes': [ | 6 'includes': [ |
7 '../../build/win_precompile.gypi', | 7 '../../build/win_precompile.gypi', |
8 ], | 8 ], |
9 'variables': { | 9 'variables': { |
10 'enabled_libjingle_device_manager%': 0, | 10 'enabled_libjingle_device_manager%': 0, |
11 'libjingle_additional_deps%': [], | 11 'libjingle_additional_deps%': [], |
12 'libjingle_peerconnection_additional_deps%': [], | 12 'libjingle_peerconnection_additional_deps%': [], |
13 'libjingle_source%': "source", | 13 'libjingle_source%': "source", |
14 'libpeer_target_type%': 'static_library', | 14 'libpeer_target_type%': 'static_library', |
15 'libpeer_allocator_shim%': 0, | 15 'libpeer_allocator_shim%': 0, |
| 16 'webrtc_p2p': "../webrtc/p2p", |
| 17 'webrtc_xmpp': "../webrtc/libjingle/xmpp", |
16 }, | 18 }, |
17 # Most of these settings have been split according to their scope into | 19 # Most of these settings have been split according to their scope into |
18 # :jingle_unexported_configs, :jingle_direct_dependent_configs, | 20 # :jingle_unexported_configs, :jingle_direct_dependent_configs, |
19 # :jingle_all_dependent_configs in the GN build. | 21 # :jingle_all_dependent_configs in the GN build. |
20 'target_defaults': { | 22 'target_defaults': { |
21 'defines': [ | 23 'defines': [ |
22 'EXPAT_RELATIVE_PATH', | 24 'EXPAT_RELATIVE_PATH', |
23 'FEATURE_ENABLE_SSL', | 25 'FEATURE_ENABLE_SSL', |
24 'GTEST_RELATIVE_PATH', | 26 'GTEST_RELATIVE_PATH', |
25 'HAVE_SRTP', | 27 'HAVE_SRTP', |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 ], | 267 ], |
266 }, | 268 }, |
267 'targets': [ | 269 'targets': [ |
268 # GN version: //third_party/libjingle | 270 # GN version: //third_party/libjingle |
269 { | 271 { |
270 'target_name': 'libjingle', | 272 'target_name': 'libjingle', |
271 'type': 'static_library', | 273 'type': 'static_library', |
272 'includes': [ 'libjingle_common.gypi' ], | 274 'includes': [ 'libjingle_common.gypi' ], |
273 'sources!' : [ | 275 'sources!' : [ |
274 # Compiled as part of libjingle_p2p_constants. | 276 # Compiled as part of libjingle_p2p_constants. |
275 '<(libjingle_source)/talk/p2p/base/constants.cc', | 277 '<(webrtc_p2p)/base/constants.cc', |
276 '<(libjingle_source)/talk/p2p/base/constants.h', | 278 '<(webrtc_p2p)/base/constants.h', |
277 ], | 279 ], |
278 'dependencies': [ | 280 'dependencies': [ |
279 '<(DEPTH)/third_party/webrtc/base/base.gyp:webrtc_base', | 281 '<(DEPTH)/third_party/webrtc/base/base.gyp:webrtc_base', |
280 '<(DEPTH)/third_party/webrtc/libjingle/xmllite/xmllite.gyp:rtc_xmllite', | 282 '<(DEPTH)/third_party/webrtc/libjingle/xmllite/xmllite.gyp:rtc_xmllite', |
281 'libjingle_p2p_constants', | 283 'libjingle_p2p_constants', |
282 '<@(libjingle_additional_deps)', | 284 '<@(libjingle_additional_deps)', |
283 ], | 285 ], |
284 }, # target libjingle | 286 }, # target libjingle |
285 # This has to be is a separate project due to a bug in MSVS 2008 and the | 287 # This has to be is a separate project due to a bug in MSVS 2008 and the |
286 # current toolset on android. The problem is that we have two files named | 288 # current toolset on android. The problem is that we have two files named |
287 # "constants.cc" and MSVS/android doesn't handle this properly. | 289 # "constants.cc" and MSVS/android doesn't handle this properly. |
288 # GYP currently has guards to catch this, so if you want to remove it, | 290 # GYP currently has guards to catch this, so if you want to remove it, |
289 # run GYP and if GYP has removed the validation check, then we can assume | 291 # run GYP and if GYP has removed the validation check, then we can assume |
290 # that the toolchains have been fixed (we currently use VS2010 and later, | 292 # that the toolchains have been fixed (we currently use VS2010 and later, |
291 # so VS2008 isn't a concern anymore). | 293 # so VS2008 isn't a concern anymore). |
292 # | 294 # |
293 # GN version: //third_party/libjingle:libjingle_p2p_constants | 295 # GN version: //third_party/libjingle:libjingle_p2p_constants |
294 { | 296 { |
295 'target_name': 'libjingle_p2p_constants', | 297 'target_name': 'libjingle_p2p_constants', |
296 'type': 'static_library', | 298 'type': 'static_library', |
297 'sources': [ | 299 'sources': [ |
298 '<(libjingle_source)/talk/p2p/base/constants.cc', | 300 '<(webrtc_p2p)/base/constants.cc', |
299 '<(libjingle_source)/talk/p2p/base/constants.h', | 301 '<(webrtc_p2p)/base/constants.h', |
300 ], | 302 ], |
301 }, # target libjingle_p2p_constants | 303 }, # target libjingle_p2p_constants |
302 # GN version: //third_party/libjingle:peerconnection_server | 304 # GN version: //third_party/libjingle:peerconnection_server |
303 { | 305 { |
304 'target_name': 'peerconnection_server', | 306 'target_name': 'peerconnection_server', |
305 'type': 'executable', | 307 'type': 'executable', |
306 'sources': [ | 308 'sources': [ |
307 '<(libjingle_source)/talk/examples/peerconnection/server/data_socket.cc'
, | 309 '<(libjingle_source)/talk/examples/peerconnection/server/data_socket.cc'
, |
308 '<(libjingle_source)/talk/examples/peerconnection/server/data_socket.h', | 310 '<(libjingle_source)/talk/examples/peerconnection/server/data_socket.h', |
309 '<(libjingle_source)/talk/examples/peerconnection/server/main.cc', | 311 '<(libjingle_source)/talk/examples/peerconnection/server/main.cc', |
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
671 }, | 673 }, |
672 'dependencies': [ | 674 'dependencies': [ |
673 'libjingle_peerconnection_so', | 675 'libjingle_peerconnection_so', |
674 ], | 676 ], |
675 'includes': [ '../../build/java.gypi' ], | 677 'includes': [ '../../build/java.gypi' ], |
676 }, | 678 }, |
677 ], | 679 ], |
678 }], | 680 }], |
679 ], | 681 ], |
680 } | 682 } |
OLD | NEW |