Chromium Code Reviews| 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 | 10 |
| 11 group("api") { | 11 group("api") { |
| 12 deps = [ | 12 deps = [ |
| 13 ":libjingle_peerconnection", | 13 ":libjingle_peerconnection", |
| 14 ] | 14 ] |
| 15 } | 15 } |
| 16 | 16 |
| 17 source_set("audio_api") { | |
| 18 sources = [ | |
| 19 "audio/audio_receive_stream.h", | |
| 20 "audio/audio_send_stream.h", | |
| 21 "audio/audio_send_stream.h", | |
|
the sun
2016/06/14 09:40:27
!!
kjellander_webrtc
2016/06/14 20:17:46
Whops, I only fixed api.gyp apparently.
| |
| 22 "audio/audio_state.h", | |
| 23 ] | |
| 24 | |
| 25 configs += [ "..:common_config" ] | |
| 26 public_configs = [ "..:common_inherited_config" ] | |
| 27 | |
| 28 deps = [ | |
| 29 # TODO(kjellander): Add remaining dependencies when webrtc:4243 is done. | |
| 30 "..:webrtc_common", | |
| 31 "../base:rtc_base_approved", | |
| 32 "../modules/audio_coding:audio_encoder_interface", | |
| 33 ] | |
| 34 } | |
| 35 | |
| 17 config("libjingle_peerconnection_warnings_config") { | 36 config("libjingle_peerconnection_warnings_config") { |
| 18 # GN orders flags on a target before flags from configs. The default config | 37 # GN orders flags on a target before flags from configs. The default config |
| 19 # adds these flags so to cancel them out they need to come from a config and | 38 # adds these flags so to cancel them out they need to come from a config and |
| 20 # cannot be on the target directly. | 39 # cannot be on the target directly. |
| 21 if (!is_win) { | 40 if (!is_win) { |
| 22 cflags = [ "-Wno-sign-compare" ] | 41 cflags = [ "-Wno-sign-compare" ] |
| 23 if (!is_clang) { | 42 if (!is_clang) { |
| 24 cflags += [ "-Wno-maybe-uninitialized" ] # Only exists for GCC. | 43 cflags += [ "-Wno-maybe-uninitialized" ] # Only exists for GCC. |
| 25 } | 44 } |
| 26 } | 45 } |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 109 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 128 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 110 configs -= [ "//build/config/clang:extra_warnings" ] | 129 configs -= [ "//build/config/clang:extra_warnings" ] |
| 111 configs -= [ "//build/config/clang:find_bad_constructs" ] | 130 configs -= [ "//build/config/clang:find_bad_constructs" ] |
| 112 } | 131 } |
| 113 | 132 |
| 114 if (is_win) { | 133 if (is_win) { |
| 115 cflags += [ "/wd4389" ] # signed/unsigned mismatch. | 134 cflags += [ "/wd4389" ] # signed/unsigned mismatch. |
| 116 } | 135 } |
| 117 | 136 |
| 118 deps = [ | 137 deps = [ |
| 138 ":audio_api", | |
| 119 "../call", | 139 "../call", |
| 120 "../media", | 140 "../media", |
| 121 "../pc", | 141 "../pc", |
| 122 ] | 142 ] |
| 123 | 143 |
| 124 if (rtc_use_quic) { | 144 if (rtc_use_quic) { |
| 125 sources += [ | 145 sources += [ |
| 126 "quicdatachannel.cc", | 146 "quicdatachannel.cc", |
| 127 "quicdatachannel.h", | 147 "quicdatachannel.h", |
| 128 "quicdatatransport.cc", | 148 "quicdatatransport.cc", |
| 129 "quicdatatransport.h", | 149 "quicdatatransport.h", |
| 130 ] | 150 ] |
| 131 deps += [ "//third_party/libquic" ] | 151 deps += [ "//third_party/libquic" ] |
| 132 public_deps = [ | 152 public_deps = [ |
| 133 "//third_party/libquic", | 153 "//third_party/libquic", |
| 134 ] | 154 ] |
| 135 } | 155 } |
| 136 } | 156 } |
| OLD | NEW |