Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(412)

Side by Side Diff: webrtc/modules/audio_coding/BUILD.gn

Issue 1365063004: GN: Do not use forward_dependent_configs_from variable. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698