Chromium Code Reviews| Index: chrome/installer/mac/app/BUILD.gn |
| diff --git a/chrome/installer/mac/app/BUILD.gn b/chrome/installer/mac/app/BUILD.gn |
| index c08b6a01ff646b2f96e9d7e6cf8beb96b5e19d33..5ebdf86f0d5b1578adf7b610dd233f8cda2c0219 100644 |
| --- a/chrome/installer/mac/app/BUILD.gn |
| +++ b/chrome/installer/mac/app/BUILD.gn |
| @@ -2,6 +2,8 @@ |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| +import("//testing/test.gni") |
| + |
| static_library("mac_installer_base") { |
| sources = [ |
| "Downloader.m", |
| @@ -21,9 +23,18 @@ executable("mac_installer") { |
| deps = [ |
| ":mac_installer_base", |
| ] |
| - libs = [ |
| - "AppKit.framework", |
| - "CoreFoundation.framework", |
| - "Foundation.framework", |
| + libs = [ "Foundation.framework" ] |
| +} |
| + |
| +test("mac_installer_test") { |
| + testonly = true |
| + sources = [ |
| + "testing/OmahaXMLRequest_test.mm", |
| + "testing/SystemInfo_test.mm", |
| + ] |
| + deps = [ |
|
Mark Mentovai
2016/07/22 19:19:25
The trybot output sounds like it’s asking you to d
|
| + ":mac_installer_base", |
| + "//base/test:run_all_unittests", |
| ] |
| + libs = [ "Foundation.framework" ] |
| } |