diff --git a/.gn b/.gn index b1012548ba..0491e43867 100644 --- a/.gn +++ b/.gn @@ -31,6 +31,7 @@ check_targets = [ "//webrtc/logging/*", "//webrtc/media/*", "//webrtc/modules/*", + "//webrtc/ortc/*", "//webrtc/stats/*", "//webrtc/tools/*", "//webrtc/voice_engine/*", diff --git a/webrtc/ortc/BUILD.gn b/webrtc/ortc/BUILD.gn index 9e1c18f45a..8c23502689 100644 --- a/webrtc/ortc/BUILD.gn +++ b/webrtc/ortc/BUILD.gn @@ -33,7 +33,16 @@ rtc_static_library("ortc") { # PeerConnection code shares, so that ortc can depend on that instead of # libjingle_peerconnection. deps = [ + "../base:rtc_base", + "../base:rtc_base_approved", + "../call:call_interfaces", + "../logging:rtc_event_log_api", + "../media:rtc_media", + "../media:rtc_media_base", + "../modules/audio_coding:builtin_audio_decoder_factory", + "../p2p:rtc_p2p", "../pc:libjingle_peerconnection", + "../pc:rtc_pc", ] public_deps = [ @@ -65,8 +74,12 @@ if (rtc_include_tests) { deps = [ ":ortc", + "../base:rtc_base", + "../base:rtc_base_approved", "../base:rtc_base_tests_utils", "../media:rtc_unittest_main", + "../p2p:rtc_p2p", + "../p2p:rtc_p2p_unittests", "../pc:pc_test_utils", "../system_wrappers:metrics_default", ]