Commit 61e2f1e3 authored by Niels Möller's avatar Niels Möller Committed by Commit Bot

Add missing mac dependency on SystemConfiguration.framework

On MacOS, the policy::GetMachineName function in cloud_policy_util.cc
calls SCDynamicStoreCopyComputerName, and hence needs to link with
SystemConfiguration.framework. Add to the corresponding build target,
to not rely on unrelated build targets to import this framework.

Intended to enable reland of webrtc cl
https://webrtc-review.googlesource.com/c/src/+/148531,
which drops this library dependency from the rtc_base target.

Bug: webrtc:10857
Change-Id: Ifb1861348f1ecc480fb0f456f76597434900c9c1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1762071
Commit-Queue: Niels Möller <nisse@chromium.org>
Reviewed-by: default avatarLutz Justen <ljusten@chromium.org>
Reviewed-by: default avatarOwen Min <zmin@chromium.org>
Auto-Submit: Niels Möller <nisse@chromium.org>
Cr-Commit-Position: refs/heads/master@{#688996}
parent af94d63c
......@@ -241,7 +241,10 @@ jumbo_source_set("internal") {
]
}
if (is_mac) {
libs = [ "CoreFoundation.framework" ]
libs = [
"CoreFoundation.framework",
"SystemConfiguration.framework",
]
}
if (is_ios || is_mac) {
sources += [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment