OLD | NEW |
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 15 matching lines...) Expand all Loading... |
26 ":test_support_unittests", | 26 ":test_support_unittests", |
27 ":video_test_common", | 27 ":video_test_common", |
28 ] | 28 ] |
29 } | 29 } |
30 | 30 |
31 config("channel_transport_warnings_config") { | 31 config("channel_transport_warnings_config") { |
32 if (is_win) { | 32 if (is_win) { |
33 cflags = [ "/wd4302" ] # cast truncation | 33 cflags = [ "/wd4302" ] # cast truncation |
34 | 34 |
35 if (is_clang) { | 35 if (is_clang) { |
36 # GN orders flags on a target before flags from configs. The default confi
g | 36 # GN orders flags on a target before flags from configs. The default |
37 # adds -Wall, and this flag have to be after -Wall -- so they need to | 37 # config adds -Wall, and this flag have to be after -Wall -- so they need |
38 # come from a config and cannot be on the target directly. | 38 # to come from a config and cannot be on the target directly. |
39 cflags += [ | 39 cflags += [ |
40 "-Wno-parentheses-equality", | 40 "-Wno-parentheses-equality", |
41 "-Wno-reorder", | 41 "-Wno-reorder", |
42 "-Wno-tautological-constant-out-of-range-compare", | 42 "-Wno-tautological-constant-out-of-range-compare", |
| 43 |
| 44 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=6268 |
| 45 # for -Wno-thread-safety-analysis |
| 46 "-Wno-thread-safety-analysis", |
43 "-Wno-unused-private-field", | 47 "-Wno-unused-private-field", |
44 ] | 48 ] |
45 } | 49 } |
46 } | 50 } |
47 } | 51 } |
48 | 52 |
49 source_set("channel_transport") { | 53 source_set("channel_transport") { |
50 testonly = true | 54 testonly = true |
51 sources = [ | 55 sources = [ |
52 "channel_transport/channel_transport.cc", | 56 "channel_transport/channel_transport.cc", |
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
482 configs -= [ "//build/config/clang:find_bad_constructs" ] | 486 configs -= [ "//build/config/clang:find_bad_constructs" ] |
483 } | 487 } |
484 | 488 |
485 deps = [ | 489 deps = [ |
486 ":test_support", | 490 ":test_support", |
487 ":video_test_common", | 491 ":video_test_common", |
488 "../modules/media_file", | 492 "../modules/media_file", |
489 "//testing/gtest", | 493 "//testing/gtest", |
490 ] | 494 ] |
491 } | 495 } |
OLD | NEW |