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

Unified Diff: chrome/app_shim/BUILD.gn

Issue 1949623002: [Mac/GN] Run tweak_info_plist on //chrome targets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-bundle-id
Patch Set: Created 4 years, 8 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/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app_shim/BUILD.gn
diff --git a/chrome/app_shim/BUILD.gn b/chrome/app_shim/BUILD.gn
index 5171b51f9b5ab3c950590a67a923c90669db1bc0..bad754a97a8bce589589134b1b8061ff7a4f6a2a 100644
--- a/chrome/app_shim/BUILD.gn
+++ b/chrome/app_shim/BUILD.gn
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import("//build/config/mac/rules.gni")
+import("//build/mac/tweak_info_plist.gni")
import("//build/util/branding.gni")
# This is the part of the shim process compiled into Chrome. It runs only
@@ -19,10 +20,19 @@ source_set("app_shim") {
]
}
+tweak_info_plist("app_mode_loader_plist") {
+ info_plist = "app_mode-Info.plist"
+ args = [
+ "--breakpad=0",
+ "--keystone=0",
+ "--scm=0",
+ ]
+}
+
mac_app_bundle("app_mode_loader") {
extra_configs = [ "//build/config/compiler:wexit_time_destructors" ]
- info_plist = "app_mode-Info.plist"
+ info_plist_target = ":app_mode_loader_plist"
extra_substitutions = [ "APP_MODE_APP_BUNDLE_ID=$chrome_mac_bundle_id.app.@APP_MODE_SHORTCUT_ID@" ]
sources = [
« no previous file with comments | « chrome/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698