diff --git a/examples/BUILD.gn b/examples/BUILD.gn index d292174e18..0f9a3bc4a6 100644 --- a/examples/BUILD.gn +++ b/examples/BUILD.gn @@ -487,6 +487,7 @@ if (is_ios || (is_mac && target_cpu != "x86")) { deps = [ "../api:libjingle_peerconnection_api", "../api:scoped_refptr", + "../api:sequence_checker", "../api/audio_codecs:builtin_audio_decoder_factory", "../api/audio_codecs:builtin_audio_encoder_factory", "../api/rtc_event_log:rtc_event_log_factory", diff --git a/examples/androidnativeapi/BUILD.gn b/examples/androidnativeapi/BUILD.gn index 1c840f8248..1cbc50fbd4 100644 --- a/examples/androidnativeapi/BUILD.gn +++ b/examples/androidnativeapi/BUILD.gn @@ -48,6 +48,7 @@ if (is_android) { deps = [ ":generated_jni", "../../api:scoped_refptr", + "../../api:sequence_checker", "../../rtc_base/synchronization:mutex", "//api:libjingle_peerconnection_api", "//api/rtc_event_log:rtc_event_log_factory", diff --git a/modules/audio_device/BUILD.gn b/modules/audio_device/BUILD.gn index e4a45bc908..faa2cffafe 100644 --- a/modules/audio_device/BUILD.gn +++ b/modules/audio_device/BUILD.gn @@ -153,6 +153,7 @@ rtc_source_set("audio_device_module_from_input_and_output") { ":audio_device_buffer", ":windows_core_audio_utility", "../../api:scoped_refptr", + "../../api:sequence_checker", "../../api/task_queue", "../../rtc_base:checks", "../../rtc_base:logging", diff --git a/modules/desktop_capture/BUILD.gn b/modules/desktop_capture/BUILD.gn index f1ae63d7d0..b1d89497d7 100644 --- a/modules/desktop_capture/BUILD.gn +++ b/modules/desktop_capture/BUILD.gn @@ -317,6 +317,7 @@ if (is_mac) { ":desktop_capture_generic", ":primitives", "../../api:scoped_refptr", + "../../api:sequence_checker", "../../rtc_base", "../../rtc_base:checks", "../../rtc_base:logging", diff --git a/modules/video_capture/BUILD.gn b/modules/video_capture/BUILD.gn index e46a8d26de..e4501b2c1f 100644 --- a/modules/video_capture/BUILD.gn +++ b/modules/video_capture/BUILD.gn @@ -51,6 +51,7 @@ if (!build_with_chromium) { deps = [ ":video_capture_module", "../../api:scoped_refptr", + "../../api:sequence_checker", "../../rtc_base:checks", "../../rtc_base:logging", "../../rtc_base:macromagic", diff --git a/net/dcsctp/socket/BUILD.gn b/net/dcsctp/socket/BUILD.gn index 63364ebd59..298393f895 100644 --- a/net/dcsctp/socket/BUILD.gn +++ b/net/dcsctp/socket/BUILD.gn @@ -138,6 +138,7 @@ rtc_library("dcsctp_socket") { "../../../api:array_view", "../../../api:refcountedbase", "../../../api:scoped_refptr", + "../../../api:sequence_checker", "../../../api/task_queue:task_queue", "../../../rtc_base:checks", "../../../rtc_base:logging", diff --git a/pc/BUILD.gn b/pc/BUILD.gn index 98dd86735a..732ec21c04 100644 --- a/pc/BUILD.gn +++ b/pc/BUILD.gn @@ -238,6 +238,7 @@ rtc_source_set("jsep_transport") { "../api:libjingle_peerconnection_api", "../api:rtc_error", "../api:scoped_refptr", + "../api:sequence_checker", "../api/transport:datagram_transport_interface", "../media:rtc_data_sctp_transport_internal", "../p2p:rtc_p2p", @@ -1392,6 +1393,7 @@ rtc_source_set("webrtc_session_description_factory") { "../api:libjingle_peerconnection_api", "../api:rtc_error", "../api:scoped_refptr", + "../api:sequence_checker", "../p2p:rtc_p2p", "../rtc_base:checks", "../rtc_base:logging", @@ -1878,6 +1880,7 @@ rtc_library("rtp_sender") { "../api:rtc_error", "../api:rtp_parameters", "../api:scoped_refptr", + "../api:sequence_checker", "../api/crypto:frame_encryptor_interface", "../media:rtc_media_base", "../rtc_base:checks", @@ -1931,6 +1934,7 @@ rtc_library("dtmf_sender") { ":proxy", "../api:libjingle_peerconnection_api", "../api:scoped_refptr", + "../api:sequence_checker", "../rtc_base:checks", "../rtc_base:logging", "../rtc_base:macromagic", @@ -2075,6 +2079,7 @@ if (rtc_include_tests && !build_with_chromium) { "../api:rtp_headers", "../api:rtp_parameters", "../api:scoped_refptr", + "../api:sequence_checker", "../api/task_queue:task_queue", "../api/transport:datagram_transport_interface", "../api/transport:enums", diff --git a/rtc_base/BUILD.gn b/rtc_base/BUILD.gn index 83e136647e..2295b2d2d2 100644 --- a/rtc_base/BUILD.gn +++ b/rtc_base/BUILD.gn @@ -182,7 +182,6 @@ rtc_library("rtc_base_approved") { public_deps += [ # no-presubmit-check TODO(webrtc:8603) ":platform_thread", ":platform_thread_types", - "../api:sequence_checker", ] } diff --git a/sdk/BUILD.gn b/sdk/BUILD.gn index 780bcf36ae..763f3eeb30 100644 --- a/sdk/BUILD.gn +++ b/sdk/BUILD.gn @@ -270,6 +270,7 @@ if (is_ios || is_mac) { ":audio_session_observer", ":base_objc", "../api:array_view", + "../api:sequence_checker", "../api/task_queue", "../api/task_queue:default_task_queue_factory", "../modules/audio_device:audio_device_api", diff --git a/sdk/android/BUILD.gn b/sdk/android/BUILD.gn index ce94621c00..9863d6132e 100644 --- a/sdk/android/BUILD.gn +++ b/sdk/android/BUILD.gn @@ -677,6 +677,7 @@ if (current_os == "linux" || is_android) { ":videoframe_jni", "../../api:libjingle_peerconnection_api", "../../api:media_stream_interface", + "../../api:sequence_checker", "../../api/task_queue", "../../api/video:encoded_image", "../../api/video:render_resolution", @@ -950,6 +951,7 @@ if (current_os == "linux" || is_android) { ":generated_external_classes_jni", ":generated_native_api_jni", ":internal_jni", + "../../api:sequence_checker", "../../rtc_base:atomicops", "//api:array_view", "//rtc_base:checks", @@ -1175,6 +1177,7 @@ if (current_os == "linux" || is_android) { ":base_jni", ":generated_audio_device_module_base_jni", ":native_api_jni", + "../../api:sequence_checker", "../../api/task_queue", "../../api/task_queue:default_task_queue_factory", "../../modules/audio_device:audio_device_api", @@ -1201,6 +1204,7 @@ if (current_os == "linux" || is_android) { ":audio_device_module_base", ":base_jni", ":generated_java_audio_device_module_native_jni", + "../../api:sequence_checker", "../../modules/audio_device", "../../modules/audio_device:audio_device_buffer", "../../rtc_base:checks", @@ -1259,6 +1263,7 @@ if (current_os == "linux" || is_android) { "../../api:array_view", "../../api:refcountedbase", "../../api:scoped_refptr", + "../../api:sequence_checker", "../../modules/audio_device", "../../modules/audio_device:audio_device_buffer", "../../rtc_base:checks",