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

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

Issue 2270083002: Added in switches for the Mac Installer to send preferences to Chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cl5_review
Patch Set: Created 4 years, 4 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 import("//testing/test.gni") 5 import("//testing/test.gni")
6 import("//build/config/mac/rules.gni") 6 import("//build/config/mac/rules.gni")
7 7
8 source_set("mac_installer_base") { 8 source_set("mac_installer_base") {
9 sources = [ 9 sources = [
10 "Downloader.m", 10 "Downloader.m",
11 "NSAlert+ChromeInstallerAdditions.m", 11 "NSAlert+ChromeInstallerAdditions.m",
12 "NSError+ChromeInstallerAdditions.m", 12 "NSError+ChromeInstallerAdditions.m",
13 "OmahaCommunication.m", 13 "OmahaCommunication.m",
14 "OmahaXMLParser.m", 14 "OmahaXMLParser.m",
15 "OmahaXMLRequest.m", 15 "OmahaXMLRequest.m",
16 "SystemInfo.m", 16 "SystemInfo.m",
17 "Unpacker.m", 17 "Unpacker.m",
18 ] 18 ]
19 configs += [ "//build/config/compiler:enable_arc" ] 19 configs += [ "//build/config/compiler:enable_arc" ]
20 } 20 }
21 21
22 mac_app_bundle("mac_installer_app") { 22 mac_app_bundle("mac_installer_app") {
23 info_plist = "Info.plist" 23 info_plist = "Info.plist"
24 extra_substitutions = [ "MACOSX_DEPLOYMENT_TARGET=10.9" ] 24 extra_substitutions = [ "MACOSX_DEPLOYMENT_TARGET=10.9" ]
25 sources = [ 25 sources = [
26 "AppDelegate.m", 26 "AppDelegate.mm",
27 "InstallerWindowController.m", 27 "InstallerWindowController.m",
28 "main.m", 28 "main.m",
29 ] 29 ]
30 30
31 deps = [ 31 deps = [
32 ":mac_installer_base", 32 ":mac_installer_base",
33 ":mac_installer_xibs", 33 ":mac_installer_xibs",
34 "//chrome/common:constants",
34 ] 35 ]
35 36
36 libs = [ 37 libs = [
37 "Cocoa.framework", 38 "Cocoa.framework",
38 "DiskArbitration.framework", 39 "DiskArbitration.framework",
39 ] 40 ]
40 } 41 }
41 42
42 mac_xib_bundle_data("mac_installer_xibs") { 43 mac_xib_bundle_data("mac_installer_xibs") {
43 sources = [ 44 sources = [
44 "MainMenu.xib", 45 "MainMenu.xib",
45 ] 46 ]
46 } 47 }
47 48
48 test("mac_installer_unittests") { 49 test("mac_installer_unittests") {
49 sources = [ 50 sources = [
50 "testing/OmahaXMLRequest_test.mm", 51 "testing/OmahaXMLRequest_test.mm",
51 "testing/SystemInfo_test.mm", 52 "testing/SystemInfo_test.mm",
52 "testing/Unpacker_test.mm", 53 "testing/Unpacker_test.mm",
53 ] 54 ]
54 deps = [ 55 deps = [
55 ":mac_installer_base", 56 ":mac_installer_base",
56 "//base:base", 57 "//base:base",
57 "//base/test:run_all_unittests", 58 "//base/test:run_all_unittests",
59 "//chrome/common:constants",
58 "//testing/gtest:gtest", 60 "//testing/gtest:gtest",
59 ] 61 ]
60 libs = [ 62 libs = [
61 "Cocoa.framework", 63 "Cocoa.framework",
62 "DiskArbitration.framework", 64 "DiskArbitration.framework",
63 ] 65 ]
64 data = [ 66 data = [
65 "testing/requestCheck.dtd", 67 "testing/requestCheck.dtd",
66 "testing/requestSample.xml", 68 "testing/requestSample.xml",
67 "testing/responseExample.xml", 69 "testing/responseExample.xml",
68 ] 70 ]
69 } 71 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698