Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(333)

Side by Side Diff: third_party/libjingle/BUILD.gn

Issue 1419253002: Rearrange dependency to enable adding finch experiment in webrtc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/libjingle/libjingle.gyp » ('j') | third_party/libjingle/libjingle.gyp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 289
290 if (enable_webrtc) { 290 if (enable_webrtc) {
291 source_set("libjingle_webrtc") { 291 source_set("libjingle_webrtc") {
292 sources = [ 292 sources = [
293 "overrides/init_webrtc.cc", 293 "overrides/init_webrtc.cc",
294 "overrides/init_webrtc.h", 294 "overrides/init_webrtc.h",
295 ] 295 ]
296 configs += [ ":jingle_unexported_configs" ] 296 configs += [ ":jingle_unexported_configs" ]
297 public_configs = [ ":jingle_public_configs" ] 297 public_configs = [ ":jingle_public_configs" ]
298 deps = [ 298 deps = [
299 ":libjingle_webrtc_common", 299 ":libjingle_webrtc_shared",
300 ]
301 }
302
303 source_set("libjingle_webrtc_common") {
304 system_wrappers_dir = "../webrtc/system_wrappers"
305 sources = [
306 "$system_wrappers_dir/interface/field_trial_default.h",
307 "$system_wrappers_dir/interface/field_trial.h",
308 "$system_wrappers_dir/source/field_trial_default.cc",
309 ]
310 deps = [
311 ":libjingle_webrtc_shared",
300 ] 312 ]
301 } 313 }
302 314
303 # Note: this does not support the shared library build of libpeerconnection 315 # Note: this does not support the shared library build of libpeerconnection
304 # as is supported in the GYP build. It's not clear what this is used for. 316 # as is supported in the GYP build. It's not clear what this is used for.
305 source_set("libjingle_webrtc_common") { 317 source_set("libjingle_webrtc_shared") {
306 sources = [ 318 sources = [
307 "overrides/talk/media/webrtc/webrtcexport.h", 319 "overrides/talk/media/webrtc/webrtcexport.h",
308 "source/talk/app/webrtc/audiotrack.cc", 320 "source/talk/app/webrtc/audiotrack.cc",
309 "source/talk/app/webrtc/audiotrack.h", 321 "source/talk/app/webrtc/audiotrack.h",
310 "source/talk/app/webrtc/datachannel.cc", 322 "source/talk/app/webrtc/datachannel.cc",
311 "source/talk/app/webrtc/datachannel.h", 323 "source/talk/app/webrtc/datachannel.h",
312 "source/talk/app/webrtc/dtlsidentitystore.cc", 324 "source/talk/app/webrtc/dtlsidentitystore.cc",
313 "source/talk/app/webrtc/dtlsidentitystore.h", 325 "source/talk/app/webrtc/dtlsidentitystore.h",
314 "source/talk/app/webrtc/dtmfsender.cc", 326 "source/talk/app/webrtc/dtmfsender.cc",
315 "source/talk/app/webrtc/dtmfsender.h", 327 "source/talk/app/webrtc/dtmfsender.h",
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 ] 493 ]
482 494
483 configs += [ ":jingle_unexported_configs" ] 495 configs += [ ":jingle_unexported_configs" ]
484 public_configs = [ ":jingle_public_configs" ] 496 public_configs = [ ":jingle_public_configs" ]
485 configs -= [ "//build/config/compiler:chromium_code" ] 497 configs -= [ "//build/config/compiler:chromium_code" ]
486 configs += [ "//build/config/compiler:no_chromium_code" ] 498 configs += [ "//build/config/compiler:no_chromium_code" ]
487 499
488 deps = [ 500 deps = [
489 # TODO(GYP): crbug.com/481633. Consider depending on :libjingle_webrtc 501 # TODO(GYP): crbug.com/481633. Consider depending on :libjingle_webrtc
490 # instead. 502 # instead.
491 ":libjingle_webrtc_common", 503 ":libjingle_webrtc_shared",
492 "//third_party/webrtc", 504 "//third_party/webrtc",
493 "//third_party/webrtc/system_wrappers",
494 "//third_party/webrtc/voice_engine", 505 "//third_party/webrtc/voice_engine",
495 ] 506 ]
496 } 507 }
497 508
498 source_set("libstunprober") { 509 source_set("libstunprober") {
499 p2p_dir = "../webrtc/p2p" 510 p2p_dir = "../webrtc/p2p"
500 sources = [ 511 sources = [
501 "$p2p_dir/stunprober/stunprober.cc", 512 "$p2p_dir/stunprober/stunprober.cc",
502 ] 513 ]
503 514
504 deps = [ 515 deps = [
505 "//third_party/webrtc/base:rtc_base", 516 "//third_party/webrtc/base:rtc_base",
506 ":libjingle_webrtc_common", 517 ":libjingle_webrtc_shared",
507 ] 518 ]
508 } 519 }
509 } # enable_webrtc 520 } # enable_webrtc
510 # TODO(GYP): Port libjingle.gyp's enable_webrtc condition block. 521 # TODO(GYP): Port libjingle.gyp's enable_webrtc condition block.
OLDNEW
« no previous file with comments | « no previous file | third_party/libjingle/libjingle.gyp » ('j') | third_party/libjingle/libjingle.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698