Index: webrtc/BUILD.gn |
diff --git a/webrtc/BUILD.gn b/webrtc/BUILD.gn |
index d2381f3336f9314a69317cbd83422581063fea1c..19d56c3506e2ce56ef25012b3ff5af51c0d82df0 100644 |
--- a/webrtc/BUILD.gn |
+++ b/webrtc/BUILD.gn |
@@ -240,8 +240,11 @@ config("common_objc") { |
} |
if (!is_ios || !build_with_chromium) { |
- rtc_source_set("webrtc") { |
+ rtc_static_library("webrtc") { |
sources = [ |
+ # TODO(kjellander): Remove this whenever possible. GN's static_library |
+ # target type requires at least one object to avoid errors linking. |
+ "build/no_op_function.cc", |
"call.h", |
"config.h", |
"transport.h", |