Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(658)

Unified Diff: chrome/installer/mac/app/BUILD.gn

Issue 2148293005: Migrate mac installer to delegate-driven model (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Last patch before CQ Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/installer/mac/BUILD.gn ('k') | chrome/installer/mac/app/DownloadDelegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
+ ]
}
« no previous file with comments | « chrome/installer/mac/BUILD.gn ('k') | chrome/installer/mac/app/DownloadDelegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698