| OLD | NEW |
| 1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2015 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 import("../build/webrtc.gni") | 9 import("../build/webrtc.gni") |
| 10 if (is_android) { | 10 if (is_android) { |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 "call/audio_state.h", | 33 "call/audio_state.h", |
| 34 "call/flexfec_receive_stream.h", | 34 "call/flexfec_receive_stream.h", |
| 35 ] | 35 ] |
| 36 | 36 |
| 37 deps = [ | 37 deps = [ |
| 38 # TODO(kjellander): Add remaining dependencies when webrtc:4243 is done. | 38 # TODO(kjellander): Add remaining dependencies when webrtc:4243 is done. |
| 39 ":audio_mixer_api", | 39 ":audio_mixer_api", |
| 40 ":transport_api", | 40 ":transport_api", |
| 41 "..:webrtc_common", | 41 "..:webrtc_common", |
| 42 "../base:rtc_base_approved", | 42 "../base:rtc_base_approved", |
| 43 "../modules/audio_coding:audio_decoder_factory_interface", |
| 43 "../modules/audio_coding:audio_encoder_interface", | 44 "../modules/audio_coding:audio_encoder_interface", |
| 44 ] | 45 ] |
| 45 } | 46 } |
| 46 | 47 |
| 47 config("libjingle_peerconnection_warnings_config") { | 48 config("libjingle_peerconnection_warnings_config") { |
| 48 # GN orders flags on a target before flags from configs. The default config | 49 # GN orders flags on a target before flags from configs. The default config |
| 49 # adds these flags so to cancel them out they need to come from a config and | 50 # adds these flags so to cancel them out they need to come from a config and |
| 50 # cannot be on the target directly. | 51 # cannot be on the target directly. |
| 51 if (!is_win && !is_clang) { | 52 if (!is_win && !is_clang) { |
| 52 cflags = [ "-Wno-maybe-uninitialized" ] # Only exists for GCC. | 53 cflags = [ "-Wno-maybe-uninitialized" ] # Only exists for GCC. |
| 53 } | 54 } |
| 54 } | 55 } |
| 55 | 56 |
| 56 rtc_static_library("libjingle_peerconnection") { | 57 rtc_static_library("libjingle_peerconnection") { |
| 58 check_includes = false # TODO(kjellander): Remove (bugs.webrtc.org/6828) |
| 57 cflags = [] | 59 cflags = [] |
| 58 sources = [ | 60 sources = [ |
| 59 "audiotrack.cc", | 61 "audiotrack.cc", |
| 60 "audiotrack.h", | 62 "audiotrack.h", |
| 61 "datachannel.cc", | 63 "datachannel.cc", |
| 62 "datachannel.h", | 64 "datachannel.h", |
| 63 "datachannelinterface.h", | 65 "datachannelinterface.h", |
| 64 "dtmfsender.cc", | 66 "dtmfsender.cc", |
| 65 "dtmfsender.h", | 67 "dtmfsender.h", |
| 66 "dtmfsenderinterface.h", | 68 "dtmfsenderinterface.h", |
| (...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 406 "-Wno-unused-function", | 408 "-Wno-unused-function", |
| 407 ] | 409 ] |
| 408 } | 410 } |
| 409 | 411 |
| 410 if (!is_win) { | 412 if (!is_win) { |
| 411 cflags = [ "-Wno-sign-compare" ] | 413 cflags = [ "-Wno-sign-compare" ] |
| 412 } | 414 } |
| 413 } | 415 } |
| 414 | 416 |
| 415 rtc_test("peerconnection_unittests") { | 417 rtc_test("peerconnection_unittests") { |
| 418 check_includes = false # TODO(kjellander): Remove (bugs.webrtc.org/6828) |
| 416 testonly = true | 419 testonly = true |
| 417 sources = [ | 420 sources = [ |
| 418 "datachannel_unittest.cc", | 421 "datachannel_unittest.cc", |
| 419 "dtmfsender_unittest.cc", | 422 "dtmfsender_unittest.cc", |
| 420 "fakemetricsobserver.cc", | 423 "fakemetricsobserver.cc", |
| 421 "fakemetricsobserver.h", | 424 "fakemetricsobserver.h", |
| 422 "jsepsessiondescription_unittest.cc", | 425 "jsepsessiondescription_unittest.cc", |
| 423 "localaudiosource_unittest.cc", | 426 "localaudiosource_unittest.cc", |
| 424 "mediaconstraintsinterface_unittest.cc", | 427 "mediaconstraintsinterface_unittest.cc", |
| 425 "mediastream_unittest.cc", | 428 "mediastream_unittest.cc", |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 519 sources = [ | 522 sources = [ |
| 520 "test/mock_audio_mixer.h", | 523 "test/mock_audio_mixer.h", |
| 521 ] | 524 ] |
| 522 | 525 |
| 523 public_deps = [ | 526 public_deps = [ |
| 524 ":audio_mixer_api", | 527 ":audio_mixer_api", |
| 525 ] | 528 ] |
| 526 | 529 |
| 527 deps = [ | 530 deps = [ |
| 528 "//testing/gmock", | 531 "//testing/gmock", |
| 532 "//webrtc/test:test_support", |
| 529 ] | 533 ] |
| 530 } | 534 } |
| 531 } | 535 } |
| OLD | NEW |