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 691 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
702 ] | 702 ] |
703 | 703 |
704 deps = [ | 704 deps = [ |
705 ":audio_encoder_interface", | 705 ":audio_encoder_interface", |
706 ] | 706 ] |
707 | 707 |
708 if (rtc_build_opus) { | 708 if (rtc_build_opus) { |
709 configs += [ "../..:common_config" ] | 709 configs += [ "../..:common_config" ] |
710 public_configs = [ "../..:common_inherited_config" ] | 710 public_configs = [ "../..:common_inherited_config" ] |
711 | 711 |
712 deps += [ rtc_opus_dir ] | 712 public_deps = [ |
713 forward_dependent_configs_from = [ rtc_opus_dir ] | 713 rtc_opus_dir, |
| 714 ] |
714 } else if (build_with_mozilla) { | 715 } else if (build_with_mozilla) { |
715 include_dirs = [ getenv("DIST") + "/include/opus" ] | 716 include_dirs = [ getenv("DIST") + "/include/opus" ] |
716 } | 717 } |
717 } | 718 } |
718 | 719 |
719 config("neteq_config") { | 720 config("neteq_config") { |
720 include_dirs = [ | 721 include_dirs = [ |
721 # Need Opus header files for the audio classifier. | 722 # Need Opus header files for the audio classifier. |
722 "//third_party/opus/src/celt", | 723 "//third_party/opus/src/celt", |
723 "//third_party/opus/src/src", | 724 "//third_party/opus/src/src", |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
825 deps += [ ":isac" ] | 826 deps += [ ":isac" ] |
826 } | 827 } |
827 defines += [ "WEBRTC_CODEC_G722" ] | 828 defines += [ "WEBRTC_CODEC_G722" ] |
828 deps += [ ":g722" ] | 829 deps += [ ":g722" ] |
829 } | 830 } |
830 if (!build_with_mozilla && !build_with_chromium) { | 831 if (!build_with_mozilla && !build_with_chromium) { |
831 defines += [ "WEBRTC_CODEC_ILBC" ] | 832 defines += [ "WEBRTC_CODEC_ILBC" ] |
832 deps += [ ":ilbc" ] | 833 deps += [ ":ilbc" ] |
833 } | 834 } |
834 } | 835 } |
OLD | NEW |