Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Side by Side Diff: webrtc/modules/audio_processing/BUILD.gn

Issue 2020343003: GN: Replace Windows suppressions of warning 4267 with config. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/modules/bitrate_controller/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/bitrate_controller/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698