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

Side by Side Diff: webrtc/system_wrappers/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
« 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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 ] 201 ]
202 if (rtc_enable_data_logging) { 202 if (rtc_enable_data_logging) {
203 sources += [ 203 sources += [
204 "source/data_log_unittest.cc", 204 "source/data_log_unittest.cc",
205 "source/data_log_unittest_disabled.cc", 205 "source/data_log_unittest_disabled.cc",
206 ] 206 ]
207 } 207 }
208 208
209 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 209 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
210 210
211 if (is_clang) { 211 if (!build_with_chromium && is_clang) {
212 # Suppress warnings from Chrome's Clang plugins. 212 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
213 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
214 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 213 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
215 } 214 }
216 215
217 deps = [ 216 deps = [
218 ":metrics_default", 217 ":metrics_default",
219 ":system_wrappers", 218 ":system_wrappers",
220 "../test:test_support_main", 219 "../test:test_support_main",
221 "//testing/gtest", 220 "//testing/gtest",
222 ] 221 ]
223 222
224 if (is_android) { 223 if (is_android) {
225 deps += [ "//testing/android/native_test:native_test_support" ] 224 deps += [ "//testing/android/native_test:native_test_support" ]
226 225
227 shard_timeout = 900 226 shard_timeout = 900
228 } 227 }
229 } 228 }
230 } 229 }
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