OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 executable("downloader") { | 5 static_library("mac_installer_base") { |
6 sources = [ | 6 sources = [ |
7 "DownloadDelegate.m", | |
8 "Downloader.m", | 7 "Downloader.m", |
| 8 "MainDelegate.m", |
9 "NetworkCommunication.m", | 9 "NetworkCommunication.m", |
10 "OmahaCommunication.m", | 10 "OmahaCommunication.m", |
11 "OmahaXMLParser.m", | 11 "OmahaXMLParser.m", |
12 "OmahaXMLRequest.m", | 12 "OmahaXMLRequest.m", |
13 "SystemInfo.m", | 13 "SystemInfo.m", |
| 14 ] |
| 15 } |
| 16 |
| 17 executable("mac_installer") { |
| 18 sources = [ |
14 "main.m", | 19 "main.m", |
15 ] | 20 ] |
16 libs = [ "Foundation.framework" ] | 21 deps = [ |
| 22 ":mac_installer_base", |
| 23 ] |
| 24 libs = [ |
| 25 "AppKit.framework", |
| 26 "CoreFoundation.framework", |
| 27 "Foundation.framework", |
| 28 ] |
17 } | 29 } |
OLD | NEW |