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

Unified 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: Changed BUILD.gn so that only the app would compile AuthorizedInstall.m and not the tests. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/installer/mac/app/AuthorizedInstall.m ('k') | chrome/installer/mac/app/OmahaCommunication.m » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/mac/app/BUILD.gn
diff --git a/chrome/installer/mac/app/BUILD.gn b/chrome/installer/mac/app/BUILD.gn
index d535005c3d4bf6bde656d2c302d2850a61bc8ae8..c1ac141342302e8348427d7c21a893ff294414ed 100644
--- a/chrome/installer/mac/app/BUILD.gn
+++ b/chrome/installer/mac/app/BUILD.gn
@@ -22,18 +22,21 @@ mac_app_bundle("mac_installer_app") {
extra_substitutions = [ "MACOSX_DEPLOYMENT_TARGET=10.9" ]
sources = [
"AppDelegate.m",
+ "AuthorizedInstall.m",
"InstallerWindowController.m",
"main.m",
]
deps = [
":mac_installer_base",
+ ":mac_installer_resources",
":mac_installer_xibs",
]
libs = [
"AppKit.framework",
"CoreFoundation.framework",
+ "Security.framework",
]
}
@@ -43,6 +46,15 @@ mac_xib_bundle_data("mac_installer_xibs") {
]
}
+bundle_data("mac_installer_resources") {
+ sources = [
+ "copy_to_disk.sh",
+ ]
+ outputs = [
+ "{{bundle_resources_dir}}/copy_to_disk.sh",
+ ]
+}
+
test("mac_installer_unittests") {
sources = [
"testing/OmahaXMLRequest_test.mm",
« no previous file with comments | « chrome/installer/mac/app/AuthorizedInstall.m ('k') | chrome/installer/mac/app/OmahaCommunication.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698