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/webrtc.gni") | 9 import("../../build/webrtc.gni") |
10 import("audio_coding.gni") | 10 import("audio_coding.gni") |
(...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
706 | 706 |
707 deps = [ | 707 deps = [ |
708 ":audio_decoder_interface", | 708 ":audio_decoder_interface", |
709 ":audio_encoder_interface", | 709 ":audio_encoder_interface", |
710 ":audio_network_adaptor", | 710 ":audio_network_adaptor", |
711 "../../base:rtc_analytics", | 711 "../../base:rtc_analytics", |
712 "../../base:rtc_base_approved", | 712 "../../base:rtc_base_approved", |
713 ] | 713 ] |
714 | 714 |
715 defines = [] | 715 defines = [] |
| 716 if (rtc_opus_variable_complexity) { |
| 717 defines += [ "WEBRTC_OPUS_VARIABLE_COMPLEXITY=1" ] |
| 718 } else { |
| 719 defines += [ "WEBRTC_OPUS_VARIABLE_COMPLEXITY=0" ] |
| 720 } |
716 | 721 |
717 if (rtc_build_opus) { | 722 if (rtc_build_opus) { |
718 public_deps = [ | 723 public_deps = [ |
719 rtc_opus_dir, | 724 rtc_opus_dir, |
720 ] | 725 ] |
721 if (rtc_opus_variable_complexity) { | |
722 defines += [ "WEBRTC_OPUS_VARIABLE_COMPLEXITY=1" ] | |
723 } else { | |
724 defines += [ "WEBRTC_OPUS_VARIABLE_COMPLEXITY=0" ] | |
725 } | |
726 } else if (build_with_mozilla) { | 726 } else if (build_with_mozilla) { |
727 include_dirs = [ getenv("DIST") + "/include/opus" ] | 727 include_dirs = [ getenv("DIST") + "/include/opus" ] |
728 } | 728 } |
729 } | 729 } |
730 | 730 |
731 if (rtc_enable_protobuf) { | 731 if (rtc_enable_protobuf) { |
732 proto_library("ana_debug_dump_proto") { | 732 proto_library("ana_debug_dump_proto") { |
733 sources = [ | 733 sources = [ |
734 "audio_network_adaptor/debug_dump.proto", | 734 "audio_network_adaptor/debug_dump.proto", |
735 ] | 735 ] |
(...skipping 946 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1682 "../../test:test_support_main", | 1682 "../../test:test_support_main", |
1683 "//testing/gtest", | 1683 "//testing/gtest", |
1684 ] | 1684 ] |
1685 | 1685 |
1686 if (!build_with_chromium && is_clang) { | 1686 if (!build_with_chromium && is_clang) { |
1687 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 1687 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
1688 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1688 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
1689 } | 1689 } |
1690 } | 1690 } |
1691 } | 1691 } |
OLD | NEW |