| 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") |
| 11 | 11 |
| 12 source_set("rent_a_codec") { | 12 source_set("rent_a_codec") { |
| 13 sources = [ | 13 sources = [ |
| 14 "main/acm2/acm_codec_database.cc", | 14 "acm2/acm_codec_database.cc", |
| 15 "main/acm2/acm_codec_database.h", | 15 "acm2/acm_codec_database.h", |
| 16 "main/acm2/rent_a_codec.cc", | 16 "acm2/rent_a_codec.cc", |
| 17 "main/acm2/rent_a_codec.h", | 17 "acm2/rent_a_codec.h", |
| 18 ] | 18 ] |
| 19 configs += [ "../..:common_config" ] | 19 configs += [ "../..:common_config" ] |
| 20 public_configs = [ "../..:common_inherited_config" ] | 20 public_configs = [ "../..:common_inherited_config" ] |
| 21 deps = [ | 21 deps = [ |
| 22 "../..:webrtc_common", | 22 "../..:webrtc_common", |
| 23 ] | 23 ] |
| 24 | 24 |
| 25 defines = [] | 25 defines = [] |
| 26 if (rtc_include_opus) { | 26 if (rtc_include_opus) { |
| 27 defines += [ "WEBRTC_CODEC_OPUS" ] | 27 defines += [ "WEBRTC_CODEC_OPUS" ] |
| 28 } | 28 } |
| 29 if (!build_with_mozilla) { | 29 if (!build_with_mozilla) { |
| 30 if (current_cpu == "arm") { | 30 if (current_cpu == "arm") { |
| 31 defines += [ "WEBRTC_CODEC_ISACFX" ] | 31 defines += [ "WEBRTC_CODEC_ISACFX" ] |
| 32 } else { | 32 } else { |
| 33 defines += [ "WEBRTC_CODEC_ISAC" ] | 33 defines += [ "WEBRTC_CODEC_ISAC" ] |
| 34 } | 34 } |
| 35 defines += [ "WEBRTC_CODEC_G722" ] | 35 defines += [ "WEBRTC_CODEC_G722" ] |
| 36 } | 36 } |
| 37 if (!build_with_mozilla && !build_with_chromium) { | 37 if (!build_with_mozilla && !build_with_chromium) { |
| 38 defines += [ | 38 defines += [ |
| 39 "WEBRTC_CODEC_ILBC", | 39 "WEBRTC_CODEC_ILBC", |
| 40 "WEBRTC_CODEC_RED", | 40 "WEBRTC_CODEC_RED", |
| 41 ] | 41 ] |
| 42 } | 42 } |
| 43 } | 43 } |
| 44 | 44 |
| 45 config("audio_coding_config") { | 45 config("audio_coding_config") { |
| 46 include_dirs = [ | 46 include_dirs = [ |
| 47 "main/include", | 47 "include", |
| 48 "../include", | 48 "../include", |
| 49 ] | 49 ] |
| 50 } | 50 } |
| 51 | 51 |
| 52 source_set("audio_coding") { | 52 source_set("audio_coding") { |
| 53 sources = [ | 53 sources = [ |
| 54 "main/acm2/acm_common_defs.h", | 54 "acm2/acm_common_defs.h", |
| 55 "main/acm2/acm_receiver.cc", | 55 "acm2/acm_receiver.cc", |
| 56 "main/acm2/acm_receiver.h", | 56 "acm2/acm_receiver.h", |
| 57 "main/acm2/acm_resampler.cc", | 57 "acm2/acm_resampler.cc", |
| 58 "main/acm2/acm_resampler.h", | 58 "acm2/acm_resampler.h", |
| 59 "main/acm2/audio_coding_module.cc", | 59 "acm2/audio_coding_module.cc", |
| 60 "main/acm2/audio_coding_module_impl.cc", | 60 "acm2/audio_coding_module_impl.cc", |
| 61 "main/acm2/audio_coding_module_impl.h", | 61 "acm2/audio_coding_module_impl.h", |
| 62 "main/acm2/call_statistics.cc", | 62 "acm2/call_statistics.cc", |
| 63 "main/acm2/call_statistics.h", | 63 "acm2/call_statistics.h", |
| 64 "main/acm2/codec_manager.cc", | 64 "acm2/codec_manager.cc", |
| 65 "main/acm2/codec_manager.h", | 65 "acm2/codec_manager.h", |
| 66 "main/acm2/initial_delay_manager.cc", | 66 "acm2/initial_delay_manager.cc", |
| 67 "main/acm2/initial_delay_manager.h", | 67 "acm2/initial_delay_manager.h", |
| 68 "main/include/audio_coding_module.h", | 68 "include/audio_coding_module.h", |
| 69 "main/include/audio_coding_module_typedefs.h", | 69 "include/audio_coding_module_typedefs.h", |
| 70 ] | 70 ] |
| 71 | 71 |
| 72 defines = [] | 72 defines = [] |
| 73 | 73 |
| 74 configs += [ "../..:common_config" ] | 74 configs += [ "../..:common_config" ] |
| 75 | 75 |
| 76 public_configs = [ | 76 public_configs = [ |
| 77 "../..:common_inherited_config", | 77 "../..:common_inherited_config", |
| 78 ":audio_coding_config", | 78 ":audio_coding_config", |
| 79 ] | 79 ] |
| (...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 856 deps += [ ":isac" ] | 856 deps += [ ":isac" ] |
| 857 } | 857 } |
| 858 defines += [ "WEBRTC_CODEC_G722" ] | 858 defines += [ "WEBRTC_CODEC_G722" ] |
| 859 deps += [ ":g722" ] | 859 deps += [ ":g722" ] |
| 860 } | 860 } |
| 861 if (!build_with_mozilla && !build_with_chromium) { | 861 if (!build_with_mozilla && !build_with_chromium) { |
| 862 defines += [ "WEBRTC_CODEC_ILBC" ] | 862 defines += [ "WEBRTC_CODEC_ILBC" ] |
| 863 deps += [ ":ilbc" ] | 863 deps += [ ":ilbc" ] |
| 864 } | 864 } |
| 865 } | 865 } |
| OLD | NEW |