| 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..47c6f1631a7ce0e400bd5bf471c5eeb610a2d09e 100644
|
| --- a/chrome/installer/mac/app/BUILD.gn
|
| +++ b/chrome/installer/mac/app/BUILD.gn
|
| @@ -2,7 +2,9 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| -executable("downloader") {
|
| +import("//testing/test.gni")
|
| +
|
| +static_library("mac_installer_base") {
|
| sources = [
|
| "DownloadDelegate.m",
|
| "Downloader.m",
|
| @@ -11,7 +13,28 @@ executable("downloader") {
|
| "OmahaXMLParser.m",
|
| "OmahaXMLRequest.m",
|
| "SystemInfo.m",
|
| + ]
|
| +}
|
| +
|
| +executable("mac_installer") {
|
| + sources = [
|
| "main.m",
|
| ]
|
| + deps = [
|
| + ":mac_installer_base",
|
| + ]
|
| + libs = [ "Foundation.framework" ]
|
| +}
|
| +
|
| +test("mac_installer_test") {
|
| + testonly = true
|
| + sources = [
|
| + "testing/OmahaXMLRequest_test.mm",
|
| + "testing/SystemInfo_test.mm",
|
| + ]
|
| + deps = [
|
| + ":mac_installer_base",
|
| + "//base/test:run_all_unittests",
|
| + ]
|
| libs = [ "Foundation.framework" ]
|
| }
|
|
|