| 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 693 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 704 "codecs/opus/opus_interface.h", | 704 "codecs/opus/opus_interface.h", |
| 705 ] | 705 ] |
| 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_base_approved", | 711 "../../base:rtc_base_approved", |
| 712 ] | 712 ] |
| 713 | 713 |
| 714 defines = [] |
| 715 |
| 714 if (rtc_build_opus) { | 716 if (rtc_build_opus) { |
| 715 public_deps = [ | 717 public_deps = [ |
| 716 rtc_opus_dir, | 718 rtc_opus_dir, |
| 717 ] | 719 ] |
| 720 if (rtc_opus_variable_complexity) { |
| 721 defines += [ "WEBRTC_OPUS_VARIABLE_COMPLEXITY=1" ] |
| 722 } else { |
| 723 defines += [ "WEBRTC_OPUS_VARIABLE_COMPLEXITY=0" ] |
| 724 } |
| 718 } else if (build_with_mozilla) { | 725 } else if (build_with_mozilla) { |
| 719 include_dirs = [ getenv("DIST") + "/include/opus" ] | 726 include_dirs = [ getenv("DIST") + "/include/opus" ] |
| 720 } | 727 } |
| 721 } | 728 } |
| 722 | 729 |
| 723 if (rtc_enable_protobuf) { | 730 if (rtc_enable_protobuf) { |
| 724 proto_library("ana_debug_dump_proto") { | 731 proto_library("ana_debug_dump_proto") { |
| 725 sources = [ | 732 sources = [ |
| 726 "audio_network_adaptor/debug_dump.proto", | 733 "audio_network_adaptor/debug_dump.proto", |
| 727 ] | 734 ] |
| (...skipping 948 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1676 "../../test:test_support_main", | 1683 "../../test:test_support_main", |
| 1677 "//testing/gtest", | 1684 "//testing/gtest", |
| 1678 ] | 1685 ] |
| 1679 | 1686 |
| 1680 if (!build_with_chromium && is_clang) { | 1687 if (!build_with_chromium && is_clang) { |
| 1681 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 1688 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 1682 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1689 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 1683 } | 1690 } |
| 1684 } | 1691 } |
| 1685 } | 1692 } |
| OLD | NEW |