Revert of Extract iOS SDK helpers to separate target. (patchset #1 id:1 of https://codereview.webrtc.org/2852323003/ )
Reason for revert:
It is still breaking chromium trybots:
Undefined symbols for architecture x86_64:
"base::allocator::g_replaced_default_zone", referenced from:
base::allocator::IsAllocatorInitialized() in libbase.a(allocator_check.o)
ld: symbol(s) not found for architecture x86_64
Original issue's description:
> Reland of Extract iOS SDK helpers to separate target. (patchset #1 id:1 of https://codereview.webrtc.org/2853273002/ )
>
> Reason for revert:
> Trying to reland after: https://codereview.webrtc.org/2855103003.
>
> Original issue's description:
> > Revert of Extract iOS SDK helpers to separate target. (patchset #3 id:40001 of https://codereview.webrtc.org/2849823002/ )
> >
> > Reason for revert:
> > https://chromium.googlesource.com/external/webrtc/+/3c1e558449309be965815e1bf...
> >
> > I suspect this breaks Chrome ios.
> > https://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/bu...
> > https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Ftryserver.chromium.mac%2...
> >
> > Undefined symbols for architecture x86_64:
> > "base::allocator::g_replaced_default_zone", referenced from:
> > base::allocator::IsAllocatorInitialized() in libbase.a(allocator_check.o)
> > ld: symbol(s) not found for architecture x86_64
> > clang: error: linker command failed with exit code 1 (use -v to see invocation)
> > Traceback (most recent call last):
> > File "../../build/toolchain/mac/linker_driver.py", line 229, in <module>
> > Main(sys.argv)
> > File "../../build/toolchain/mac/linker_driver.py", line 79, in Main
> > subprocess.check_call(compiler_driver_args)
> > File
> > "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
> > line 540, in check_call
> > raise CalledProcessError(retcode, cmd)
> >
> > Original issue's description:
> > > Extract iOS SDK helpers to separate target.
> > >
> > > This will reduce the redundant objects built
> > > in Chromium when opening up test_support for the fuzzer
> > > tests.
> > >
> > > BUG=webrtc:6828
> > > NOTRY=True
> > >
> > > Review-Url: https://codereview.webrtc.org/2849823002
> > > Cr-Commit-Position: refs/heads/master@{#17972}
> > > Committed: 3c1e558449
> >
> > TBR=mbonadei@webrtc.org,kjellander@webrtc.org
> > # Skipping CQ checks because original CL landed less than 1 days ago.
> > NOPRESUBMIT=true
> > NOTREECHECKS=true
> > NOTRY=true
> > BUG=webrtc:6828
> >
> > Review-Url: https://codereview.webrtc.org/2853273002
> > Cr-Commit-Position: refs/heads/master@{#17979}
> > Committed: 80e230239e
>
> TBR=kjellander@webrtc.org,perkj@webrtc.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:6828
>
> Review-Url: https://codereview.webrtc.org/2852323003
> Cr-Commit-Position: refs/heads/master@{#17992}
> Committed: fafd6d850d
TBR=kjellander@webrtc.org,perkj@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:6828
Review-Url: https://codereview.webrtc.org/2857953003
Cr-Commit-Position: refs/heads/master@{#17995}
This commit is contained in:
parent
b70f8cfd4d
commit
c66e7c1ca6
@ -176,7 +176,6 @@ rtc_static_library("audio_device") {
|
||||
public_deps = [
|
||||
"../../base:rtc_base",
|
||||
"../../sdk:rtc_sdk_common_objc",
|
||||
"../../sdk:rtc_sdk_helpers_objc",
|
||||
]
|
||||
sources += [
|
||||
"ios/audio_device_ios.h",
|
||||
|
||||
@ -27,21 +27,6 @@ if (is_ios || is_mac) {
|
||||
]
|
||||
}
|
||||
|
||||
rtc_static_library("rtc_sdk_helpers_objc") {
|
||||
sources = [
|
||||
"objc/Framework/Classes/helpers.h",
|
||||
"objc/Framework/Classes/helpers.mm",
|
||||
]
|
||||
deps = [
|
||||
"../base:rtc_base_approved",
|
||||
]
|
||||
configs += [ "..:common_objc" ]
|
||||
|
||||
if (is_ios) {
|
||||
libs = [ "AVFoundation.framework" ]
|
||||
}
|
||||
}
|
||||
|
||||
rtc_static_library("rtc_sdk_common_objc") {
|
||||
sources = [
|
||||
"objc/Framework/Classes/NSString+StdString.h",
|
||||
@ -54,6 +39,8 @@ if (is_ios || is_mac) {
|
||||
"objc/Framework/Classes/RTCMetricsSampleInfo.mm",
|
||||
"objc/Framework/Classes/RTCSSLAdapter.mm",
|
||||
"objc/Framework/Classes/RTCTracing.mm",
|
||||
"objc/Framework/Classes/helpers.h",
|
||||
"objc/Framework/Classes/helpers.mm",
|
||||
"objc/Framework/Headers/WebRTC/RTCDispatcher.h",
|
||||
"objc/Framework/Headers/WebRTC/RTCFieldTrials.h",
|
||||
"objc/Framework/Headers/WebRTC/RTCLogging.h",
|
||||
@ -65,7 +52,6 @@ if (is_ios || is_mac) {
|
||||
]
|
||||
|
||||
deps = [
|
||||
":rtc_sdk_helpers_objc",
|
||||
"../base:rtc_base",
|
||||
]
|
||||
configs += [ "..:common_objc" ]
|
||||
@ -299,7 +285,7 @@ if (is_ios || is_mac) {
|
||||
# gets additional generated targets which would require many lines here to
|
||||
# cover (which would be confusing to read and hard to maintain).
|
||||
if (!is_android && !is_ios) {
|
||||
visibility = [ "../:rtc_unittests" ]
|
||||
visibility = [ "//webrtc:rtc_unittests" ]
|
||||
}
|
||||
sources = [
|
||||
"objc/Framework/UnitTests/RTCCameraVideoCapturerTests.mm",
|
||||
@ -330,9 +316,9 @@ if (is_ios || is_mac) {
|
||||
defines = [ "GTEST_RELATIVE_PATH" ]
|
||||
deps = [
|
||||
":rtc_sdk_peerconnection_objc",
|
||||
"..//system_wrappers:system_wrappers_default",
|
||||
"../base:rtc_base_tests_utils",
|
||||
"//third_party/ocmock",
|
||||
"//webrtc/system_wrappers:system_wrappers_default",
|
||||
]
|
||||
|
||||
if (!build_with_chromium && is_clang) {
|
||||
@ -434,8 +420,8 @@ if (is_ios || is_mac) {
|
||||
complete_static_lib = true
|
||||
deps = [
|
||||
":rtc_sdk_peerconnection_objc",
|
||||
"..//system_wrappers:field_trial_default",
|
||||
"..//system_wrappers:metrics_default",
|
||||
"//webrtc/system_wrappers:field_trial_default",
|
||||
"//webrtc/system_wrappers:metrics_default",
|
||||
]
|
||||
}
|
||||
|
||||
@ -449,7 +435,7 @@ if (is_ios || is_mac) {
|
||||
"objc/Framework/Classes/h264_video_toolbox_nalu.h",
|
||||
]
|
||||
|
||||
configs += [ "../:common_objc" ]
|
||||
configs += [ "//webrtc:common_objc" ]
|
||||
|
||||
deps = [
|
||||
":rtc_sdk_common_objc",
|
||||
|
||||
@ -314,10 +314,8 @@ rtc_source_set("fileutils") {
|
||||
"testsupport/fileutils.cc",
|
||||
"testsupport/fileutils.h",
|
||||
]
|
||||
deps = []
|
||||
if (is_ios) {
|
||||
sources += [ "testsupport/iosfileutils.mm" ]
|
||||
deps += [ "../sdk:rtc_sdk_helpers_objc" ]
|
||||
}
|
||||
visibility = [ ":*" ]
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user