Index: sync/BUILD.gn |
diff --git a/sync/BUILD.gn b/sync/BUILD.gn |
index 9a95bb1a3523dcc558a2102cefea3bde8875f638..3189b239c74e3b639c02943f8f9aa0a9acf2955b 100644 |
--- a/sync/BUILD.gn |
+++ b/sync/BUILD.gn |
@@ -421,6 +421,13 @@ source_set("sync_core") { |
deps += [ "//chromeos" ] |
} |
+ if (is_mac) { |
+ libs = [ |
+ # Required by get_session_name_mac.mm on Mac. |
+ "SystemConfiguration.framework", |
+ ] |
+ } |
+ |
defines = [ "SYNC_IMPLEMENTATION" ] |
configs += [ "//build/config/compiler:wexit_time_destructors" ] |
} |