| 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/features.gni") | 5 import("//build/config/features.gni") |
| 6 | 6 |
| 7 # From third_party/libjingle/libjingle.gyp's target_defaults. | 7 # From third_party/libjingle/libjingle.gyp's target_defaults. |
| 8 config("jingle_unexported_configs") { | 8 config("jingle_unexported_configs") { |
| 9 defines = [ | 9 defines = [ |
| 10 "EXPAT_RELATIVE_PATH", | 10 "EXPAT_RELATIVE_PATH", |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 } | 225 } |
| 226 | 226 |
| 227 configs += [ ":jingle_unexported_configs" ] | 227 configs += [ ":jingle_unexported_configs" ] |
| 228 public_configs = [ ":jingle_public_configs" ] | 228 public_configs = [ ":jingle_public_configs" ] |
| 229 } | 229 } |
| 230 | 230 |
| 231 if (enable_webrtc) { | 231 if (enable_webrtc) { |
| 232 # TODO(kjellander): Move this target into //third_party/webrtc_overrides as | 232 # TODO(kjellander): Move this target into //third_party/webrtc_overrides as |
| 233 # soon as the work in bugs.webrtc.org/4256 has gotten rid of the duplicated | 233 # soon as the work in bugs.webrtc.org/4256 has gotten rid of the duplicated |
| 234 # source listings above. | 234 # source listings above. |
| 235 source_set("libjingle_webrtc") { | 235 static_library("libjingle_webrtc") { |
| 236 sources = [ | 236 sources = [ |
| 237 "../webrtc_overrides/init_webrtc.cc", | 237 "../webrtc_overrides/init_webrtc.cc", |
| 238 "../webrtc_overrides/init_webrtc.h", | 238 "../webrtc_overrides/init_webrtc.h", |
| 239 ] | 239 ] |
| 240 configs += [ ":jingle_unexported_configs" ] | 240 configs += [ ":jingle_unexported_configs" ] |
| 241 public_configs = [ ":jingle_public_configs" ] | 241 public_configs = [ ":jingle_public_configs" ] |
| 242 public_deps = [ | 242 public_deps = [ |
| 243 ":libjingle_webrtc_common", | 243 ":libjingle_webrtc_common", |
| 244 ] | 244 ] |
| 245 } | 245 } |
| 246 | 246 |
| 247 source_set("libjingle_webrtc_common") { | 247 static_library("libjingle_webrtc_common") { |
| 248 sources = [ | 248 sources = [ |
| 249 "../webrtc/api/audiotrack.cc", | 249 "../webrtc/api/audiotrack.cc", |
| 250 "../webrtc/api/audiotrack.h", | 250 "../webrtc/api/audiotrack.h", |
| 251 "../webrtc/api/datachannel.cc", | 251 "../webrtc/api/datachannel.cc", |
| 252 "../webrtc/api/datachannel.h", | 252 "../webrtc/api/datachannel.h", |
| 253 "../webrtc/api/dtmfsender.cc", | 253 "../webrtc/api/dtmfsender.cc", |
| 254 "../webrtc/api/dtmfsender.h", | 254 "../webrtc/api/dtmfsender.h", |
| 255 "../webrtc/api/jsep.h", | 255 "../webrtc/api/jsep.h", |
| 256 "../webrtc/api/jsepicecandidate.cc", | 256 "../webrtc/api/jsepicecandidate.cc", |
| 257 "../webrtc/api/jsepicecandidate.h", | 257 "../webrtc/api/jsepicecandidate.h", |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 391 "//third_party/libsrtp", | 391 "//third_party/libsrtp", |
| 392 "//third_party/usrsctp", | 392 "//third_party/usrsctp", |
| 393 "//third_party/webrtc", | 393 "//third_party/webrtc", |
| 394 "//third_party/webrtc/modules/media_file", | 394 "//third_party/webrtc/modules/media_file", |
| 395 "//third_party/webrtc/modules/video_capture", | 395 "//third_party/webrtc/modules/video_capture", |
| 396 "//third_party/webrtc/system_wrappers", | 396 "//third_party/webrtc/system_wrappers", |
| 397 "//third_party/webrtc/voice_engine", | 397 "//third_party/webrtc/voice_engine", |
| 398 ] | 398 ] |
| 399 } | 399 } |
| 400 | 400 |
| 401 source_set("libstunprober") { | 401 static_library("libstunprober") { |
| 402 p2p_dir = "../webrtc/p2p" | 402 p2p_dir = "../webrtc/p2p" |
| 403 sources = [ | 403 sources = [ |
| 404 "$p2p_dir/stunprober/stunprober.cc", | 404 "$p2p_dir/stunprober/stunprober.cc", |
| 405 ] | 405 ] |
| 406 | 406 |
| 407 deps = [ | 407 deps = [ |
| 408 ":libjingle_webrtc_common", | 408 ":libjingle_webrtc_common", |
| 409 "//third_party/webrtc/base:rtc_base", | 409 "//third_party/webrtc/base:rtc_base", |
| 410 ] | 410 ] |
| 411 } | 411 } |
| 412 } # enable_webrtc | 412 } # enable_webrtc |
| OLD | NEW |