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/config/arm.gni") | 9 import("//build/config/arm.gni") |
10 import("//third_party/protobuf/proto_library.gni") | 10 import("//third_party/protobuf/proto_library.gni") |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 if (mips_float_abi == "hard") { | 200 if (mips_float_abi == "hard") { |
201 sources += [ | 201 sources += [ |
202 "aec/aec_core_mips.cc", | 202 "aec/aec_core_mips.cc", |
203 "aec/aec_rdft_mips.cc", | 203 "aec/aec_rdft_mips.cc", |
204 ] | 204 ] |
205 } | 205 } |
206 } else { | 206 } else { |
207 sources += [ "aecm/aecm_core_c.cc" ] | 207 sources += [ "aecm/aecm_core_c.cc" ] |
208 } | 208 } |
209 | 209 |
210 if (is_win) { | 210 # TODO(jschuh): Bug 1348: fix this warning. |
211 cflags = [ | 211 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
212 # TODO(jschuh): Bug 1348: fix this warning. | |
213 "/wd4267", # size_t to int truncations | |
214 ] | |
215 } | |
216 | 212 |
217 if (is_clang) { | 213 if (is_clang) { |
218 # Suppress warnings from Chrome's Clang plugins. | 214 # Suppress warnings from Chrome's Clang plugins. |
219 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 215 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
220 configs -= [ "//build/config/clang:find_bad_constructs" ] | 216 configs -= [ "//build/config/clang:find_bad_constructs" ] |
221 } | 217 } |
222 | 218 |
223 deps += [ | 219 deps += [ |
224 "../../base:rtc_base_approved", | 220 "../../base:rtc_base_approved", |
225 "../../common_audio", | 221 "../../common_audio", |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 "../../common_audio", | 288 "../../common_audio", |
293 ] | 289 ] |
294 | 290 |
295 if (aec_debug_dump) { | 291 if (aec_debug_dump) { |
296 defines = [ "WEBRTC_AEC_DEBUG_DUMP=1" ] | 292 defines = [ "WEBRTC_AEC_DEBUG_DUMP=1" ] |
297 } else { | 293 } else { |
298 defines = [ "WEBRTC_AEC_DEBUG_DUMP=0" ] | 294 defines = [ "WEBRTC_AEC_DEBUG_DUMP=0" ] |
299 } | 295 } |
300 } | 296 } |
301 } | 297 } |
OLD | NEW |