OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/crypto.gni") | 5 import("//build/config/crypto.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 | 7 |
8 # From third_party/libjingle/libjingle.gyp's target_defaults. | 8 # From third_party/libjingle/libjingle.gyp's target_defaults. |
9 config("jingle_unexported_configs") { | 9 config("jingle_unexported_configs") { |
10 defines = [ | 10 defines = [ |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 "$xmpp_dir/xmppstanzaparser.cc", | 249 "$xmpp_dir/xmppstanzaparser.cc", |
250 "$xmpp_dir/xmppstanzaparser.h", | 250 "$xmpp_dir/xmppstanzaparser.h", |
251 "$xmpp_dir/xmpptask.cc", | 251 "$xmpp_dir/xmpptask.cc", |
252 "$xmpp_dir/xmpptask.h", | 252 "$xmpp_dir/xmpptask.h", |
253 ] | 253 ] |
254 sources -= [ | 254 sources -= [ |
255 # Compiled as part of libjingle_p2p_constants. | 255 # Compiled as part of libjingle_p2p_constants. |
256 "$p2p_dir/base/constants.cc", | 256 "$p2p_dir/base/constants.cc", |
257 "$p2p_dir/base/constants.h", | 257 "$p2p_dir/base/constants.h", |
258 ] | 258 ] |
| 259 |
| 260 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 261 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 262 |
259 public_deps = [ | 263 public_deps = [ |
260 ":jingle_deps", | 264 ":jingle_deps", |
261 ] | 265 ] |
262 deps = [ | 266 deps = [ |
263 "//third_party/webrtc/base:rtc_base", | 267 "//third_party/webrtc/base:rtc_base", |
264 ":libjingle_p2p_constants", | 268 ":libjingle_p2p_constants", |
265 ] | 269 ] |
266 | 270 |
267 # From libjingle_common.gypi's conditions list. | 271 # From libjingle_common.gypi's conditions list. |
268 if (is_win) { | 272 if (is_win) { |
269 cflags = [ | 273 cflags = [ "/wd4005" ] |
270 "/wd4005", | |
271 "/wd4267", | |
272 ] | |
273 } | 274 } |
274 | 275 |
275 configs += [ ":jingle_unexported_configs" ] | 276 configs += [ ":jingle_unexported_configs" ] |
276 public_configs = [ ":jingle_direct_dependent_configs" ] | 277 public_configs = [ ":jingle_direct_dependent_configs" ] |
277 all_dependent_configs = [ ":jingle_all_dependent_configs" ] | 278 all_dependent_configs = [ ":jingle_all_dependent_configs" ] |
278 } | 279 } |
279 | 280 |
280 # This has to be is a separate project due to a bug in MSVS 2008 and the | 281 # This has to be is a separate project due to a bug in MSVS 2008 and the |
281 # current toolset on android. The problem is that we have two files named | 282 # current toolset on android. The problem is that we have two files named |
282 # "constants.cc" and MSVS/android doesn't handle this properly. | 283 # "constants.cc" and MSVS/android doesn't handle this properly. |
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
567 "source/talk/app/webrtc/java/src/org/webrtc/StatsReport.java", | 568 "source/talk/app/webrtc/java/src/org/webrtc/StatsReport.java", |
568 "source/talk/app/webrtc/java/src/org/webrtc/SessionDescription.java", | 569 "source/talk/app/webrtc/java/src/org/webrtc/SessionDescription.java", |
569 "source/talk/app/webrtc/java/src/org/webrtc/VideoCapturer.java", | 570 "source/talk/app/webrtc/java/src/org/webrtc/VideoCapturer.java", |
570 "source/talk/app/webrtc/java/src/org/webrtc/VideoRenderer.java", | 571 "source/talk/app/webrtc/java/src/org/webrtc/VideoRenderer.java", |
571 "source/talk/app/webrtc/java/src/org/webrtc/VideoSource.java", | 572 "source/talk/app/webrtc/java/src/org/webrtc/VideoSource.java", |
572 "source/talk/app/webrtc/java/src/org/webrtc/VideoTrack.java", | 573 "source/talk/app/webrtc/java/src/org/webrtc/VideoTrack.java", |
573 ] | 574 ] |
574 } | 575 } |
575 } # enable_webrtc | 576 } # enable_webrtc |
576 # TODO(GYP): Port libjingle.gyp's enable_webrtc condition block. | 577 # TODO(GYP): Port libjingle.gyp's enable_webrtc condition block. |
OLD | NEW |