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

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

Issue 2274713005: GN: Fix Windows Clang errors (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Cleaning up. Created 4 years, 3 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 | « webrtc/media/BUILD.gn ('k') | webrtc/modules/video_capture/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/webrtc.gni") 9 import("../../build/webrtc.gni")
10 10
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 "win/audio_mixer_manager_win.h", 186 "win/audio_mixer_manager_win.h",
187 ] 187 ]
188 libs = [ 188 libs = [
189 # Required for the built-in WASAPI AEC. 189 # Required for the built-in WASAPI AEC.
190 "dmoguids.lib", 190 "dmoguids.lib",
191 "wmcodecdspuuid.lib", 191 "wmcodecdspuuid.lib",
192 "amstrmid.lib", 192 "amstrmid.lib",
193 "msdmo.lib", 193 "msdmo.lib",
194 ] 194 ]
195 } 195 }
196 if (is_win && is_clang) {
197 cflags += [
198 # Disable warnings failing when compiling with Clang on Windows.
199 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366
200 "-Wno-bool-conversion",
201 "-Wno-delete-non-virtual-dtor",
202 "-Wno-logical-op-parentheses",
203 "-Wno-microsoft-extra-qualification",
204 "-Wno-microsoft-goto",
205 "-Wno-missing-braces",
206 "-Wno-parentheses-equality",
207 "-Wno-reorder",
208 "-Wno-shift-overflow",
209 "-Wno-tautological-compare",
210 "-Wno-unused-private-field",
211 ]
212 }
196 } 213 }
197 } else { 214 } else {
198 defines = [ "WEBRTC_DUMMY_AUDIO_BUILD" ] 215 defines = [ "WEBRTC_DUMMY_AUDIO_BUILD" ]
199 } 216 }
200 217
201 if (!build_with_chromium) { 218 if (!build_with_chromium) {
202 sources += [ 219 sources += [
203 # Do not link these into Chrome since they contain static data. 220 # Do not link these into Chrome since they contain static data.
204 "dummy/file_audio_device_factory.cc", 221 "dummy/file_audio_device_factory.cc",
205 "dummy/file_audio_device_factory.h", 222 "dummy/file_audio_device_factory.h",
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 "//build/config/sanitizers:deps", 256 "//build/config/sanitizers:deps",
240 "//testing/gtest", 257 "//testing/gtest",
241 ] 258 ]
242 configs += [ "../..:common_config" ] 259 configs += [ "../..:common_config" ]
243 public_configs = [ 260 public_configs = [
244 "../..:common_inherited_config", 261 "../..:common_inherited_config",
245 ":audio_device_config", 262 ":audio_device_config",
246 ] 263 ]
247 } 264 }
248 } 265 }
OLDNEW
« no previous file with comments | « webrtc/media/BUILD.gn ('k') | webrtc/modules/video_capture/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698