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

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

Issue 2948483002: Opus implementation of the AudioEncoderFactoryTemplate API (Closed)
Patch Set: rebase Created 3 years, 5 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 811 matching lines...) Expand 10 before | Expand all | Expand 10 after
822 "codecs/opus/audio_decoder_opus.cc", 822 "codecs/opus/audio_decoder_opus.cc",
823 "codecs/opus/audio_decoder_opus.h", 823 "codecs/opus/audio_decoder_opus.h",
824 "codecs/opus/audio_encoder_opus.cc", 824 "codecs/opus/audio_encoder_opus.cc",
825 "codecs/opus/audio_encoder_opus.h", 825 "codecs/opus/audio_encoder_opus.h",
826 ] 826 ]
827 827
828 deps = [ 828 deps = [
829 ":audio_network_adaptor", 829 ":audio_network_adaptor",
830 "../..:webrtc_common", 830 "../..:webrtc_common",
831 "../../api/audio_codecs:audio_codecs_api", 831 "../../api/audio_codecs:audio_codecs_api",
832 "../../api/audio_codecs/opus:audio_encoder_opus_config",
832 "../../base:protobuf_utils", 833 "../../base:protobuf_utils",
833 "../../base:rtc_base_approved", 834 "../../base:rtc_base_approved",
834 "../../base:rtc_numerics", 835 "../../base:rtc_numerics",
835 "../../common_audio", 836 "../../common_audio",
836 "../../system_wrappers", 837 "../../system_wrappers",
837 ] 838 ]
838 public_deps = [ 839 public_deps = [
839 ":webrtc_opus_c", 840 ":webrtc_opus_c",
840 ] 841 ]
841 842
842 defines = audio_codec_defines 843 defines = audio_codec_defines
843 if (rtc_opus_variable_complexity) {
844 defines += [ "WEBRTC_OPUS_VARIABLE_COMPLEXITY=1" ]
845 } else {
846 defines += [ "WEBRTC_OPUS_VARIABLE_COMPLEXITY=0" ]
847 }
848 844
849 if (rtc_build_opus) { 845 if (rtc_build_opus) {
850 public_deps += [ rtc_opus_dir ] 846 public_deps += [ rtc_opus_dir ]
851 } else if (build_with_mozilla) { 847 } else if (build_with_mozilla) {
852 include_dirs = [ getenv("DIST") + "/include/opus" ] 848 include_dirs = [ getenv("DIST") + "/include/opus" ]
853 } 849 }
854 } 850 }
855 851
856 rtc_source_set("webrtc_opus_c") { 852 rtc_source_set("webrtc_opus_c") {
857 visibility = [ ":*" ] # Only targets in this file can depend on this. 853 visibility = [ ":*" ] # Only targets in this file can depend on this.
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after
1478 defines = neteq_defines 1474 defines = neteq_defines
1479 1475
1480 deps += audio_coding_deps 1476 deps += audio_coding_deps
1481 deps += [ 1477 deps += [
1482 ":ilbc", 1478 ":ilbc",
1483 ":isac", 1479 ":isac",
1484 ":isac_fix", 1480 ":isac_fix",
1485 ":neteq", 1481 ":neteq",
1486 ":neteq_tools", 1482 ":neteq_tools",
1487 "../../api/audio_codecs:audio_codecs_api", 1483 "../../api/audio_codecs:audio_codecs_api",
1484 "../../api/audio_codecs/opus:audio_encoder_opus",
1488 "../../base:protobuf_utils", 1485 "../../base:protobuf_utils",
1489 "../../common_audio", 1486 "../../common_audio",
1490 "../../test:test_main", 1487 "../../test:test_main",
1491 "//testing/gtest", 1488 "//testing/gtest",
1492 ] 1489 ]
1493 1490
1494 data = audio_decoder_unittests_resources 1491 data = audio_decoder_unittests_resources
1495 1492
1496 if (is_android) { 1493 if (is_android) {
1497 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
2235 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead. 2232 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead.
2236 # TODO(ossu): Remove this. 2233 # TODO(ossu): Remove this.
2237 rtc_source_set("builtin_audio_encoder_factory") { 2234 rtc_source_set("builtin_audio_encoder_factory") {
2238 sources = [ 2235 sources = [
2239 "codecs/builtin_audio_encoder_factory.h", 2236 "codecs/builtin_audio_encoder_factory.h",
2240 ] 2237 ]
2241 deps = [ 2238 deps = [
2242 "../../api/audio_codecs:builtin_audio_encoder_factory", 2239 "../../api/audio_codecs:builtin_audio_encoder_factory",
2243 ] 2240 ]
2244 } 2241 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698