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

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

Issue 2281513002: GN: Fix windows clang errors. Attempt 2. (Closed)
Patch Set: Revert mb_config.pyl. 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/stats/BUILD.gn ('k') | webrtc/test/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 if (is_android) { 9 if (is_android) {
10 import("//build/config/android/config.gni") 10 import("//build/config/android/config.gni")
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 126
127 # TODO(jschuh): Bug 1348: fix this warning. 127 # TODO(jschuh): Bug 1348: fix this warning.
128 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 128 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
129 129
130 if (is_win) { 130 if (is_win) {
131 libs += [ "winmm.lib" ] 131 libs += [ "winmm.lib" ]
132 132
133 cflags = [ "/wd4334" ] # Ignore warning on shift operator promotion. 133 cflags = [ "/wd4334" ] # Ignore warning on shift operator promotion.
134 } 134 }
135 135
136 if (is_clang) {
137 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
138 configs -= [ "//build/config/clang:find_bad_constructs" ]
139 }
140
136 deps += [ "../base:rtc_base_approved" ] 141 deps += [ "../base:rtc_base_approved" ]
137 } 142 }
138 143
139 source_set("field_trial_default") { 144 source_set("field_trial_default") {
140 sources = [ 145 sources = [
141 "include/field_trial_default.h", 146 "include/field_trial_default.h",
142 "source/field_trial_default.cc", 147 "source/field_trial_default.cc",
143 ] 148 ]
144 149
145 configs += [ "..:common_config" ] 150 configs += [ "..:common_config" ]
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 "//testing/gtest", 243 "//testing/gtest",
239 ] 244 ]
240 245
241 if (is_android) { 246 if (is_android) {
242 deps += [ "//testing/android/native_test:native_test_support" ] 247 deps += [ "//testing/android/native_test:native_test_support" ]
243 248
244 shard_timeout = 900 249 shard_timeout = 900
245 } 250 }
246 } 251 }
247 } 252 }
OLDNEW
« no previous file with comments | « webrtc/stats/BUILD.gn ('k') | webrtc/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698