Chromium Code Reviews| Index: chrome/app_shim/BUILD.gn |
| diff --git a/chrome/app_shim/BUILD.gn b/chrome/app_shim/BUILD.gn |
| index 74bca935118768c42fd0df65d50564c7b38d9f94..e7f95946b20e7b6ee8c6b260daca6ea2c3b42f60 100644 |
| --- a/chrome/app_shim/BUILD.gn |
| +++ b/chrome/app_shim/BUILD.gn |
| @@ -2,6 +2,8 @@ |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| +import("//build/config/mac/rules.gni") |
| + |
| # This is the part of the shim process compiled into Chrome. It runs only |
| # in the shim process, after the shim finds and loads the Chrome |
| # Framework bundle. |
| @@ -15,3 +17,24 @@ source_set("app_shim") { |
| "//chrome/common:app_mode_app_support", |
| ] |
| } |
| + |
| +mac_app_bundle("app_mode_loader") { |
| + add_configs = [ "//build/config/compiler:wexit_time_destructors" ] |
|
Robert Sesek
2016/04/28 20:14:59
dpranke: Normally this would be expressed by confi
Dirk Pranke
2016/04/28 20:24:36
Are you sure invoker.configs (and just setting con
Robert Sesek
2016/04/28 21:08:13
Ah, right, that should work. I was also trying to
|
| + |
| + info_plist = "app_mode-Info.plist" |
| + |
| + sources = [ |
| + "app_mode_loader_mac.mm", |
| + ] |
| + |
| + deps = [ |
| + "//chrome/common:app_mode_app_support", |
| + ] |
| + |
| + # TODO(rsesek): extra_substitutions = [ APP_MODE_APP_BUNDLE_ID ... ] |
| + |
| + libs = [ |
| + "CoreFoundation.framework", |
| + "Foundation.framework", |
| + ] |
| +} |