Index: chrome/installer/mac/app/BUILD.gn |
diff --git a/chrome/installer/mac/app/BUILD.gn b/chrome/installer/mac/app/BUILD.gn |
index aa2123f2c6ce5a2b5d1ae8e5cdcae118c36435af..c08b6a01ff646b2f96e9d7e6cf8beb96b5e19d33 100644 |
--- a/chrome/installer/mac/app/BUILD.gn |
+++ b/chrome/installer/mac/app/BUILD.gn |
@@ -2,16 +2,28 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-executable("downloader") { |
+static_library("mac_installer_base") { |
sources = [ |
- "DownloadDelegate.m", |
"Downloader.m", |
+ "MainDelegate.m", |
"NetworkCommunication.m", |
"OmahaCommunication.m", |
"OmahaXMLParser.m", |
"OmahaXMLRequest.m", |
"SystemInfo.m", |
+ ] |
+} |
+ |
+executable("mac_installer") { |
+ sources = [ |
"main.m", |
] |
- libs = [ "Foundation.framework" ] |
+ deps = [ |
+ ":mac_installer_base", |
+ ] |
+ libs = [ |
+ "AppKit.framework", |
+ "CoreFoundation.framework", |
+ "Foundation.framework", |
+ ] |
} |