Index: components/update_client/BUILD.gn |
diff --git a/components/update_client/BUILD.gn b/components/update_client/BUILD.gn |
index e35d4f4c7d916334e058e8c1bea5f05232a4d1eb..7a235babd59bfada7bdce5b96911a4c1b5b576ea 100644 |
--- a/components/update_client/BUILD.gn |
+++ b/components/update_client/BUILD.gn |
@@ -51,6 +51,7 @@ static_library("update_client") { |
"update_response.h", |
"updater_state.cc", |
"updater_state.h", |
+ "updater_state_mac.mm", |
"updater_state_win.cc", |
"url_fetcher_downloader.cc", |
"url_fetcher_downloader.h", |
@@ -71,6 +72,10 @@ static_library("update_client") { |
"//third_party/zlib:zip", |
"//url", |
] |
+ libs = [] |
+ if (is_mac) { |
+ libs += [ "OpenDirectory.framework" ] |
+ } |
} |
static_library("test_support") { |