Index: chrome/chrome.gyp |
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp |
index 40a10219ef075b75a5957b3061026509aa98ee3a..f98294e3d856d15046f1622b4c4207946f5cda14 100644 |
--- a/chrome/chrome.gyp |
+++ b/chrome/chrome.gyp |
@@ -823,14 +823,33 @@ |
{ |
# This produces the app mode loader, but not as a bundle. Chromium |
Mark Mentovai
2012/01/23 16:08:09
This produces a static library, not the loader.
|
# itself is responsible for producing bundles. |
+ 'target_name': 'app_mode_app_support', |
+ 'type': 'static_library', |
+ 'variables': { 'enable_wexit_time_destructors': 1, }, |
+ 'product_name': '<(mac_product_name) App Mode Loader Support', |
+ 'dependencies': [ |
+ '../base/base.gyp:base', |
+ ], |
+ 'sources': [ |
+ 'common/mac/app_mode_common.h', |
+ 'common/mac/app_mode_common.mm', |
+ ], |
+ 'include_dirs': [ |
+ '..', |
+ ], |
+ }, # target app_mode_app_support |
+ { |
+ # This produces the app mode loader, but not as a bundle. Chromium |
+ # itself is responsible for producing bundles. |
'target_name': 'app_mode_app', |
'type': 'executable', |
'variables': { 'enable_wexit_time_destructors': 1, }, |
'product_name': '<(mac_product_name) App Mode Loader', |
+ 'dependencies': [ |
+ 'app_mode_app_support', |
+ ], |
'sources': [ |
'app/app_mode_loader_mac.mm', |
- 'common/mac/app_mode_common.h', |
- 'common/mac/app_mode_common.mm', |
], |
'include_dirs': [ |
'..', |