Chromium Code Reviews| Index: chrome/chrome_dll.gypi |
| diff --git a/chrome/chrome_dll.gypi b/chrome/chrome_dll.gypi |
| index 090a3d2dd2063566ef4d281d9dc604d8572e8a90..1189382b799e473b4967e63a49a0fcb4c10f9ba9 100644 |
| --- a/chrome/chrome_dll.gypi |
| +++ b/chrome/chrome_dll.gypi |
| @@ -21,6 +21,11 @@ |
| ], |
| }, |
| }], # OS=="mac" |
| + ['chrome_multiple_dll==1', { |
| + 'dependencies': [ |
| + 'chrome_child_dll', |
| + ], |
| + }], |
| ['incremental_chrome_dll==1', { |
| # Linking to a different directory and then hardlinking back |
| # to OutDir is a workaround to avoid having the .ilk for |
| @@ -75,8 +80,6 @@ |
| }, |
| 'dependencies': [ |
| '<@(chromium_browser_dependencies)', |
| - '<@(chromium_child_dependencies)', |
| - '../content/content.gyp:content_worker', |
| 'app/policy/cloud_policy_codegen.gyp:policy', |
| ], |
| 'conditions': [ |
| @@ -226,24 +229,23 @@ |
| 'AdditionalManifestFiles': '$(ProjectDir)\\app\\chrome.dll.manifest', |
| }, |
| }, |
| - }], # OS=="win" |
| + }], |
| + ['chrome_multiple_dll!=1', { |
|
jam
2013/07/17 16:23:37
nit: I think this would be readable the other way
scottmg
2013/07/17 16:49:35
Done.
|
| + 'dependencies': [ |
| + '<@(chromium_child_dependencies)', |
| + '../content/content.gyp:content_worker', |
| + ], |
| + }, { |
| + 'defines': [ |
| + 'CHROME_MULTIPLE_DLL_BROWSER', |
| + ], |
| + }], |
| ['OS=="mac" and component!="shared_library"', { |
| 'includes': [ 'chrome_dll_bundle.gypi' ], |
| }], |
| ['OS=="mac" and component=="shared_library"', { |
| 'xcode_settings': { 'OTHER_LDFLAGS': [ '-Wl,-ObjC' ], }, |
| }], |
| - ['chrome_split_dll', { |
| - 'sources': [ |
| - # See comment in .cc for explanation. |
| - 'split_dll_fake_entry.cc', |
| - ], |
| - 'msvs_settings': { |
| - 'VCLinkerTool': { |
| - 'AdditionalOptions': ['/splitlink'], |
| - }, |
| - } |
| - }], |
| ['OS=="mac"', { |
| 'xcode_settings': { |
| # Define the order of symbols within the framework. This |
| @@ -310,6 +312,28 @@ |
| }], # OS=="mac" |
| ], # conditions |
| }, # target chrome_main_dll |
| + { |
| + 'target_name': 'chrome_child_dll', |
| + 'type': 'shared_library', |
| + 'product_name': 'chrome_child', |
| + 'variables': { |
| + 'enable_wexit_time_destructors': 1, |
| + }, |
| + 'dependencies': [ |
| + '<@(chromium_child_dependencies)', |
| + '../content/content.gyp:content_worker', |
| + 'policy_path_parser', |
| + ], |
| + 'defines': [ |
| + 'CHROME_MULTIPLE_DLL_CHILD', |
| + ], |
| + 'sources': [ |
| + 'app/child_stubs.cc', |
| + 'app/chrome_main.cc', |
| + 'app/chrome_main_delegate.cc', |
| + 'app/chrome_main_delegate.h', |
| + ], |
| + }, # target chrome_child_dll |
| ], # targets |
| }], # OS=="mac" or OS=="win" |
| ['OS=="win"', { |