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 810 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
821 "codecs/opus/audio_decoder_opus.cc", | 821 "codecs/opus/audio_decoder_opus.cc", |
822 "codecs/opus/audio_decoder_opus.h", | 822 "codecs/opus/audio_decoder_opus.h", |
823 "codecs/opus/audio_encoder_opus.cc", | 823 "codecs/opus/audio_encoder_opus.cc", |
824 "codecs/opus/audio_encoder_opus.h", | 824 "codecs/opus/audio_encoder_opus.h", |
825 ] | 825 ] |
826 | 826 |
827 deps = [ | 827 deps = [ |
828 ":audio_network_adaptor", | 828 ":audio_network_adaptor", |
829 "../..:webrtc_common", | 829 "../..:webrtc_common", |
830 "../../api/audio_codecs:audio_codecs_api", | 830 "../../api/audio_codecs:audio_codecs_api", |
831 "../../api/audio_codecs/opus:audio_encoder_opus_config", | |
832 "../../base:protobuf_utils", | 831 "../../base:protobuf_utils", |
833 "../../base:rtc_base_approved", | 832 "../../base:rtc_base_approved", |
834 "../../base:rtc_numerics", | 833 "../../base:rtc_numerics", |
835 "../../common_audio", | 834 "../../common_audio", |
836 "../../system_wrappers", | 835 "../../system_wrappers", |
837 ] | 836 ] |
838 public_deps = [ | 837 public_deps = [ |
839 ":webrtc_opus_c", | 838 ":webrtc_opus_c", |
840 ] | 839 ] |
841 | 840 |
842 defines = audio_codec_defines | 841 defines = audio_codec_defines |
| 842 if (rtc_opus_variable_complexity) { |
| 843 defines += [ "WEBRTC_OPUS_VARIABLE_COMPLEXITY=1" ] |
| 844 } else { |
| 845 defines += [ "WEBRTC_OPUS_VARIABLE_COMPLEXITY=0" ] |
| 846 } |
843 | 847 |
844 if (rtc_build_opus) { | 848 if (rtc_build_opus) { |
845 public_deps += [ rtc_opus_dir ] | 849 public_deps += [ rtc_opus_dir ] |
846 } else if (build_with_mozilla) { | 850 } else if (build_with_mozilla) { |
847 include_dirs = [ getenv("DIST") + "/include/opus" ] | 851 include_dirs = [ getenv("DIST") + "/include/opus" ] |
848 } | 852 } |
849 } | 853 } |
850 | 854 |
851 rtc_source_set("webrtc_opus_c") { | 855 rtc_source_set("webrtc_opus_c") { |
852 visibility = [ ":*" ] # Only targets in this file can depend on this. | 856 visibility = [ ":*" ] # Only targets in this file can depend on this. |
(...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1471 defines = neteq_defines | 1475 defines = neteq_defines |
1472 | 1476 |
1473 deps += audio_coding_deps | 1477 deps += audio_coding_deps |
1474 deps += [ | 1478 deps += [ |
1475 ":ilbc", | 1479 ":ilbc", |
1476 ":isac", | 1480 ":isac", |
1477 ":isac_fix", | 1481 ":isac_fix", |
1478 ":neteq", | 1482 ":neteq", |
1479 ":neteq_tools", | 1483 ":neteq_tools", |
1480 "../../api/audio_codecs:audio_codecs_api", | 1484 "../../api/audio_codecs:audio_codecs_api", |
1481 "../../api/audio_codecs/opus:audio_encoder_opus", | |
1482 "../../base:protobuf_utils", | 1485 "../../base:protobuf_utils", |
1483 "../../common_audio", | 1486 "../../common_audio", |
1484 "../../test:test_main", | 1487 "../../test:test_main", |
1485 "//testing/gtest", | 1488 "//testing/gtest", |
1486 ] | 1489 ] |
1487 | 1490 |
1488 data = audio_decoder_unittests_resources | 1491 data = audio_decoder_unittests_resources |
1489 | 1492 |
1490 if (is_android) { | 1493 if (is_android) { |
1491 deps += [ "//testing/android/native_test:native_test_native_code" ] | 1494 deps += [ "//testing/android/native_test:native_test_native_code" ] |
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2229 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead. | 2232 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead. |
2230 # TODO(ossu): Remove this. | 2233 # TODO(ossu): Remove this. |
2231 rtc_source_set("builtin_audio_encoder_factory") { | 2234 rtc_source_set("builtin_audio_encoder_factory") { |
2232 sources = [ | 2235 sources = [ |
2233 "codecs/builtin_audio_encoder_factory.h", | 2236 "codecs/builtin_audio_encoder_factory.h", |
2234 ] | 2237 ] |
2235 deps = [ | 2238 deps = [ |
2236 "../../api/audio_codecs:builtin_audio_encoder_factory", | 2239 "../../api/audio_codecs:builtin_audio_encoder_factory", |
2237 ] | 2240 ] |
2238 } | 2241 } |
OLD | NEW |