| 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 832 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 843 "../..:webrtc_common", | 843 "../..:webrtc_common", |
| 844 "../../base:rtc_base_approved", | 844 "../../base:rtc_base_approved", |
| 845 "../../base:rtc_numerics", | 845 "../../base:rtc_numerics", |
| 846 "../../common_audio", | 846 "../../common_audio", |
| 847 "../../system_wrappers", | 847 "../../system_wrappers", |
| 848 ] | 848 ] |
| 849 public_deps = [ | 849 public_deps = [ |
| 850 ":webrtc_opus_c", | 850 ":webrtc_opus_c", |
| 851 ] | 851 ] |
| 852 | 852 |
| 853 defines = [] | 853 defines = audio_codec_defines |
| 854 if (rtc_opus_variable_complexity) { | 854 if (rtc_opus_variable_complexity) { |
| 855 defines += [ "WEBRTC_OPUS_VARIABLE_COMPLEXITY=1" ] | 855 defines += [ "WEBRTC_OPUS_VARIABLE_COMPLEXITY=1" ] |
| 856 } else { | 856 } else { |
| 857 defines += [ "WEBRTC_OPUS_VARIABLE_COMPLEXITY=0" ] | 857 defines += [ "WEBRTC_OPUS_VARIABLE_COMPLEXITY=0" ] |
| 858 } | 858 } |
| 859 | 859 |
| 860 if (rtc_build_opus) { | 860 if (rtc_build_opus) { |
| 861 public_deps += [ rtc_opus_dir ] | 861 public_deps += [ rtc_opus_dir ] |
| 862 } else if (build_with_mozilla) { | 862 } else if (build_with_mozilla) { |
| 863 include_dirs = [ getenv("DIST") + "/include/opus" ] | 863 include_dirs = [ getenv("DIST") + "/include/opus" ] |
| (...skipping 1243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2107 ":neteq_unittest_proto", | 2107 ":neteq_unittest_proto", |
| 2108 ] | 2108 ] |
| 2109 } | 2109 } |
| 2110 | 2110 |
| 2111 if (!build_with_chromium && is_clang) { | 2111 if (!build_with_chromium && is_clang) { |
| 2112 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 2112 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 2113 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 2113 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 2114 } | 2114 } |
| 2115 } | 2115 } |
| 2116 } | 2116 } |
| OLD | NEW |