OLD | NEW |
1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2016 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/config/linux/pkg_config.gni") | 9 import("//build/config/linux/pkg_config.gni") |
10 import("../webrtc.gni") | 10 import("../webrtc.gni") |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 "/wd4389", # signed/unsigned mismatch. | 154 "/wd4389", # signed/unsigned mismatch. |
155 ] | 155 ] |
156 } | 156 } |
157 | 157 |
158 if (rtc_enable_intelligibility_enhancer) { | 158 if (rtc_enable_intelligibility_enhancer) { |
159 defines += [ "WEBRTC_INTELLIGIBILITY_ENHANCER=1" ] | 159 defines += [ "WEBRTC_INTELLIGIBILITY_ENHANCER=1" ] |
160 } else { | 160 } else { |
161 defines += [ "WEBRTC_INTELLIGIBILITY_ENHANCER=0" ] | 161 defines += [ "WEBRTC_INTELLIGIBILITY_ENHANCER=0" ] |
162 } | 162 } |
163 | 163 |
| 164 if (rtc_opus_support_120ms_ptime) { |
| 165 defines += [ "WEBRTC_OPUS_SUPPORT_120MS_PTIME=1" ] |
| 166 } else { |
| 167 defines += [ "WEBRTC_OPUS_SUPPORT_120MS_PTIME=0" ] |
| 168 } |
| 169 |
164 include_dirs = [] | 170 include_dirs = [] |
165 if (rtc_build_libyuv) { | 171 if (rtc_build_libyuv) { |
166 deps += [ "$rtc_libyuv_dir" ] | 172 deps += [ "$rtc_libyuv_dir" ] |
167 public_deps = [ | 173 public_deps = [ |
168 "$rtc_libyuv_dir", | 174 "$rtc_libyuv_dir", |
169 ] | 175 ] |
170 } else { | 176 } else { |
171 # Need to add a directory normally exported by libyuv. | 177 # Need to add a directory normally exported by libyuv. |
172 include_dirs += [ "$rtc_libyuv_dir/include" ] | 178 include_dirs += [ "$rtc_libyuv_dir/include" ] |
173 } | 179 } |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 # TODO(kjellander): Move as part of work in bugs.webrtc.org/4243. | 373 # TODO(kjellander): Move as part of work in bugs.webrtc.org/4243. |
368 ":rtc_media", | 374 ":rtc_media", |
369 ":rtc_unittest_main", | 375 ":rtc_unittest_main", |
370 "../audio", | 376 "../audio", |
371 "../base:rtc_base_tests_utils", | 377 "../base:rtc_base_tests_utils", |
372 "../modules/audio_device:mock_audio_device", | 378 "../modules/audio_device:mock_audio_device", |
373 "../system_wrappers:metrics_default", | 379 "../system_wrappers:metrics_default", |
374 ] | 380 ] |
375 } | 381 } |
376 } | 382 } |
OLD | NEW |