[email protected] | 5629e0c | 2011-09-12 22:07:36 | [diff] [blame] | 1 | # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | { |
| 6 | 'targets': [ |
| 7 | { |
| 8 | 'target_name': 'content_shell', |
| 9 | 'type': 'executable', |
[email protected] | 9fbd3f86 | 2011-09-20 23:31:34 | [diff] [blame] | 10 | 'variables': { |
| 11 | 'chromium_code': 1, |
| 12 | }, |
[email protected] | 5629e0c | 2011-09-12 22:07:36 | [diff] [blame] | 13 | 'dependencies': [ |
| 14 | 'content_app', |
| 15 | 'content_browser', |
| 16 | 'content_common', |
| 17 | 'content_gpu', |
| 18 | 'content_plugin', |
| 19 | 'content_ppapi_plugin', |
| 20 | 'content_renderer', |
| 21 | 'content_utility', |
| 22 | 'content_worker', |
| 23 | '../skia/skia.gyp:skia', |
| 24 | '../ui/ui.gyp:ui', |
[email protected] | 12bc28fcb | 2011-09-21 15:53:50 | [diff] [blame] | 25 | '../v8/tools/gyp/v8.gyp:v8', |
[email protected] | 5629e0c | 2011-09-12 22:07:36 | [diff] [blame] | 26 | ], |
| 27 | 'include_dirs': [ |
| 28 | '..', |
| 29 | ], |
| 30 | 'sources': [ |
[email protected] | b0f146f | 2011-09-15 22:14:25 | [diff] [blame] | 31 | 'browser/download/mock_download_manager_delegate.cc', |
| 32 | 'browser/tab_contents/tab_contents_view_win.cc', |
| 33 | 'browser/tab_contents/tab_contents_view_win.h', |
[email protected] | e99ca511 | 2011-09-26 17:22:54 | [diff] [blame] | 34 | 'browser/tab_contents/tab_contents_view_win_delegate.h', |
[email protected] | 9fbd3f86 | 2011-09-20 23:31:34 | [diff] [blame] | 35 | 'shell/shell.cc', |
| 36 | 'shell/shell.h', |
| 37 | 'shell/shell_gtk.cc', |
| 38 | 'shell/shell_mac.mm', |
| 39 | 'shell/shell_win.cc', |
[email protected] | b0f146f | 2011-09-15 22:14:25 | [diff] [blame] | 40 | 'shell/shell_browser_context.cc', |
| 41 | 'shell/shell_browser_context.h', |
[email protected] | 5629e0c | 2011-09-12 22:07:36 | [diff] [blame] | 42 | 'shell/shell_browser_main.cc', |
| 43 | 'shell/shell_browser_main.h', |
| 44 | 'shell/shell_content_browser_client.cc', |
| 45 | 'shell/shell_content_browser_client.h', |
| 46 | 'shell/shell_content_client.cc', |
| 47 | 'shell/shell_content_client.h', |
| 48 | 'shell/shell_content_plugin_client.cc', |
| 49 | 'shell/shell_content_plugin_client.h', |
| 50 | 'shell/shell_content_renderer_client.cc', |
| 51 | 'shell/shell_content_renderer_client.h', |
| 52 | 'shell/shell_content_utility_client.cc', |
| 53 | 'shell/shell_content_utility_client.h', |
| 54 | 'shell/shell_main.cc', |
[email protected] | c5f1e33 | 2011-09-27 01:08:03 | [diff] [blame^] | 55 | 'shell/shell_resource_context.cc', |
| 56 | 'shell/shell_resource_context.h', |
| 57 | 'shell/shell_url_request_context_getter.cc', |
| 58 | 'shell/shell_url_request_context_getter.h', |
[email protected] | 5629e0c | 2011-09-12 22:07:36 | [diff] [blame] | 59 | ], |
| 60 | 'msvs_settings': { |
| 61 | 'VCLinkerTool': { |
| 62 | 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS |
| 63 | }, |
| 64 | }, |
| 65 | 'conditions': [ |
| 66 | ['OS=="win" and win_use_allocator_shim==1', { |
| 67 | 'dependencies': [ |
| 68 | '../base/allocator/allocator.gyp:allocator', |
| 69 | ], |
| 70 | }], |
[email protected] | 9fbd3f86 | 2011-09-20 23:31:34 | [diff] [blame] | 71 | ['OS=="win"', { |
| 72 | 'resource_include_dirs': [ |
| 73 | '<(SHARED_INTERMEDIATE_DIR)/webkit', |
| 74 | ], |
| 75 | 'sources': [ |
| 76 | 'shell/resource.h', |
| 77 | 'shell/shell.rc', |
| 78 | # TODO: It would be nice to have these pulled in |
| 79 | # automatically from direct_dependent_settings in |
| 80 | # their various targets (net.gyp:net_resources, etc.), |
| 81 | # but that causes errors in other targets when |
| 82 | # resulting .res files get referenced multiple times. |
| 83 | '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc', |
| 84 | '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.rc', |
| 85 | '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc', |
| 86 | '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_strings_en-US.rc', |
| 87 | ], |
| 88 | 'dependencies': [ |
| 89 | '<(DEPTH)/net/net.gyp:net_resources', |
| 90 | '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_resources', |
| 91 | '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_strings', |
| 92 | ], |
| 93 | 'configurations': { |
| 94 | 'Debug_Base': { |
| 95 | 'msvs_settings': { |
| 96 | 'VCLinkerTool': { |
| 97 | 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', |
| 98 | }, |
| 99 | }, |
| 100 | }, |
| 101 | }, |
| 102 | }], |
[email protected] | 5629e0c | 2011-09-12 22:07:36 | [diff] [blame] | 103 | ], |
| 104 | }, |
| 105 | ], |
| 106 | } |