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

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

Issue 2356763002: Adding debug dump to audio network adaptor. (Closed)
Patch Set: Created 4 years, 3 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/webrtc.gni") 9 import("../../build/webrtc.gni")
10 import("audio_coding.gni") 10 import("audio_coding.gni")
(...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after
700 "audio_network_adaptor/audio_network_adaptor_impl.cc", 700 "audio_network_adaptor/audio_network_adaptor_impl.cc",
701 "audio_network_adaptor/audio_network_adaptor_impl.h", 701 "audio_network_adaptor/audio_network_adaptor_impl.h",
702 "audio_network_adaptor/bitrate_controller.cc", 702 "audio_network_adaptor/bitrate_controller.cc",
703 "audio_network_adaptor/bitrate_controller.h", 703 "audio_network_adaptor/bitrate_controller.h",
704 "audio_network_adaptor/channel_controller.cc", 704 "audio_network_adaptor/channel_controller.cc",
705 "audio_network_adaptor/channel_controller.h", 705 "audio_network_adaptor/channel_controller.h",
706 "audio_network_adaptor/controller.cc", 706 "audio_network_adaptor/controller.cc",
707 "audio_network_adaptor/controller.h", 707 "audio_network_adaptor/controller.h",
708 "audio_network_adaptor/controller_manager.cc", 708 "audio_network_adaptor/controller_manager.cc",
709 "audio_network_adaptor/controller_manager.h", 709 "audio_network_adaptor/controller_manager.h",
710 "audio_network_adaptor/debug_dump_writer.cc",
711 "audio_network_adaptor/debug_dump_writer.h",
710 "audio_network_adaptor/dtx_controller.cc", 712 "audio_network_adaptor/dtx_controller.cc",
711 "audio_network_adaptor/dtx_controller.h", 713 "audio_network_adaptor/dtx_controller.h",
712 "audio_network_adaptor/include/audio_network_adaptor.h", 714 "audio_network_adaptor/include/audio_network_adaptor.h",
713 ] 715 ]
714 configs += [ "../..:common_config" ] 716 configs += [ "../..:common_config" ]
715 public_configs = [ "../..:common_inherited_config" ] 717 public_configs = [ "../..:common_inherited_config" ]
718
719 if (rtc_enable_protobuf) {
720 deps = [
721 ":ana_debug_dump_proto",
722 ]
723 defines = [ "WEBRTC_AUDIO_NETWORK_ADAPTOR_DEBUG_DUMP" ]
724 }
716 } 725 }
717 726
718 config("neteq_config") { 727 config("neteq_config") {
719 include_dirs = [ 728 include_dirs = [
720 # Need Opus header files for the audio classifier. 729 # Need Opus header files for the audio classifier.
721 "//third_party/opus/src/celt", 730 "//third_party/opus/src/celt",
722 "//third_party/opus/src/src", 731 "//third_party/opus/src/src",
723 ] 732 ]
724 } 733 }
725 734
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
962 if (is_android) { 971 if (is_android) {
963 deps += [ "//testing/android/native_test:native_test_native_code" ] 972 deps += [ "//testing/android/native_test:native_test_native_code" ]
964 shard_timeout = 900 973 shard_timeout = 900
965 } 974 }
966 if (is_ios) { 975 if (is_ios) {
967 deps += [ ":audio_decoder_unittests_bundle_data" ] 976 deps += [ ":audio_decoder_unittests_bundle_data" ]
968 } 977 }
969 } # audio_decoder_unittests 978 } # audio_decoder_unittests
970 979
971 if (rtc_enable_protobuf) { 980 if (rtc_enable_protobuf) {
981 proto_library("ana_debug_dump_proto") {
982 sources = [
983 "audio_network_adaptor/debug_dump.proto",
984 ]
985 proto_out_dir = "webrtc/modules/audio_coding/audio_network_adaptor"
986 }
987
972 proto_library("neteq_unittest_proto") { 988 proto_library("neteq_unittest_proto") {
973 sources = [ 989 sources = [
974 "neteq/neteq_unittest.proto", 990 "neteq/neteq_unittest.proto",
975 ] 991 ]
976 proto_out_dir = "webrtc/audio_coding/neteq" 992 proto_out_dir = "webrtc/audio_coding/neteq"
977 } 993 }
978 994
979 rtc_source_set("rtc_event_log_source") { 995 rtc_source_set("rtc_event_log_source") {
980 testonly = true 996 testonly = true
981 sources = [ 997 sources = [
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
1565 "//testing/gtest", 1581 "//testing/gtest",
1566 ] 1582 ]
1567 1583
1568 if (is_clang) { 1584 if (is_clang) {
1569 # Suppress warnings from Chrome's Clang plugins. 1585 # Suppress warnings from Chrome's Clang plugins.
1570 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 1586 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
1571 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 1587 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
1572 } 1588 }
1573 } 1589 }
1574 } 1590 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698