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

Side by Side Diff: webrtc/examples/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/base/BUILD.gn ('k') | webrtc/media/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) 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 if (is_android) { 9 if (is_android) {
10 import("//build/config/android/config.gni") 10 import("//build/config/android/config.gni")
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 if (is_win) { 408 if (is_win) {
409 sources += [ 409 sources += [
410 "peerconnection/client/flagdefs.h", 410 "peerconnection/client/flagdefs.h",
411 "peerconnection/client/main.cc", 411 "peerconnection/client/main.cc",
412 "peerconnection/client/main_wnd.cc", 412 "peerconnection/client/main_wnd.cc",
413 "peerconnection/client/main_wnd.h", 413 "peerconnection/client/main_wnd.h",
414 ] 414 ]
415 cflags = [ "/wd4245" ] 415 cflags = [ "/wd4245" ]
416 configs += [ "//build/config/win:windowed" ] 416 configs += [ "//build/config/win:windowed" ]
417 } 417 }
418 if (is_win && is_clang) {
419 cflags = [
420 # Disable warnings failing when compiling with Clang on Windows.
421 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366
422 "-Wno-reorder",
423 "-Wno-unused-function",
424 ]
425 }
418 if (is_linux) { 426 if (is_linux) {
419 sources += [ 427 sources += [
420 "peerconnection/client/linux/main.cc", 428 "peerconnection/client/linux/main.cc",
421 "peerconnection/client/linux/main_wnd.cc", 429 "peerconnection/client/linux/main_wnd.cc",
422 "peerconnection/client/linux/main_wnd.h", 430 "peerconnection/client/linux/main_wnd.h",
423 ] 431 ]
424 libs = [ 432 libs = [
425 "X11", 433 "X11",
426 "Xcomposite", 434 "Xcomposite",
427 "Xext", 435 "Xext",
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 "//webrtc/system_wrappers:field_trial_default", 514 "//webrtc/system_wrappers:field_trial_default",
507 "//webrtc/system_wrappers:metrics_default", 515 "//webrtc/system_wrappers:metrics_default",
508 ] 516 ]
509 if (is_clang) { 517 if (is_clang) {
510 # Suppress warnings from the Chromium Clang plugin. 518 # Suppress warnings from the Chromium Clang plugin.
511 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 519 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
512 configs -= [ "//build/config/clang:find_bad_constructs" ] 520 configs -= [ "//build/config/clang:find_bad_constructs" ]
513 } 521 }
514 } 522 }
515 } 523 }
OLDNEW
« no previous file with comments | « webrtc/base/BUILD.gn ('k') | webrtc/media/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698