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("//build/config/arm.gni") | 9 import("//build/config/arm.gni") |
10 import("../../build/webrtc.gni") | 10 import("../../build/webrtc.gni") |
(...skipping 21 matching lines...) Expand all Loading... |
32 audio_codec_deps += [ ":isac" ] | 32 audio_codec_deps += [ ":isac" ] |
33 } | 33 } |
34 audio_codec_defines += [ "WEBRTC_CODEC_G722" ] | 34 audio_codec_defines += [ "WEBRTC_CODEC_G722" ] |
35 audio_codec_deps += [ ":g722" ] | 35 audio_codec_deps += [ ":g722" ] |
36 } | 36 } |
37 if (!build_with_mozilla && !build_with_chromium) { | 37 if (!build_with_mozilla && !build_with_chromium) { |
38 audio_codec_defines += [ "WEBRTC_CODEC_RED" ] | 38 audio_codec_defines += [ "WEBRTC_CODEC_RED" ] |
39 audio_codec_deps += [ ":red" ] | 39 audio_codec_deps += [ ":red" ] |
40 } | 40 } |
41 | 41 |
| 42 source_set("audio_decoder_factory_interface") { |
| 43 sources = [ |
| 44 "codecs/audio_decoder_factory.h", |
| 45 "codecs/audio_format.cc", |
| 46 "codecs/audio_format.h", |
| 47 ] |
| 48 configs += [ "../..:common_config" ] |
| 49 public_configs = [ "../..:common_inherited_config" ] |
| 50 deps = [ |
| 51 "../..:webrtc_common", |
| 52 ] |
| 53 } |
| 54 |
| 55 source_set("builtin_audio_decoder_factory") { |
| 56 sources = [ |
| 57 "codecs/builtin_audio_decoder_factory.cc", |
| 58 "codecs/builtin_audio_decoder_factory.h", |
| 59 ] |
| 60 configs += [ "../..:common_config" ] |
| 61 public_configs = [ "../..:common_inherited_config" ] |
| 62 deps = [ |
| 63 "../..:webrtc_common", |
| 64 ":audio_decoder_factory_interface", |
| 65 ] + audio_codec_deps |
| 66 defines = audio_codec_defines |
| 67 } |
| 68 |
42 source_set("rent_a_codec") { | 69 source_set("rent_a_codec") { |
43 sources = [ | 70 sources = [ |
44 "acm2/acm_codec_database.cc", | 71 "acm2/acm_codec_database.cc", |
45 "acm2/acm_codec_database.h", | 72 "acm2/acm_codec_database.h", |
46 "acm2/rent_a_codec.cc", | 73 "acm2/rent_a_codec.cc", |
47 "acm2/rent_a_codec.h", | 74 "acm2/rent_a_codec.h", |
48 ] | 75 ] |
49 configs += [ "../..:common_config" ] | 76 configs += [ "../..:common_config" ] |
50 public_configs = [ "../..:common_inherited_config" ] | 77 public_configs = [ "../..:common_inherited_config" ] |
51 deps = [ "../..:webrtc_common" ] + audio_codec_deps | 78 deps = [ "../..:webrtc_common" ] + audio_codec_deps |
(...skipping 795 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
847 defines += [ "WEBRTC_CODEC_ISACFX" ] | 874 defines += [ "WEBRTC_CODEC_ISACFX" ] |
848 deps += [ ":isac_fix" ] | 875 deps += [ ":isac_fix" ] |
849 } else { | 876 } else { |
850 defines += [ "WEBRTC_CODEC_ISAC" ] | 877 defines += [ "WEBRTC_CODEC_ISAC" ] |
851 deps += [ ":isac" ] | 878 deps += [ ":isac" ] |
852 } | 879 } |
853 defines += [ "WEBRTC_CODEC_G722" ] | 880 defines += [ "WEBRTC_CODEC_G722" ] |
854 deps += [ ":g722" ] | 881 deps += [ ":g722" ] |
855 } | 882 } |
856 } | 883 } |
OLD | NEW |