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

Side by Side 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, 7 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 unified diff | Download patch
« no previous file with comments | « chrome/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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("//build/config/mac/rules.gni") 5 import("//build/config/mac/rules.gni")
6 import("//build/mac/tweak_info_plist.gni")
6 import("//build/util/branding.gni") 7 import("//build/util/branding.gni")
7 8
8 # This is the part of the shim process compiled into Chrome. It runs only 9 # This is the part of the shim process compiled into Chrome. It runs only
9 # in the shim process, after the shim finds and loads the Chrome 10 # in the shim process, after the shim finds and loads the Chrome
10 # Framework bundle. 11 # Framework bundle.
11 source_set("app_shim") { 12 source_set("app_shim") {
12 sources = [ 13 sources = [
13 "chrome_main_app_mode_mac.mm", 14 "chrome_main_app_mode_mac.mm",
14 ] 15 ]
15 16
16 deps = [ 17 deps = [
17 "//chrome:strings", 18 "//chrome:strings",
18 "//chrome/common:app_mode_app_support", 19 "//chrome/common:app_mode_app_support",
19 ] 20 ]
20 } 21 }
21 22
23 tweak_info_plist("app_mode_loader_plist") {
24 info_plist = "app_mode-Info.plist"
25 args = [
26 "--breakpad=0",
27 "--keystone=0",
28 "--scm=0",
29 ]
30 }
31
22 mac_app_bundle("app_mode_loader") { 32 mac_app_bundle("app_mode_loader") {
23 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ] 33 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ]
24 34
25 info_plist = "app_mode-Info.plist" 35 info_plist_target = ":app_mode_loader_plist"
26 extra_substitutions = [ "APP_MODE_APP_BUNDLE_ID=$chrome_mac_bundle_id.app.@APP _MODE_SHORTCUT_ID@" ] 36 extra_substitutions = [ "APP_MODE_APP_BUNDLE_ID=$chrome_mac_bundle_id.app.@APP _MODE_SHORTCUT_ID@" ]
27 37
28 sources = [ 38 sources = [
29 "app_mode_loader_mac.mm", 39 "app_mode_loader_mac.mm",
30 ] 40 ]
31 41
32 deps = [ 42 deps = [
33 "//chrome/common:app_mode_app_support", 43 "//chrome/common:app_mode_app_support",
34 ] 44 ]
35 45
36 libs = [ 46 libs = [
37 "CoreFoundation.framework", 47 "CoreFoundation.framework",
38 "Foundation.framework", 48 "Foundation.framework",
39 ] 49 ]
40 } 50 }
OLDNEW
« 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