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

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

Issue 2203583002: Added unpacking step (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added in SecCodeCheckValidity in place of the hdiutil checksum 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 ] 18 ]
19 configs += [ "//build/config/compiler:enable_arc" ]
18 } 20 }
19 21
20 mac_app_bundle("mac_installer_app") { 22 mac_app_bundle("mac_installer_app") {
21 info_plist = "Info.plist" 23 info_plist = "Info.plist"
22 extra_substitutions = [ "MACOSX_DEPLOYMENT_TARGET=10.9" ] 24 extra_substitutions = [ "MACOSX_DEPLOYMENT_TARGET=10.9" ]
23 sources = [ 25 sources = [
24 "AppDelegate.m", 26 "AppDelegate.m",
25 "InstallerWindowController.m", 27 "InstallerWindowController.m",
26 "main.m", 28 "main.m",
27 ] 29 ]
28 30
29 deps = [ 31 deps = [
30 ":mac_installer_base", 32 ":mac_installer_base",
31 ":mac_installer_xibs", 33 ":mac_installer_xibs",
32 ] 34 ]
33 35
34 libs = [ 36 libs = [
35 "AppKit.framework", 37 "Cocoa.framework",
36 "CoreFoundation.framework", 38 "DiskArbitration.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
46 test("mac_installer_unittests") { 49 test("mac_installer_unittests") {
47 sources = [ 50 sources = [
48 "testing/OmahaXMLRequest_test.mm", 51 "testing/OmahaXMLRequest_test.mm",
49 "testing/SystemInfo_test.mm", 52 "testing/SystemInfo_test.mm",
53 "testing/Unpacker_test.mm",
50 ] 54 ]
51 deps = [ 55 deps = [
52 ":mac_installer_base", 56 ":mac_installer_base",
53 "//base:base", 57 "//base:base",
54 "//base/test:run_all_unittests", 58 "//base/test:run_all_unittests",
55 "//testing/gtest:gtest", 59 "//testing/gtest:gtest",
56 ] 60 ]
57 libs = [ "Foundation.framework" ] 61 libs = [
62 "Cocoa.framework",
63 "DiskArbitration.framework",
64 "Security.framework",
65 ]
58 data = [ 66 data = [
59 "testing/requestCheck.dtd", 67 "testing/requestCheck.dtd",
60 "testing/requestSample.xml", 68 "testing/requestSample.xml",
61 "testing/responseExample.xml", 69 "testing/responseExample.xml",
62 ] 70 ]
63 } 71 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698