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

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

Issue 2020343003: GN: Replace Windows suppressions of warning 4267 with config. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 6 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/system_wrappers/BUILD.gn ('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) 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 import("//build/config/ui.gni") 9 import("//build/config/ui.gni")
10 import("//testing/test.gni") 10 import("//testing/test.gni")
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 "testsupport/frame_reader_unittest.cc", 281 "testsupport/frame_reader_unittest.cc",
282 "testsupport/frame_writer_unittest.cc", 282 "testsupport/frame_writer_unittest.cc",
283 "testsupport/packet_reader_unittest.cc", 283 "testsupport/packet_reader_unittest.cc",
284 "testsupport/perf_test_unittest.cc", 284 "testsupport/perf_test_unittest.cc",
285 "testsupport/unittest_utils.h", 285 "testsupport/unittest_utils.h",
286 ] 286 ]
287 287
288 configs += [ "..:common_config" ] 288 configs += [ "..:common_config" ]
289 public_configs = [ "..:common_inherited_config" ] 289 public_configs = [ "..:common_inherited_config" ]
290 290
291 # TODO(jschuh): Bug 1348: fix this warning.
292 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
293
291 if (is_win) { 294 if (is_win) {
292 cflags = [ 295 cflags = [ "/wd4373" ] # virtual override w/different const/volatile signat ure.
293 # TODO(jschuh): Bug 1348: fix this warning.
294 "/wd4267", # size_t to int truncations
295 "/wd4373", # virtual override w/different const/volatile signature.
296 ]
297 } 296 }
298 297
299 if (is_clang) { 298 if (is_clang) {
300 # Suppress warnings from the Chromium Clang plugin. 299 # Suppress warnings from the Chromium Clang plugin.
301 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 300 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
302 configs -= [ "//build/config/clang:find_bad_constructs" ] 301 configs -= [ "//build/config/clang:find_bad_constructs" ]
303 } 302 }
304 303
305 if (is_android) { 304 if (is_android) {
306 deps += [ "//testing/android/native_test:native_test_support" ] 305 deps += [ "//testing/android/native_test:native_test_support" ]
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 configs -= [ "//build/config/clang:find_bad_constructs" ] 466 configs -= [ "//build/config/clang:find_bad_constructs" ]
468 } 467 }
469 468
470 deps = [ 469 deps = [
471 ":test_support", 470 ":test_support",
472 ":video_test_common", 471 ":video_test_common",
473 "../modules/media_file", 472 "../modules/media_file",
474 "//testing/gtest", 473 "//testing/gtest",
475 ] 474 ]
476 } 475 }
OLDNEW
« no previous file with comments | « webrtc/system_wrappers/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698