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

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: Cleaned up code and made the script waiting not awkward 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
Index: chrome/installer/mac/app/BUILD.gn
diff --git a/chrome/installer/mac/app/BUILD.gn b/chrome/installer/mac/app/BUILD.gn
index 31101a70e85d5fc8af89f440a7c4c291a45433c9..25a9f1d0948438cec1d270a31f93486200350865 100644
--- a/chrome/installer/mac/app/BUILD.gn
+++ b/chrome/installer/mac/app/BUILD.gn
@@ -7,6 +7,7 @@ import("//build/config/mac/rules.gni")
source_set("mac_installer_base") {
sources = [
+ "AuthorizedInstall.m",
"Downloader.m",
"NSAlert+ChromeInstallerAdditions.m",
"NSError+ChromeInstallerAdditions.m",
@@ -28,12 +29,14 @@ mac_app_bundle("mac_installer_app") {
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",
+ ]
+}
+
executable("mac_installer") {
sources = [
"main.m",

Powered by Google App Engine
This is Rietveld 408576698