| OLD | NEW | 
|---|
| 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") | 
|  | 6 | 
| 5 # This is the part of the shim process compiled into Chrome. It runs only | 7 # This is the part of the shim process compiled into Chrome. It runs only | 
| 6 # in the shim process, after the shim finds and loads the Chrome | 8 # in the shim process, after the shim finds and loads the Chrome | 
| 7 # Framework bundle. | 9 # Framework bundle. | 
| 8 source_set("app_shim") { | 10 source_set("app_shim") { | 
| 9   sources = [ | 11   sources = [ | 
| 10     "chrome_main_app_mode_mac.mm", | 12     "chrome_main_app_mode_mac.mm", | 
| 11   ] | 13   ] | 
| 12 | 14 | 
| 13   deps = [ | 15   deps = [ | 
| 14     "//chrome:strings", | 16     "//chrome:strings", | 
| 15     "//chrome/common:app_mode_app_support", | 17     "//chrome/common:app_mode_app_support", | 
| 16   ] | 18   ] | 
| 17 } | 19 } | 
|  | 20 | 
|  | 21 mac_app_bundle("app_mode_loader") { | 
|  | 22   extra_configs = [ "//build/config/compiler:wexit_time_destructors" ] | 
|  | 23 | 
|  | 24   info_plist = "app_mode-Info.plist" | 
|  | 25 | 
|  | 26   sources = [ | 
|  | 27     "app_mode_loader_mac.mm", | 
|  | 28   ] | 
|  | 29 | 
|  | 30   deps = [ | 
|  | 31     "//chrome/common:app_mode_app_support", | 
|  | 32   ] | 
|  | 33 | 
|  | 34   # TODO(rsesek): extra_substitutions = [ APP_MODE_APP_BUNDLE_ID ... ] | 
|  | 35 | 
|  | 36   libs = [ | 
|  | 37     "CoreFoundation.framework", | 
|  | 38     "Foundation.framework", | 
|  | 39   ] | 
|  | 40 } | 
| OLD | NEW | 
|---|