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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 if (current_cpu == "arm") { | 83 if (current_cpu == "arm") { |
84 defines += [ "WEBRTC_CODEC_ISACFX" ] | 84 defines += [ "WEBRTC_CODEC_ISACFX" ] |
85 deps += [ ":isac_fix" ] | 85 deps += [ ":isac_fix" ] |
86 } else { | 86 } else { |
87 defines += [ "WEBRTC_CODEC_ISAC" ] | 87 defines += [ "WEBRTC_CODEC_ISAC" ] |
88 deps += [ ":isac" ] | 88 deps += [ ":isac" ] |
89 } | 89 } |
90 defines += [ "WEBRTC_CODEC_G722" ] | 90 defines += [ "WEBRTC_CODEC_G722" ] |
91 deps += [ ":g722" ] | 91 deps += [ ":g722" ] |
92 } | 92 } |
93 if (!build_with_mozilla && !build_with_chromium) { | |
94 defines += [ | |
95 "WEBRTC_CODEC_ILBC", | |
96 "WEBRTC_CODEC_RED", | |
97 ] | |
98 deps += [ | |
99 ":ilbc", | |
100 ":red", | |
101 ] | |
102 } | |
103 } | 93 } |
104 | 94 |
105 source_set("audio_decoder_interface") { | 95 source_set("audio_decoder_interface") { |
106 sources = [ | 96 sources = [ |
107 "codecs/audio_decoder.cc", | 97 "codecs/audio_decoder.cc", |
108 "codecs/audio_decoder.h", | 98 "codecs/audio_decoder.h", |
109 ] | 99 ] |
110 configs += [ "../..:common_config" ] | 100 configs += [ "../..:common_config" ] |
111 public_configs = [ "../..:common_inherited_config" ] | 101 public_configs = [ "../..:common_inherited_config" ] |
112 deps = [ | 102 deps = [ |
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
821 if (current_cpu == "arm") { | 811 if (current_cpu == "arm") { |
822 defines += [ "WEBRTC_CODEC_ISACFX" ] | 812 defines += [ "WEBRTC_CODEC_ISACFX" ] |
823 deps += [ ":isac_fix" ] | 813 deps += [ ":isac_fix" ] |
824 } else { | 814 } else { |
825 defines += [ "WEBRTC_CODEC_ISAC" ] | 815 defines += [ "WEBRTC_CODEC_ISAC" ] |
826 deps += [ ":isac" ] | 816 deps += [ ":isac" ] |
827 } | 817 } |
828 defines += [ "WEBRTC_CODEC_G722" ] | 818 defines += [ "WEBRTC_CODEC_G722" ] |
829 deps += [ ":g722" ] | 819 deps += [ ":g722" ] |
830 } | 820 } |
831 if (!build_with_mozilla && !build_with_chromium) { | |
832 defines += [ "WEBRTC_CODEC_ILBC" ] | |
833 deps += [ ":ilbc" ] | |
834 } | |
835 } | 821 } |
OLD | NEW |