OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 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/arm.gni") | 9 import("//build/config/arm.gni") |
10 import("//third_party/protobuf/proto_library.gni") | 10 import("//third_party/protobuf/proto_library.gni") |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 ] | 204 ] |
205 } | 205 } |
206 } else { | 206 } else { |
207 sources += [ "aecm/aecm_core_c.cc" ] | 207 sources += [ "aecm/aecm_core_c.cc" ] |
208 } | 208 } |
209 | 209 |
210 # TODO(jschuh): Bug 1348: fix this warning. | 210 # TODO(jschuh): Bug 1348: fix this warning. |
211 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 211 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
212 | 212 |
213 if (is_clang) { | 213 if (is_clang) { |
214 # Suppress warnings from Chrome's Clang plugins. | 214 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). |
215 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | |
216 configs -= [ "//build/config/clang:find_bad_constructs" ] | 215 configs -= [ "//build/config/clang:find_bad_constructs" ] |
217 } | 216 } |
218 | 217 |
219 deps += [ | 218 deps += [ |
220 "../../base:rtc_base_approved", | 219 "../../base:rtc_base_approved", |
221 "../../common_audio", | 220 "../../common_audio", |
222 "../../system_wrappers", | 221 "../../system_wrappers", |
223 ] | 222 ] |
224 } | 223 } |
225 | 224 |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 "../../common_audio", | 287 "../../common_audio", |
289 ] | 288 ] |
290 | 289 |
291 if (aec_debug_dump) { | 290 if (aec_debug_dump) { |
292 defines = [ "WEBRTC_AEC_DEBUG_DUMP=1" ] | 291 defines = [ "WEBRTC_AEC_DEBUG_DUMP=1" ] |
293 } else { | 292 } else { |
294 defines = [ "WEBRTC_AEC_DEBUG_DUMP=0" ] | 293 defines = [ "WEBRTC_AEC_DEBUG_DUMP=0" ] |
295 } | 294 } |
296 } | 295 } |
297 } | 296 } |
| 297 |
| 298 if (rtc_include_tests) { |
| 299 source_set("audioproc_test_utils") { |
| 300 testonly = true |
| 301 sources = [ |
| 302 "test/test_utils.cc", |
| 303 "test/test_utils.h", |
| 304 ] |
| 305 |
| 306 configs += [ "../..:common_config" ] |
| 307 public_configs = [ "../..:common_inherited_config" ] |
| 308 |
| 309 if (is_clang) { |
| 310 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). |
| 311 configs -= [ "//build/config/clang:find_bad_constructs" ] |
| 312 } |
| 313 |
| 314 deps = [ |
| 315 "../../base:rtc_base_approved", |
| 316 "../../common_audio", |
| 317 ] |
| 318 } |
| 319 |
| 320 if (rtc_enable_protobuf) { |
| 321 proto_library("audioproc_unittest_proto") { |
| 322 sources = [ |
| 323 "test/unittest.proto", |
| 324 ] |
| 325 proto_out_dir = "webrtc/modules/audio_processing" |
| 326 } |
| 327 |
| 328 source_set("audioproc_protobuf_utils") { |
| 329 sources = [ |
| 330 "test/protobuf_utils.cc", |
| 331 "test/protobuf_utils.h", |
| 332 ] |
| 333 |
| 334 deps = [ |
| 335 ":audioproc_unittest_proto", |
| 336 ] |
| 337 } |
| 338 } |
| 339 } |
OLD | NEW |