| 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 12 matching lines...) Expand all  Loading... | 
|   23     "call/audio_sink.h", |   23     "call/audio_sink.h", | 
|   24     "call/flexfec_receive_stream.h", |   24     "call/flexfec_receive_stream.h", | 
|   25   ] |   25   ] | 
|   26  |   26  | 
|   27   deps = [ |   27   deps = [ | 
|   28     # TODO(kjellander): Add remaining dependencies when webrtc:4243 is done. |   28     # TODO(kjellander): Add remaining dependencies when webrtc:4243 is done. | 
|   29     ":audio_mixer_api", |   29     ":audio_mixer_api", | 
|   30     ":transport_api", |   30     ":transport_api", | 
|   31     "..:webrtc_common", |   31     "..:webrtc_common", | 
|   32     "../base:rtc_base_approved", |   32     "../base:rtc_base_approved", | 
 |   33     "../modules/audio_coding:audio_decoder_factory_interface", | 
|   33     "../modules/audio_coding:audio_encoder_interface", |   34     "../modules/audio_coding:audio_encoder_interface", | 
|   34   ] |   35   ] | 
|   35 } |   36 } | 
|   36  |   37  | 
|   37 config("libjingle_peerconnection_warnings_config") { |   38 config("libjingle_peerconnection_warnings_config") { | 
|   38   # GN orders flags on a target before flags from configs. The default config |   39   # GN orders flags on a target before flags from configs. The default config | 
|   39   # adds these flags so to cancel them out they need to come from a config and |   40   # adds these flags so to cancel them out they need to come from a config and | 
|   40   # cannot be on the target directly. |   41   # cannot be on the target directly. | 
|   41   if (!is_win && !is_clang) { |   42   if (!is_win && !is_clang) { | 
|   42     cflags = [ "-Wno-maybe-uninitialized" ]  # Only exists for GCC. |   43     cflags = [ "-Wno-maybe-uninitialized" ]  # Only exists for GCC. | 
|   43   } |   44   } | 
|   44 } |   45 } | 
|   45  |   46  | 
|   46 rtc_static_library("libjingle_peerconnection") { |   47 rtc_static_library("libjingle_peerconnection") { | 
 |   48   check_includes = false  # TODO(kjellander): Remove (bugs.webrtc.org/6828) | 
|   47   cflags = [] |   49   cflags = [] | 
|   48   sources = [ |   50   sources = [ | 
|   49     "audiotrack.cc", |   51     "audiotrack.cc", | 
|   50     "audiotrack.h", |   52     "audiotrack.h", | 
|   51     "datachannel.cc", |   53     "datachannel.cc", | 
|   52     "datachannel.h", |   54     "datachannel.h", | 
|   53     "datachannelinterface.h", |   55     "datachannelinterface.h", | 
|   54     "dtmfsender.cc", |   56     "dtmfsender.cc", | 
|   55     "dtmfsender.h", |   57     "dtmfsender.h", | 
|   56     "dtmfsenderinterface.h", |   58     "dtmfsenderinterface.h", | 
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  211         "-Wno-unused-function", |  213         "-Wno-unused-function", | 
|  212       ] |  214       ] | 
|  213     } |  215     } | 
|  214  |  216  | 
|  215     if (!is_win) { |  217     if (!is_win) { | 
|  216       cflags = [ "-Wno-sign-compare" ] |  218       cflags = [ "-Wno-sign-compare" ] | 
|  217     } |  219     } | 
|  218   } |  220   } | 
|  219  |  221  | 
|  220   rtc_test("peerconnection_unittests") { |  222   rtc_test("peerconnection_unittests") { | 
 |  223     check_includes = false  # TODO(kjellander): Remove (bugs.webrtc.org/6828) | 
|  221     testonly = true |  224     testonly = true | 
|  222     sources = [ |  225     sources = [ | 
|  223       "datachannel_unittest.cc", |  226       "datachannel_unittest.cc", | 
|  224       "dtmfsender_unittest.cc", |  227       "dtmfsender_unittest.cc", | 
|  225       "fakemetricsobserver.cc", |  228       "fakemetricsobserver.cc", | 
|  226       "fakemetricsobserver.h", |  229       "fakemetricsobserver.h", | 
|  227       "jsepsessiondescription_unittest.cc", |  230       "jsepsessiondescription_unittest.cc", | 
|  228       "localaudiosource_unittest.cc", |  231       "localaudiosource_unittest.cc", | 
|  229       "mediaconstraintsinterface_unittest.cc", |  232       "mediaconstraintsinterface_unittest.cc", | 
|  230       "mediastream_unittest.cc", |  233       "mediastream_unittest.cc", | 
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  324     sources = [ |  327     sources = [ | 
|  325       "test/mock_audio_mixer.h", |  328       "test/mock_audio_mixer.h", | 
|  326     ] |  329     ] | 
|  327  |  330  | 
|  328     public_deps = [ |  331     public_deps = [ | 
|  329       ":audio_mixer_api", |  332       ":audio_mixer_api", | 
|  330     ] |  333     ] | 
|  331  |  334  | 
|  332     deps = [ |  335     deps = [ | 
|  333       "//testing/gmock", |  336       "//testing/gmock", | 
 |  337       "//webrtc/test:test_support", | 
|  334     ] |  338     ] | 
|  335   } |  339   } | 
|  336 } |  340 } | 
| OLD | NEW |