Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: chrome/installer/mac/app/BUILD.gn

Issue 2137743002: Added test files for SystemInfo.m and OmahaXMLRequest.m. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Completed both test files Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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("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.
6 sources = [ 6 sources = [
7 "DownloadDelegate.m", 7 "DownloadDelegate.m",
8 "Downloader.m", 8 "Downloader.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("downloader") {
18 sources = [
14 "main.m", 19 "main.m",
15 ] 20 ]
21 deps = [
22 ":project",
23 ]
16 libs = [ "Foundation.framework" ] 24 libs = [ "Foundation.framework" ]
17 } 25 }
26
27 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.
28 testonly = true
29 sources = [
30 "//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.
31 "testing/OmahaXMLRequest_test.mm",
32 "testing/SystemInfo_test.mm",
33 ]
34 deps = [
35 ":project",
36 "//testing/gtest",
37 ]
38 libs = [ "Foundation.framework" ]
39 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698