| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 | 60 |
| 61 if (is_clang) { | 61 if (is_clang) { |
| 62 # Suppress warnings from Chrome's Clang plugins. | 62 # Suppress warnings from Chrome's Clang plugins. |
| 63 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 63 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 64 configs -= [ "//build/config/clang:find_bad_constructs" ] | 64 configs -= [ "//build/config/clang:find_bad_constructs" ] |
| 65 } | 65 } |
| 66 | 66 |
| 67 deps = [ | 67 deps = [ |
| 68 ":cng", | 68 ":cng", |
| 69 ":g711", | 69 ":g711", |
| 70 ":g722", |
| 71 ":ilbc", |
| 72 ":isac", |
| 73 ":isac_fix", |
| 70 ":neteq", | 74 ":neteq", |
| 71 ":pcm16b", | 75 ":pcm16b", |
| 76 ":red", |
| 72 "../..:rtc_event_log", | 77 "../..:rtc_event_log", |
| 73 "../..:webrtc_common", | 78 "../..:webrtc_common", |
| 74 "../../common_audio", | 79 "../../common_audio", |
| 75 "../../system_wrappers", | 80 "../../system_wrappers", |
| 76 ] | 81 ] |
| 77 | 82 |
| 78 if (rtc_include_opus) { | 83 if (rtc_include_opus) { |
| 79 defines += [ "WEBRTC_CODEC_OPUS" ] | 84 defines += [ "WEBRTC_CODEC_OPUS" ] |
| 80 deps += [ ":webrtc_opus" ] | 85 deps += [ ":webrtc_opus" ] |
| 81 } | 86 } |
| 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 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 } | 87 } |
| 104 | 88 |
| 105 source_set("audio_decoder_interface") { | 89 source_set("audio_decoder_interface") { |
| 106 sources = [ | 90 sources = [ |
| 107 "codecs/audio_decoder.cc", | 91 "codecs/audio_decoder.cc", |
| 108 "codecs/audio_decoder.h", | 92 "codecs/audio_decoder.h", |
| 109 ] | 93 ] |
| 110 configs += [ "../..:common_config" ] | 94 configs += [ "../..:common_config" ] |
| 111 public_configs = [ "../..:common_inherited_config" ] | 95 public_configs = [ "../..:common_inherited_config" ] |
| 112 deps = [ | 96 deps = [ |
| (...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 797 | 781 |
| 798 public_configs = [ | 782 public_configs = [ |
| 799 "../..:common_inherited_config", | 783 "../..:common_inherited_config", |
| 800 ":neteq_config", | 784 ":neteq_config", |
| 801 ] | 785 ] |
| 802 | 786 |
| 803 deps = [ | 787 deps = [ |
| 804 ":audio_decoder_interface", | 788 ":audio_decoder_interface", |
| 805 ":cng", | 789 ":cng", |
| 806 ":g711", | 790 ":g711", |
| 791 ":g722", |
| 792 ":ilbc", |
| 793 ":isac", |
| 794 ":isac_fix", |
| 807 ":pcm16b", | 795 ":pcm16b", |
| 808 "../..:webrtc_common", | 796 "../..:webrtc_common", |
| 809 "../../common_audio", | 797 "../../common_audio", |
| 810 "../../system_wrappers", | 798 "../../system_wrappers", |
| 811 ] | 799 ] |
| 812 | 800 |
| 813 defines = [] | 801 defines = [] |
| 814 | 802 |
| 815 if (rtc_include_opus) { | 803 if (rtc_include_opus) { |
| 816 defines += [ "WEBRTC_CODEC_OPUS" ] | 804 defines += [ "WEBRTC_CODEC_OPUS" ] |
| 817 deps += [ ":webrtc_opus" ] | 805 deps += [ ":webrtc_opus" ] |
| 818 } | 806 } |
| 819 if (!build_with_mozilla) { | |
| 820 if (current_cpu == "arm") { | |
| 821 defines += [ "WEBRTC_CODEC_ISACFX" ] | |
| 822 deps += [ ":isac_fix" ] | |
| 823 } else { | |
| 824 defines += [ "WEBRTC_CODEC_ISAC" ] | |
| 825 deps += [ ":isac" ] | |
| 826 } | |
| 827 defines += [ "WEBRTC_CODEC_G722" ] | |
| 828 deps += [ ":g722" ] | |
| 829 } | |
| 830 if (!build_with_mozilla && !build_with_chromium) { | |
| 831 defines += [ "WEBRTC_CODEC_ILBC" ] | |
| 832 deps += [ ":ilbc" ] | |
| 833 } | |
| 834 } | 807 } |
| OLD | NEW |