Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Side by Side Diff: webrtc/modules/audio_processing/BUILD.gn

Issue 2609403002: Refactor webrtc_perf_tests into several source_sets. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 404
405 if (rtc_enable_intelligibility_enhancer) { 405 if (rtc_enable_intelligibility_enhancer) {
406 public_deps += [ ":intelligibility_proc" ] 406 public_deps += [ ":intelligibility_proc" ]
407 } 407 }
408 408
409 if (rtc_enable_protobuf) { 409 if (rtc_enable_protobuf) {
410 public_deps += [ ":audioproc_unittest_proto" ] 410 public_deps += [ ":audioproc_unittest_proto" ]
411 } 411 }
412 } 412 }
413 413
414 rtc_source_set("audio_processing_perf_tests") {
415 testonly = true
416 sources = [
417 "audio_processing_performance_unittest.cc",
418 "level_controller/level_controller_complexity_unittest.cc",
419 "residual_echo_detector_complexity_unittest.cc",
420 ]
421 deps = [
422 ":audio_processing",
423 ":audioproc_test_utils",
424 "//testing/gtest",
425 ]
426 if (rtc_enable_intelligibility_enhancer) {
427 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=1" ]
428 } else {
429 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=0" ]
430 }
431 }
432
414 rtc_executable("unpack_aecdump") { 433 rtc_executable("unpack_aecdump") {
415 testonly = true 434 testonly = true
416 sources = [ 435 sources = [
417 "test/unpack.cc", 436 "test/unpack.cc",
418 ] 437 ]
419 438
420 deps = [ 439 deps = [
421 ":audio_processing", 440 ":audio_processing",
422 ":audioproc_debug_proto", 441 ":audioproc_debug_proto",
423 ":audioproc_protobuf_utils", 442 ":audioproc_protobuf_utils",
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 ] 578 ]
560 579
561 deps = [ 580 deps = [
562 ":audioproc_debug_proto", 581 ":audioproc_debug_proto",
563 "../..:webrtc_common", 582 "../..:webrtc_common",
564 "../../base:rtc_base_approved", 583 "../../base:rtc_base_approved",
565 ] 584 ]
566 } 585 }
567 } 586 }
568 } 587 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698