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 aa2123f2c6ce5a2b5d1ae8e5cdcae118c36435af..97f6451e260f13272017209de9d6f22fdc833823 100644 |
| --- a/chrome/installer/mac/app/BUILD.gn |
| +++ b/chrome/installer/mac/app/BUILD.gn |
| @@ -2,7 +2,7 @@ |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| -executable("downloader") { |
| +static_library("project") { |
|
Mark Mentovai
2016/07/15 21:56:08
We should come up with better names, since these a
Anna Zeng
2016/07/22 16:58:01
Acknowledged.
Anna Zeng
2016/07/22 16:58:01
Done.
|
| sources = [ |
| "DownloadDelegate.m", |
| "Downloader.m", |
| @@ -11,7 +11,29 @@ executable("downloader") { |
| "OmahaXMLParser.m", |
| "OmahaXMLRequest.m", |
| "SystemInfo.m", |
| + ] |
| +} |
| + |
| +executable("downloader") { |
| + sources = [ |
| "main.m", |
| ] |
| + deps = [ |
| + ":project", |
| + ] |
| + libs = [ "Foundation.framework" ] |
| +} |
| + |
| +executable("downloader_test") { |
|
Mark Mentovai
2016/07/15 21:56:08
Probably just mac_installer_test, and we can have
Anna Zeng
2016/07/22 16:58:01
Done.
Anna Zeng
2016/07/22 16:58:01
Acknowledged.
|
| + testonly = true |
| + sources = [ |
| + "//testing/gtest/src/gtest_main.cc", |
|
Mark Mentovai
2016/07/15 21:56:08
I think you want to depend on the gtest_main sourc
Anna Zeng
2016/07/22 16:58:01
Done.
Anna Zeng
2016/07/22 16:58:01
Acknowledged.
|
| + "testing/OmahaXMLRequest_test.mm", |
| + "testing/SystemInfo_test.mm", |
| + ] |
| + deps = [ |
| + ":project", |
| + "//testing/gtest", |
| + ] |
| libs = [ "Foundation.framework" ] |
| } |