| 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("../../webrtc.gni") | 9 import("../../webrtc.gni") |
| 10 import("audio_coding.gni") | 10 import("audio_coding.gni") |
| (...skipping 819 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 830 "../../api/audio_codecs:audio_codecs_api", | 830 "../../api/audio_codecs:audio_codecs_api", |
| 831 "../../base:rtc_base_approved", | 831 "../../base:rtc_base_approved", |
| 832 "../../base:rtc_numerics", | 832 "../../base:rtc_numerics", |
| 833 "../../common_audio", | 833 "../../common_audio", |
| 834 "../../system_wrappers", | 834 "../../system_wrappers", |
| 835 ] | 835 ] |
| 836 public_deps = [ | 836 public_deps = [ |
| 837 ":webrtc_opus_c", | 837 ":webrtc_opus_c", |
| 838 ] | 838 ] |
| 839 | 839 |
| 840 if (rtc_enable_protobuf) { |
| 841 deps += [ "../../base:protobuf_utils" ] |
| 842 } |
| 843 |
| 840 defines = audio_codec_defines | 844 defines = audio_codec_defines |
| 841 if (rtc_opus_variable_complexity) { | 845 if (rtc_opus_variable_complexity) { |
| 842 defines += [ "WEBRTC_OPUS_VARIABLE_COMPLEXITY=1" ] | 846 defines += [ "WEBRTC_OPUS_VARIABLE_COMPLEXITY=1" ] |
| 843 } else { | 847 } else { |
| 844 defines += [ "WEBRTC_OPUS_VARIABLE_COMPLEXITY=0" ] | 848 defines += [ "WEBRTC_OPUS_VARIABLE_COMPLEXITY=0" ] |
| 845 } | 849 } |
| 846 | 850 |
| 847 if (rtc_build_opus) { | 851 if (rtc_build_opus) { |
| 848 public_deps += [ rtc_opus_dir ] | 852 public_deps += [ rtc_opus_dir ] |
| 849 } else if (build_with_mozilla) { | 853 } else if (build_with_mozilla) { |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 921 "../../base:rtc_base_approved", | 925 "../../base:rtc_base_approved", |
| 922 "../../common_audio", | 926 "../../common_audio", |
| 923 "../../logging:rtc_event_log_api", | 927 "../../logging:rtc_event_log_api", |
| 924 "../../system_wrappers", | 928 "../../system_wrappers", |
| 925 ] | 929 ] |
| 926 | 930 |
| 927 if (rtc_enable_protobuf) { | 931 if (rtc_enable_protobuf) { |
| 928 deps += [ | 932 deps += [ |
| 929 ":ana_config_proto", | 933 ":ana_config_proto", |
| 930 ":ana_debug_dump_proto", | 934 ":ana_debug_dump_proto", |
| 935 "../../base:protobuf_utils", |
| 931 ] | 936 ] |
| 932 defines = [ "WEBRTC_AUDIO_NETWORK_ADAPTOR_DEBUG_DUMP" ] | 937 defines = [ "WEBRTC_AUDIO_NETWORK_ADAPTOR_DEBUG_DUMP" ] |
| 933 } | 938 } |
| 934 | 939 |
| 935 if (!build_with_chromium && is_clang) { | 940 if (!build_with_chromium && is_clang) { |
| 936 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 941 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 937 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 942 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 938 } | 943 } |
| 939 } | 944 } |
| 940 | 945 |
| (...skipping 1154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2095 defines = audio_coding_defines | 2100 defines = audio_coding_defines |
| 2096 | 2101 |
| 2097 if (rtc_enable_protobuf) { | 2102 if (rtc_enable_protobuf) { |
| 2098 defines += [ | 2103 defines += [ |
| 2099 "WEBRTC_AUDIO_NETWORK_ADAPTOR_DEBUG_DUMP", | 2104 "WEBRTC_AUDIO_NETWORK_ADAPTOR_DEBUG_DUMP", |
| 2100 "WEBRTC_NETEQ_UNITTEST_BITEXACT", | 2105 "WEBRTC_NETEQ_UNITTEST_BITEXACT", |
| 2101 ] | 2106 ] |
| 2102 deps += [ | 2107 deps += [ |
| 2103 ":ana_config_proto", | 2108 ":ana_config_proto", |
| 2104 ":neteq_unittest_proto", | 2109 ":neteq_unittest_proto", |
| 2110 "../../base:protobuf_utils", |
| 2105 ] | 2111 ] |
| 2106 } | 2112 } |
| 2107 | 2113 |
| 2108 if (!build_with_chromium && is_clang) { | 2114 if (!build_with_chromium && is_clang) { |
| 2109 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 2115 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 2110 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 2116 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 2111 } | 2117 } |
| 2112 } | 2118 } |
| 2113 } | 2119 } |
| 2114 | 2120 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 2128 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead. | 2134 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead. |
| 2129 # TODO(kwiberg): Remove this. | 2135 # TODO(kwiberg): Remove this. |
| 2130 rtc_source_set("builtin_audio_decoder_factory") { | 2136 rtc_source_set("builtin_audio_decoder_factory") { |
| 2131 sources = [ | 2137 sources = [ |
| 2132 "codecs/builtin_audio_decoder_factory.h", | 2138 "codecs/builtin_audio_decoder_factory.h", |
| 2133 ] | 2139 ] |
| 2134 deps = [ | 2140 deps = [ |
| 2135 "../../api/audio_codecs:builtin_audio_decoder_factory", | 2141 "../../api/audio_codecs:builtin_audio_decoder_factory", |
| 2136 ] | 2142 ] |
| 2137 } | 2143 } |
| OLD | NEW |