Remove dep on system_wrappers for apprtc and use only framework.

This resolves an issue where setting field trials from AppRTCMobile
would not affect WebRTC Core as the two are linked with different
instances of the field_trials binary.

BUG=webrtc:8106

Review-Url: https://codereview.webrtc.org/2997023002
Cr-Commit-Position: refs/heads/master@{#19372}
This commit is contained in:
kthelgason 2017-08-16 07:28:03 -07:00 committed by Commit Bot
parent 2ed6e4f022
commit 5901d9dfe0

View File

@ -162,14 +162,16 @@ if (is_ios || (is_mac && target_cpu != "x86")) {
]
public_configs = [ ":apprtc_common_config" ]
deps = [
"../system_wrappers:field_trial_default",
"../system_wrappers:metrics_default",
]
if (is_ios) {
deps += [ ":AppRTCMobile_ios_frameworks" ]
deps = [
":AppRTCMobile_ios_frameworks",
]
} else {
deps += [ "../sdk:objc_common" ]
deps = [
"../sdk:objc_common",
"../system_wrappers:field_trial_default",
"../system_wrappers:metrics_default",
]
}
}