Index: webrtc/sdk/BUILD.gn |
diff --git a/webrtc/sdk/BUILD.gn b/webrtc/sdk/BUILD.gn |
index f4402c8b452b3a90b516cf44c829a849589c7102..091f84c2e761371f77359c7aeac7abf53695a31f 100644 |
--- a/webrtc/sdk/BUILD.gn |
+++ b/webrtc/sdk/BUILD.gn |
@@ -307,6 +307,8 @@ if (is_ios || (is_mac && mac_deployment_target == "10.7")) { |
public_headers += [ "objc/Framework/Headers/WebRTC/RTCFileLogger.h" ] |
} |
+ ldflags = [ "-all_load" ] |
+ |
deps = [ |
":rtc_sdk_peerconnection_objc", |
"//webrtc/system_wrappers:field_trial_default", |
@@ -336,4 +338,13 @@ if (is_ios || (is_mac && mac_deployment_target == "10.7")) { |
} |
} |
} |
+ |
+ rtc_static_library("rtc_sdk_objc") { |
+ complete_static_lib = true |
+ deps = [ |
+ ":rtc_sdk_peerconnection_objc", |
+ "../system_wrappers:field_trial_default", |
+ "../system_wrappers:metrics_default", |
+ ] |
+ } |
} |