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

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

Issue 2408133008: GN: Exclude suppressions of Chromium Clang warnings for Chromium builds. (Closed)
Patch Set: Created 4 years, 2 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
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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 } 228 }
229 229
230 if (!build_with_chromium) { 230 if (!build_with_chromium) {
231 sources += [ 231 sources += [
232 # Do not link these into Chrome since they contain static data. 232 # Do not link these into Chrome since they contain static data.
233 "dummy/file_audio_device_factory.cc", 233 "dummy/file_audio_device_factory.cc",
234 "dummy/file_audio_device_factory.h", 234 "dummy/file_audio_device_factory.h",
235 ] 235 ]
236 } 236 }
237 237
238 if (is_clang) { 238 if (!build_with_chromium && is_clang) {
239 # Suppress warnings from Chrome's Clang plugins. 239 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
240 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
241 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 240 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
242 } 241 }
243 } 242 }
244 243
245 # These tests do not work on ios, see 244 # These tests do not work on ios, see
246 # https://bugs.chromium.org/p/webrtc/issues/detail?id=4755 245 # https://bugs.chromium.org/p/webrtc/issues/detail?id=4755
247 if (rtc_include_tests && !is_ios) { 246 if (rtc_include_tests && !is_ios) {
248 rtc_executable("audio_device_tests") { 247 rtc_executable("audio_device_tests") {
249 testonly = true 248 testonly = true
250 sources = [ 249 sources = [
251 "test/audio_device_test_api.cc", 250 "test/audio_device_test_api.cc",
252 "test/audio_device_test_defines.h", 251 "test/audio_device_test_defines.h",
253 ] 252 ]
254 deps = [ 253 deps = [
255 ":audio_device", 254 ":audio_device",
256 "../..:webrtc_common", 255 "../..:webrtc_common",
257 "../../system_wrappers", 256 "../../system_wrappers",
258 "../../test:test_support", 257 "../../test:test_support",
259 "../../test:test_support_main", 258 "../../test:test_support_main",
260 "../rtp_rtcp", 259 "../rtp_rtcp",
261 "../utility", 260 "../utility",
262 "//testing/gtest", 261 "//testing/gtest",
263 ] 262 ]
264 public_configs = [ ":audio_device_config" ] 263 public_configs = [ ":audio_device_config" ]
265 } 264 }
266 } 265 }
OLDNEW
« no previous file with comments | « webrtc/modules/audio_conference_mixer/BUILD.gn ('k') | webrtc/modules/bitrate_controller/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698