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", |