| 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 import("//testing/test.gni") |
| 6 |
| 5 static_library("mac_installer_base") { | 7 static_library("mac_installer_base") { |
| 6 sources = [ | 8 sources = [ |
| 7 "Downloader.m", | 9 "Downloader.m", |
| 8 "MainDelegate.m", | 10 "MainDelegate.m", |
| 9 "NetworkCommunication.m", | 11 "NetworkCommunication.m", |
| 10 "OmahaCommunication.m", | 12 "OmahaCommunication.m", |
| 11 "OmahaXMLParser.m", | 13 "OmahaXMLParser.m", |
| 12 "OmahaXMLRequest.m", | 14 "OmahaXMLRequest.m", |
| 13 "SystemInfo.m", | 15 "SystemInfo.m", |
| 14 ] | 16 ] |
| 15 } | 17 } |
| 16 | 18 |
| 17 executable("mac_installer") { | 19 executable("mac_installer") { |
| 18 sources = [ | 20 sources = [ |
| 19 "main.m", | 21 "main.m", |
| 20 ] | 22 ] |
| 21 deps = [ | 23 deps = [ |
| 22 ":mac_installer_base", | 24 ":mac_installer_base", |
| 23 ] | 25 ] |
| 24 libs = [ | 26 libs = [ "Foundation.framework" ] |
| 25 "AppKit.framework", | 27 } |
| 26 "CoreFoundation.framework", | 28 |
| 27 "Foundation.framework", | 29 test("mac_installer_test") { |
| 30 sources = [ |
| 31 "testing/OmahaXMLRequest_test.mm", |
| 32 "testing/SystemInfo_test.mm", |
| 28 ] | 33 ] |
| 34 deps = [ |
| 35 ":mac_installer_base", |
| 36 "//base:base", |
| 37 "//base/test:run_all_unittests", |
| 38 "//testing/gtest:gtest", |
| 39 ] |
| 40 libs = [ "Foundation.framework" ] |
| 29 } | 41 } |
| OLD | NEW |