diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-05 21:59:33 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-05 21:59:33 +0000 |
commit | c1f87b2a4f2d08b92db6f0c7f4f6661d5166feb9 (patch) | |
tree | d1348080214f9bab7a2f3d2b7f6e474b55cb24d5 /content/content_shell.gypi | |
parent | 5435643695ec7f4e77fd4a2cda5bfa1222ec198f (diff) | |
download | chromium_src-c1f87b2a4f2d08b92db6f0c7f4f6661d5166feb9.zip chromium_src-c1f87b2a4f2d08b92db6f0c7f4f6661d5166feb9.tar.gz chromium_src-c1f87b2a4f2d08b92db6f0c7f4f6661d5166feb9.tar.bz2 |
Make an empty content browser test work.
BUG=90448
Review URL: http://codereview.chromium.org/8137012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104181 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/content_shell.gypi')
-rw-r--r-- | content/content_shell.gypi | 60 |
1 files changed, 44 insertions, 16 deletions
diff --git a/content/content_shell.gypi b/content/content_shell.gypi index 44607357..c818460 100644 --- a/content/content_shell.gypi +++ b/content/content_shell.gypi @@ -5,8 +5,8 @@ { 'targets': [ { - 'target_name': 'content_shell', - 'type': 'executable', + 'target_name': 'content_shell_lib', + 'type': 'static_library', 'defines!': ['CONTENT_IMPLEMENTATION'], 'variables': { 'chromium_code': 1, @@ -65,7 +65,8 @@ 'shell/shell_content_utility_client.h', 'shell/shell_download_manager_delegate.cc', 'shell/shell_download_manager_delegate.h', - 'shell/shell_main.cc', + 'shell/shell_main_delegate.cc', + 'shell/shell_main_delegate.h', 'shell/shell_resource_context.cc', 'shell/shell_resource_context.h', 'shell/shell_url_request_context_getter.cc', @@ -86,19 +87,6 @@ 'resource_include_dirs': [ '<(SHARED_INTERMEDIATE_DIR)/webkit', ], - 'sources': [ - 'shell/resource.h', - 'shell/shell.rc', - # TODO: It would be nice to have these pulled in - # automatically from direct_dependent_settings in - # their various targets (net.gyp:net_resources, etc.), - # but that causes errors in other targets when - # resulting .res files get referenced multiple times. - '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc', - '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.rc', - '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc', - '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.rc', - ], 'dependencies': [ '<(DEPTH)/net/net.gyp:net_resources', '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_resources', @@ -116,5 +104,45 @@ }], ], }, + { + 'target_name': 'content_shell', + 'type': 'executable', + 'defines!': ['CONTENT_IMPLEMENTATION'], + 'variables': { + 'chromium_code': 1, + }, + 'dependencies': [ + 'content_shell_lib', + ], + 'include_dirs': [ + '..', + ], + 'sources': [ + 'shell/shell_main.cc', + ], + 'msvs_settings': { + 'VCLinkerTool': { + 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS + }, + }, + 'conditions': [ + ['OS=="win" and win_use_allocator_shim==1', { + 'dependencies': [ + '../base/allocator/allocator.gyp:allocator', + ], + }], + ['OS=="win"', { + 'configurations': { + 'Debug_Base': { + 'msvs_settings': { + 'VCLinkerTool': { + 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', + }, + }, + }, + }, + }], + ], + }, ], } |