Index: webrtc/rtc_base/BUILD.gn |
diff --git a/webrtc/rtc_base/BUILD.gn b/webrtc/rtc_base/BUILD.gn |
index 743229302b4d7694752ac2f43c1f07f275e668fc..03e8ea608a78c6420eca399840014234c45461e5 100644 |
--- a/webrtc/rtc_base/BUILD.gn |
+++ b/webrtc/rtc_base/BUILD.gn |
@@ -429,28 +429,7 @@ |
} |
} |
-rtc_source_set("rtc_base") { |
- public_deps = [ |
- ":rtc_base_generic", |
- ] |
- if (is_ios || is_mac) { |
- public_deps += [ ":rtc_base_objc" ] |
- } |
-} |
- |
-if (is_ios || is_mac) { |
- rtc_source_set("rtc_base_objc") { |
- sources = [ |
- "thread_darwin.mm", |
- ] |
- deps = [ |
- ":rtc_base_generic", |
- ] |
- visibility = [ ":rtc_base" ] |
- } |
-} |
- |
-rtc_source_set("rtc_base_generic") { |
+rtc_static_library("rtc_base") { |
cflags = [] |
cflags_cc = [] |
libs = [] |
@@ -559,11 +538,6 @@ |
"thread.h", |
] |
- visibility = [ |
- ":rtc_base", |
- ":rtc_base_objc", |
- ] |
- |
# TODO(henrike): issue 3307, make rtc_base build with the Chromium default |
# compiler settings. |
suppressed_configs += [ "//build/config/compiler:chromium_code" ] |
@@ -623,7 +597,10 @@ |
} |
if (is_ios || is_mac) { |
- sources += [ "macifaddrs_converter.cc" ] |
+ sources += [ |
+ "macifaddrs_converter.cc", |
+ "thread_darwin.mm", |
+ ] |
} |
if (use_x11) { |