| OLD | NEW |
| 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 visibility = [ ":*" ] | 9 visibility = [ ":*" ] |
| 10 sources = [ | 10 sources = [ |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 "Unpacker.m", | 26 "Unpacker.m", |
| 27 ] | 27 ] |
| 28 public_configs = [ "//build/config/compiler:enable_arc" ] | 28 public_configs = [ "//build/config/compiler:enable_arc" ] |
| 29 } | 29 } |
| 30 | 30 |
| 31 mac_app_bundle("mac_installer_app") { | 31 mac_app_bundle("mac_installer_app") { |
| 32 info_plist = "Info.plist" | 32 info_plist = "Info.plist" |
| 33 extra_substitutions = [ "MACOSX_DEPLOYMENT_TARGET=10.9" ] | 33 extra_substitutions = [ "MACOSX_DEPLOYMENT_TARGET=10.9" ] |
| 34 sources = [ | 34 sources = [ |
| 35 "AppDelegate.h", | 35 "AppDelegate.h", |
| 36 "AppDelegate.m", | 36 "AppDelegate.mm", |
| 37 "AuthorizedInstall.h", | 37 "AuthorizedInstall.h", |
| 38 "AuthorizedInstall.m", | 38 "AuthorizedInstall.m", |
| 39 "InstallerWindowController.h", | 39 "InstallerWindowController.h", |
| 40 "InstallerWindowController.m", | 40 "InstallerWindowController.m", |
| 41 "main.m", | 41 "main.m", |
| 42 ] | 42 ] |
| 43 | 43 |
| 44 deps = [ | 44 deps = [ |
| 45 ":mac_installer_base", | 45 ":mac_installer_base", |
| 46 ":mac_installer_resources", | 46 ":mac_installer_resources", |
| 47 ":mac_installer_xibs", | 47 ":mac_installer_xibs", |
| 48 "//chrome/common:constants", |
| 48 ] | 49 ] |
| 49 | 50 |
| 50 libs = [ | 51 libs = [ |
| 51 "Cocoa.framework", | 52 "Cocoa.framework", |
| 52 "DiskArbitration.framework", | 53 "DiskArbitration.framework", |
| 53 "Security.framework", | 54 "Security.framework", |
| 54 ] | 55 ] |
| 55 } | 56 } |
| 56 | 57 |
| 57 mac_xib_bundle_data("mac_installer_xibs") { | 58 mac_xib_bundle_data("mac_installer_xibs") { |
| (...skipping 14 matching lines...) Expand all Loading... |
| 72 test("mac_installer_unittests") { | 73 test("mac_installer_unittests") { |
| 73 sources = [ | 74 sources = [ |
| 74 "testing/OmahaXMLRequest_test.mm", | 75 "testing/OmahaXMLRequest_test.mm", |
| 75 "testing/SystemInfo_test.mm", | 76 "testing/SystemInfo_test.mm", |
| 76 "testing/Unpacker_test.mm", | 77 "testing/Unpacker_test.mm", |
| 77 ] | 78 ] |
| 78 deps = [ | 79 deps = [ |
| 79 ":mac_installer_base", | 80 ":mac_installer_base", |
| 80 "//base:base", | 81 "//base:base", |
| 81 "//base/test:run_all_unittests", | 82 "//base/test:run_all_unittests", |
| 83 "//chrome/common:constants", |
| 82 "//testing/gtest:gtest", | 84 "//testing/gtest:gtest", |
| 83 ] | 85 ] |
| 84 libs = [ | 86 libs = [ |
| 85 "Cocoa.framework", | 87 "Cocoa.framework", |
| 86 "DiskArbitration.framework", | 88 "DiskArbitration.framework", |
| 87 "Security.framework", | 89 "Security.framework", |
| 88 ] | 90 ] |
| 89 data = [ | 91 data = [ |
| 90 "//chrome/test/data/mac_installer/requestCheck.dtd", | 92 "//chrome/test/data/mac_installer/requestCheck.dtd", |
| 91 "//chrome/test/data/mac_installer/requestSample.xml", | 93 "//chrome/test/data/mac_installer/requestSample.xml", |
| 92 "//chrome/test/data/mac_installer/responseExample.xml", | 94 "//chrome/test/data/mac_installer/responseExample.xml", |
| 93 "//chrome/test/data/mac_installer/test-dmg.dmg", | 95 "//chrome/test/data/mac_installer/test-dmg.dmg", |
| 94 ] | 96 ] |
| 95 } | 97 } |
| OLD | NEW |