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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 "../..:rtc_event_log", | 72 "../..:rtc_event_log", |
73 "../..:webrtc_common", | 73 "../..:webrtc_common", |
74 "../../common_audio", | 74 "../../common_audio", |
75 "../../system_wrappers", | 75 "../../system_wrappers", |
76 ] | 76 ] |
77 | 77 |
78 if (rtc_include_opus) { | 78 if (rtc_include_opus) { |
79 defines += [ "WEBRTC_CODEC_OPUS" ] | 79 defines += [ "WEBRTC_CODEC_OPUS" ] |
80 deps += [ ":webrtc_opus" ] | 80 deps += [ ":webrtc_opus" ] |
81 } | 81 } |
82 if (!build_with_mozilla) { | |
83 if (current_cpu == "arm") { | |
84 defines += [ "WEBRTC_CODEC_ISACFX" ] | |
85 deps += [ ":isac_fix" ] | |
86 } else { | |
87 defines += [ "WEBRTC_CODEC_ISAC" ] | |
88 deps += [ ":isac" ] | |
89 } | |
90 defines += [ "WEBRTC_CODEC_G722" ] | |
91 deps += [ ":g722" ] | |
92 } | |
93 } | 82 } |
94 | 83 |
95 source_set("audio_decoder_interface") { | 84 source_set("audio_decoder_interface") { |
96 sources = [ | 85 sources = [ |
97 "codecs/audio_decoder.cc", | 86 "codecs/audio_decoder.cc", |
98 "codecs/audio_decoder.h", | 87 "codecs/audio_decoder.h", |
99 ] | 88 ] |
100 configs += [ "../..:common_config" ] | 89 configs += [ "../..:common_config" ] |
101 public_configs = [ "../..:common_inherited_config" ] | 90 public_configs = [ "../..:common_inherited_config" ] |
102 deps = [ | 91 deps = [ |
(...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
800 "../../common_audio", | 789 "../../common_audio", |
801 "../../system_wrappers", | 790 "../../system_wrappers", |
802 ] | 791 ] |
803 | 792 |
804 defines = [] | 793 defines = [] |
805 | 794 |
806 if (rtc_include_opus) { | 795 if (rtc_include_opus) { |
807 defines += [ "WEBRTC_CODEC_OPUS" ] | 796 defines += [ "WEBRTC_CODEC_OPUS" ] |
808 deps += [ ":webrtc_opus" ] | 797 deps += [ ":webrtc_opus" ] |
809 } | 798 } |
810 if (!build_with_mozilla) { | |
811 if (current_cpu == "arm") { | |
812 defines += [ "WEBRTC_CODEC_ISACFX" ] | |
813 deps += [ ":isac_fix" ] | |
814 } else { | |
815 defines += [ "WEBRTC_CODEC_ISAC" ] | |
816 deps += [ ":isac" ] | |
817 } | |
818 defines += [ "WEBRTC_CODEC_G722" ] | |
819 deps += [ ":g722" ] | |
820 } | |
821 } | 799 } |
OLD | NEW |