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

Side by Side Diff: webrtc/webrtc_examples.gyp

Issue 1522223002: Disable warnings failing when using Clang on Windows (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rolled winsdk_samples Created 5 years 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/test/webrtc_test_common.gyp ('k') | 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) 2012 The WebRTC Project Authors. All rights reserved. 1 # Copyright (c) 2012 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 'includes': [ 9 'includes': [
10 '../talk/build/common.gypi', 10 '../talk/build/common.gypi',
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 'examples/peerconnection/client/main.cc', 96 'examples/peerconnection/client/main.cc',
97 'examples/peerconnection/client/main_wnd.cc', 97 'examples/peerconnection/client/main_wnd.cc',
98 'examples/peerconnection/client/main_wnd.h', 98 'examples/peerconnection/client/main_wnd.h',
99 ], 99 ],
100 'msvs_settings': { 100 'msvs_settings': {
101 'VCLinkerTool': { 101 'VCLinkerTool': {
102 'SubSystem': '2', # Windows 102 'SubSystem': '2', # Windows
103 }, 103 },
104 }, 104 },
105 }], # OS=="win" 105 }], # OS=="win"
106 ['OS=="win" and clang==1', {
107 'msvs_settings': {
108 'VCCLCompilerTool': {
109 'AdditionalOptions': [
110 # Disable warnings failing when compiling with Clang on Wind ows.
111 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366
112 '-Wno-reorder',
113 '-Wno-unused-function',
114 ],
115 },
116 },
117 }], # OS=="win" and clang==1
106 ['OS=="linux"', { 118 ['OS=="linux"', {
107 'sources': [ 119 'sources': [
108 'examples/peerconnection/client/linux/main.cc', 120 'examples/peerconnection/client/linux/main.cc',
109 'examples/peerconnection/client/linux/main_wnd.cc', 121 'examples/peerconnection/client/linux/main_wnd.cc',
110 'examples/peerconnection/client/linux/main_wnd.h', 122 'examples/peerconnection/client/linux/main_wnd.h',
111 ], 123 ],
112 'cflags': [ 124 'cflags': [
113 '<!@(pkg-config --cflags glib-2.0 gobject-2.0 gtk+-2.0)', 125 '<!@(pkg-config --cflags glib-2.0 gobject-2.0 gtk+-2.0)',
114 ], 126 ],
115 'link_settings': { 127 'link_settings': {
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 'apk_name': 'AppRTCDemoTest', 411 'apk_name': 'AppRTCDemoTest',
400 'java_in_dir': 'examples/androidtests', 412 'java_in_dir': 'examples/androidtests',
401 'is_test_apk': 1, 413 'is_test_apk': 1,
402 }, 414 },
403 'includes': [ '../build/java_apk.gypi' ], 415 'includes': [ '../build/java_apk.gypi' ],
404 }, 416 },
405 ], # targets 417 ], # targets
406 }], # OS=="android" 418 }], # OS=="android"
407 ], 419 ],
408 } 420 }
OLDNEW
« no previous file with comments | « webrtc/test/webrtc_test_common.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698