Chromium Code Reviews| Index: webrtc/test/BUILD.gn |
| diff --git a/webrtc/test/BUILD.gn b/webrtc/test/BUILD.gn |
| index 2db6120189aaa8c9fea4311a1e4f7301b18686d3..b178a94b7685a7e327d8073908f57b1508c033f2 100644 |
| --- a/webrtc/test/BUILD.gn |
| +++ b/webrtc/test/BUILD.gn |
| @@ -323,6 +323,7 @@ if (!build_with_chromium) { |
| deps += [ |
| ":direct_transport", |
| ":fileutils_unittests", |
| + ":single_threaded_task_queue", |
| ":test_common", |
| ":test_main", |
| ":test_support_test_output", |
| @@ -396,6 +397,7 @@ rtc_source_set("direct_transport") { |
| suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| } |
| deps = [ |
| + ":single_threaded_task_queue", |
| "..:webrtc_common", |
| "../api:transport_api", |
| "../call", |
| @@ -405,6 +407,21 @@ rtc_source_set("direct_transport") { |
| ] |
| } |
| +rtc_source_set("single_threaded_task_queue") { |
| + testonly = true |
| + sources = [ |
| + "single_threaded_task_queue.cc", |
| + "single_threaded_task_queue.h", |
| + ] |
| + if (!build_with_chromium && is_clang) { |
| + # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
|
nisse-webrtc
2017/08/14 12:04:52
Don't do this for new code.
eladalon
2017/08/14 15:38:00
Is there something I need to do instead, or should
|
| + suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| + } |
| + deps = [ |
| + "../rtc_base:rtc_base_approved", |
| + ] |
| +} |
| + |
| rtc_source_set("fake_audio_device") { |
| testonly = true |
| sources = [ |
| @@ -470,6 +487,7 @@ rtc_source_set("test_common") { |
| ":direct_transport", |
| ":fake_audio_device", |
| ":rtp_test_utils", |
| + ":single_threaded_task_queue", |
| ":test_support", |
| ":video_test_common", |
| "..:video_stream_api", |