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

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

Issue 2930243003: Opus implementation of the AudioEncoderFactoryTemplate API (Closed)
Patch Set: rebase Created 3 years, 6 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("../../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
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",
831 "../../base:protobuf_utils", 832 "../../base:protobuf_utils",
832 "../../base:rtc_base_approved", 833 "../../base:rtc_base_approved",
833 "../../base:rtc_numerics", 834 "../../base:rtc_numerics",
834 "../../common_audio", 835 "../../common_audio",
835 "../../system_wrappers", 836 "../../system_wrappers",
836 ] 837 ]
837 public_deps = [ 838 public_deps = [
838 ":webrtc_opus_c", 839 ":webrtc_opus_c",
839 ] 840 ]
840 841
841 defines = audio_codec_defines 842 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 }
847 843
848 if (rtc_build_opus) { 844 if (rtc_build_opus) {
849 public_deps += [ rtc_opus_dir ] 845 public_deps += [ rtc_opus_dir ]
850 } else if (build_with_mozilla) { 846 } else if (build_with_mozilla) {
851 include_dirs = [ getenv("DIST") + "/include/opus" ] 847 include_dirs = [ getenv("DIST") + "/include/opus" ]
852 } 848 }
853 } 849 }
854 850
855 rtc_source_set("webrtc_opus_c") { 851 rtc_source_set("webrtc_opus_c") {
856 visibility = [ ":*" ] # Only targets in this file can depend on this. 852 visibility = [ ":*" ] # Only targets in this file can depend on this.
(...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after
1475 defines = neteq_defines 1471 defines = neteq_defines
1476 1472
1477 deps += audio_coding_deps 1473 deps += audio_coding_deps
1478 deps += [ 1474 deps += [
1479 ":ilbc", 1475 ":ilbc",
1480 ":isac", 1476 ":isac",
1481 ":isac_fix", 1477 ":isac_fix",
1482 ":neteq", 1478 ":neteq",
1483 ":neteq_tools", 1479 ":neteq_tools",
1484 "../../api/audio_codecs:audio_codecs_api", 1480 "../../api/audio_codecs:audio_codecs_api",
1481 "../../api/audio_codecs/opus:audio_encoder_opus",
1485 "../../base:protobuf_utils", 1482 "../../base:protobuf_utils",
1486 "../../common_audio", 1483 "../../common_audio",
1487 "../../test:test_main", 1484 "../../test:test_main",
1488 "//testing/gtest", 1485 "//testing/gtest",
1489 ] 1486 ]
1490 1487
1491 data = audio_decoder_unittests_resources 1488 data = audio_decoder_unittests_resources
1492 1489
1493 if (is_android) { 1490 if (is_android) {
1494 deps += [ "//testing/android/native_test:native_test_native_code" ] 1491 deps += [ "//testing/android/native_test:native_test_native_code" ]
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after
2232 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead. 2229 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead.
2233 # TODO(ossu): Remove this. 2230 # TODO(ossu): Remove this.
2234 rtc_source_set("builtin_audio_encoder_factory") { 2231 rtc_source_set("builtin_audio_encoder_factory") {
2235 sources = [ 2232 sources = [
2236 "codecs/builtin_audio_encoder_factory.h", 2233 "codecs/builtin_audio_encoder_factory.h",
2237 ] 2234 ]
2238 deps = [ 2235 deps = [
2239 "../../api/audio_codecs:builtin_audio_encoder_factory", 2236 "../../api/audio_codecs:builtin_audio_encoder_factory",
2240 ] 2237 ]
2241 } 2238 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698