| 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("../../webrtc.gni") | 9 import("../../webrtc.gni") |
| 10 import("audio_coding.gni") | 10 import("audio_coding.gni") |
| (...skipping 854 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 865 } | 865 } |
| 866 | 866 |
| 867 rtc_source_set("webrtc_opus_c") { | 867 rtc_source_set("webrtc_opus_c") { |
| 868 visibility = [ ":*" ] # Only targets in this file can depend on this. | 868 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 869 sources = [ | 869 sources = [ |
| 870 "codecs/opus/opus_inst.h", | 870 "codecs/opus/opus_inst.h", |
| 871 "codecs/opus/opus_interface.c", | 871 "codecs/opus/opus_interface.c", |
| 872 "codecs/opus/opus_interface.h", | 872 "codecs/opus/opus_interface.h", |
| 873 ] | 873 ] |
| 874 | 874 |
| 875 defines = audio_coding_defines |
| 876 |
| 875 if (rtc_build_opus) { | 877 if (rtc_build_opus) { |
| 876 public_deps = [ | 878 public_deps = [ |
| 877 rtc_opus_dir, | 879 rtc_opus_dir, |
| 878 ] | 880 ] |
| 879 } else if (build_with_mozilla) { | 881 } else if (build_with_mozilla) { |
| 880 include_dirs = [ getenv("DIST") + "/include/opus" ] | 882 include_dirs = [ getenv("DIST") + "/include/opus" ] |
| 881 } | 883 } |
| 882 | 884 |
| 883 deps = [ | 885 deps = [ |
| 884 "../..:webrtc_common", | 886 "../..:webrtc_common", |
| (...skipping 1220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2105 ":neteq_unittest_proto", | 2107 ":neteq_unittest_proto", |
| 2106 ] | 2108 ] |
| 2107 } | 2109 } |
| 2108 | 2110 |
| 2109 if (!build_with_chromium && is_clang) { | 2111 if (!build_with_chromium && is_clang) { |
| 2110 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 2112 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 2111 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 2113 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 2112 } | 2114 } |
| 2113 } | 2115 } |
| 2114 } | 2116 } |
| OLD | NEW |