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

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

Issue 2243863003: Added authorized install with a script to do the copy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 "AuthorizedInstall.m",
10 "Downloader.m", 11 "Downloader.m",
11 "NSAlert+ChromeInstallerAdditions.m", 12 "NSAlert+ChromeInstallerAdditions.m",
12 "NSError+ChromeInstallerAdditions.m", 13 "NSError+ChromeInstallerAdditions.m",
13 "OmahaCommunication.m", 14 "OmahaCommunication.m",
14 "OmahaXMLParser.m", 15 "OmahaXMLParser.m",
15 "OmahaXMLRequest.m", 16 "OmahaXMLRequest.m",
16 "SystemInfo.m", 17 "SystemInfo.m",
17 ] 18 ]
18 } 19 }
19 20
20 mac_app_bundle("mac_installer_app") { 21 mac_app_bundle("mac_installer_app") {
21 info_plist = "Info.plist" 22 info_plist = "Info.plist"
22 extra_substitutions = [ "MACOSX_DEPLOYMENT_TARGET=10.9" ] 23 extra_substitutions = [ "MACOSX_DEPLOYMENT_TARGET=10.9" ]
23 sources = [ 24 sources = [
24 "AppDelegate.m", 25 "AppDelegate.m",
25 "InstallerWindowController.m", 26 "InstallerWindowController.m",
26 "main.m", 27 "main.m",
27 ] 28 ]
28 29
29 deps = [ 30 deps = [
30 ":mac_installer_base", 31 ":mac_installer_base",
32 ":mac_installer_resources",
31 ":mac_installer_xibs", 33 ":mac_installer_xibs",
32 ] 34 ]
33 35
34 libs = [ 36 libs = [
35 "AppKit.framework", 37 "AppKit.framework",
36 "CoreFoundation.framework", 38 "CoreFoundation.framework",
39 "Security.framework",
37 ] 40 ]
38 } 41 }
39 42
40 mac_xib_bundle_data("mac_installer_xibs") { 43 mac_xib_bundle_data("mac_installer_xibs") {
41 sources = [ 44 sources = [
42 "MainMenu.xib", 45 "MainMenu.xib",
43 ] 46 ]
44 } 47 }
45 48
49 bundle_data("mac_installer_resources") {
50 sources = [
51 "copy_to_disk.sh",
52 ]
53 outputs = [
54 "{{bundle_resources_dir}}/install.sh",
55 ]
56 }
57
46 executable("mac_installer") { 58 executable("mac_installer") {
47 sources = [ 59 sources = [
48 "main.m", 60 "main.m",
49 ] 61 ]
50 deps = [ 62 deps = [
51 ":mac_installer_base", 63 ":mac_installer_base",
52 ] 64 ]
53 65
54 libs = [ 66 libs = [
55 "AppKit.framework", 67 "AppKit.framework",
(...skipping 12 matching lines...) Expand all
68 "//base/test:run_all_unittests", 80 "//base/test:run_all_unittests",
69 "//testing/gtest:gtest", 81 "//testing/gtest:gtest",
70 ] 82 ]
71 libs = [ "Foundation.framework" ] 83 libs = [ "Foundation.framework" ]
72 data = [ 84 data = [
73 "testing/requestCheck.dtd", 85 "testing/requestCheck.dtd",
74 "testing/requestSample.xml", 86 "testing/requestSample.xml",
75 "testing/responseExample.xml", 87 "testing/responseExample.xml",
76 ] 88 ]
77 } 89 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698