| 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 } | 120 } |
| 121 | 121 |
| 122 if (is_win) { | 122 if (is_win) { |
| 123 cflags = [ | 123 cflags = [ |
| 124 # TODO(kjellander): Bug 261: fix this warning. | 124 # TODO(kjellander): Bug 261: fix this warning. |
| 125 "/wd4373", # virtual function override. | 125 "/wd4373", # virtual function override. |
| 126 ] | 126 ] |
| 127 } | 127 } |
| 128 | 128 |
| 129 deps = audio_coding_deps + [ | 129 deps = audio_coding_deps + [ |
| 130 ":audio_network_adaptor", |
| 130 ":neteq", | 131 ":neteq", |
| 131 ":rent_a_codec", | 132 ":rent_a_codec", |
| 132 "../..:rtc_event_log", | 133 "../..:rtc_event_log", |
| 133 ] | 134 ] |
| 134 defines = audio_coding_defines | 135 defines = audio_coding_defines |
| 135 } | 136 } |
| 136 | 137 |
| 137 rtc_source_set("audio_decoder_interface") { | 138 rtc_source_set("audio_decoder_interface") { |
| 138 sources = [ | 139 sources = [ |
| 139 "codecs/audio_decoder.cc", | 140 "codecs/audio_decoder.cc", |
| (...skipping 612 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 752 public_configs = [ "../..:common_inherited_config" ] | 753 public_configs = [ "../..:common_inherited_config" ] |
| 753 | 754 |
| 754 public_deps = [ | 755 public_deps = [ |
| 755 rtc_opus_dir, | 756 rtc_opus_dir, |
| 756 ] | 757 ] |
| 757 } else if (build_with_mozilla) { | 758 } else if (build_with_mozilla) { |
| 758 include_dirs = [ getenv("DIST") + "/include/opus" ] | 759 include_dirs = [ getenv("DIST") + "/include/opus" ] |
| 759 } | 760 } |
| 760 } | 761 } |
| 761 | 762 |
| 763 source_set("audio_network_adaptor") { |
| 764 sources = [ |
| 765 "audio_network_adaptor/audio_network_adaptor.cc", |
| 766 "audio_network_adaptor/include/audio_network_adaptor.h", |
| 767 ] |
| 768 configs += [ "../..:common_config" ] |
| 769 public_configs = [ "../..:common_inherited_config" ] |
| 770 } |
| 771 |
| 762 config("neteq_config") { | 772 config("neteq_config") { |
| 763 include_dirs = [ | 773 include_dirs = [ |
| 764 # Need Opus header files for the audio classifier. | 774 # Need Opus header files for the audio classifier. |
| 765 "//third_party/opus/src/celt", | 775 "//third_party/opus/src/celt", |
| 766 "//third_party/opus/src/src", | 776 "//third_party/opus/src/src", |
| 767 ] | 777 ] |
| 768 } | 778 } |
| 769 | 779 |
| 770 rtc_source_set("neteq") { | 780 rtc_source_set("neteq") { |
| 771 sources = [ | 781 sources = [ |
| (...skipping 911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1683 "//testing/gtest", | 1693 "//testing/gtest", |
| 1684 ] | 1694 ] |
| 1685 | 1695 |
| 1686 if (is_clang) { | 1696 if (is_clang) { |
| 1687 # Suppress warnings from Chrome's Clang plugins. | 1697 # Suppress warnings from Chrome's Clang plugins. |
| 1688 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 1698 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 1689 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1699 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 1690 } | 1700 } |
| 1691 } | 1701 } |
| 1692 } | 1702 } |
| OLD | NEW |