Index: sync/BUILD.gn |
diff --git a/sync/BUILD.gn b/sync/BUILD.gn |
index cd6e0e4dac5b1b78b8309701f4acfffafa58272b..4ce412e0b90e9ec009675398f7e397fc3ae1e581 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" ] |
} |