diff --git a/webrtc/media/BUILD.gn b/webrtc/media/BUILD.gn index ec00b049b6..2919618b1a 100644 --- a/webrtc/media/BUILD.gn +++ b/webrtc/media/BUILD.gn @@ -50,7 +50,7 @@ rtc_source_set("rtc_h264_profile_id") { ] } -rtc_source_set("rtc_media_base") { +rtc_static_library("rtc_media_base") { # TODO(kjellander): Remove (bugs.webrtc.org/6828) # Enabling GN check triggers cyclic dependency error: # //webrtc/media:rtc_media_base -> diff --git a/webrtc/pc/BUILD.gn b/webrtc/pc/BUILD.gn index 4719db64c0..60d76ed239 100644 --- a/webrtc/pc/BUILD.gn +++ b/webrtc/pc/BUILD.gn @@ -185,7 +185,7 @@ rtc_static_library("peerconnection") { # need should use CreateModularCreatePeerConnectionFactory instead, using the # "peerconnection" build target and other targets specific to their # requrements. See comment in peerconnectionfactoryinterface.h. -rtc_source_set("create_pc_factory") { +rtc_static_library("create_pc_factory") { sources = [ "createpeerconnectionfactory.cc", ]