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

Side by Side Diff: webrtc/examples/BUILD.gn

Issue 2316943002: Disable -Wsentinel warning for Linux 32-bit builds. (Closed)
Patch Set: 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 | « no previous file | no next file » | 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) 2016 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2016 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 if (is_android) { 10 if (is_android) {
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 # Disable warnings failing when compiling with Clang on Windows. 395 # Disable warnings failing when compiling with Clang on Windows.
396 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366 396 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366
397 "-Wno-format", 397 "-Wno-format",
398 398
399 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=6271 399 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=6271
400 # for -Wno-reorder and -Wno-sign-compare 400 # for -Wno-reorder and -Wno-sign-compare
401 "-Wno-reorder", 401 "-Wno-reorder",
402 "-Wno-sign-compare", 402 "-Wno-sign-compare",
403 ] 403 ]
404 } 404 }
405 if (is_linux && target_cpu == "x86") {
406 cflags = [
407 # Needed to compile on Linux 32-bit.
408 "-Wno-sentinel",
409 ]
410 }
405 } 411 }
406 412
407 rtc_executable("peerconnection_client") { 413 rtc_executable("peerconnection_client") {
408 sources = [ 414 sources = [
409 "peerconnection/client/conductor.cc", 415 "peerconnection/client/conductor.cc",
410 "peerconnection/client/conductor.h", 416 "peerconnection/client/conductor.h",
411 "peerconnection/client/defaults.cc", 417 "peerconnection/client/defaults.cc",
412 "peerconnection/client/defaults.h", 418 "peerconnection/client/defaults.h",
413 "peerconnection/client/peer_connection_client.cc", 419 "peerconnection/client/peer_connection_client.cc",
414 "peerconnection/client/peer_connection_client.h", 420 "peerconnection/client/peer_connection_client.h",
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 "//third_party/libyuv", 452 "//third_party/libyuv",
447 "//webrtc/api:libjingle_peerconnection", 453 "//webrtc/api:libjingle_peerconnection",
448 "//webrtc/system_wrappers:field_trial_default", 454 "//webrtc/system_wrappers:field_trial_default",
449 "//webrtc/system_wrappers:metrics_default", 455 "//webrtc/system_wrappers:metrics_default",
450 ] 456 ]
451 configs += [ ":peerconnection_client_warnings_config" ] 457 configs += [ ":peerconnection_client_warnings_config" ]
452 if (rtc_build_json) { 458 if (rtc_build_json) {
453 deps += [ "//third_party/jsoncpp" ] 459 deps += [ "//third_party/jsoncpp" ]
454 } 460 }
455 } 461 }
462
456 rtc_executable("peerconnection_server") { 463 rtc_executable("peerconnection_server") {
457 sources = [ 464 sources = [
458 "peerconnection/server/data_socket.cc", 465 "peerconnection/server/data_socket.cc",
459 "peerconnection/server/data_socket.h", 466 "peerconnection/server/data_socket.h",
460 "peerconnection/server/main.cc", 467 "peerconnection/server/main.cc",
461 "peerconnection/server/peer_channel.cc", 468 "peerconnection/server/peer_channel.cc",
462 "peerconnection/server/peer_channel.h", 469 "peerconnection/server/peer_channel.h",
463 "peerconnection/server/utils.cc", 470 "peerconnection/server/utils.cc",
464 "peerconnection/server/utils.h", 471 "peerconnection/server/utils.h",
465 ] 472 ]
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 "//webrtc/system_wrappers:field_trial_default", 523 "//webrtc/system_wrappers:field_trial_default",
517 "//webrtc/system_wrappers:metrics_default", 524 "//webrtc/system_wrappers:metrics_default",
518 ] 525 ]
519 if (is_clang) { 526 if (is_clang) {
520 # Suppress warnings from the Chromium Clang plugin. 527 # Suppress warnings from the Chromium Clang plugin.
521 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 528 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
522 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 529 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
523 } 530 }
524 } 531 }
525 } 532 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698