blob: c8184600e145e86393747ba51492f1db6aa61cec [file] [log] [blame]
[email protected]5629e0c2011-09-12 22:07:361# 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 {
[email protected]c1f87b22011-10-05 21:59:338 'target_name': 'content_shell_lib',
9 'type': 'static_library',
[email protected]03ff5e52011-09-30 00:28:1410 'defines!': ['CONTENT_IMPLEMENTATION'],
[email protected]9fbd3f862011-09-20 23:31:3411 'variables': {
12 'chromium_code': 1,
13 },
[email protected]5629e0c2011-09-12 22:07:3614 'dependencies': [
15 'content_app',
16 'content_browser',
17 'content_common',
18 'content_gpu',
19 'content_plugin',
20 'content_ppapi_plugin',
21 'content_renderer',
22 'content_utility',
23 'content_worker',
[email protected]aa6e79762011-09-29 20:53:5224 '../base/base.gyp:base',
25 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
26 '../build/temp_gyp/googleurl.gyp:googleurl',
27 '../ipc/ipc.gyp:ipc',
28 '../net/net.gyp:net',
[email protected]5629e0c2011-09-12 22:07:3629 '../skia/skia.gyp:skia',
[email protected]97efb8e2011-10-04 17:16:1630 '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit',
[email protected]5629e0c2011-09-12 22:07:3631 '../ui/ui.gyp:ui',
[email protected]12bc28fcb2011-09-21 15:53:5032 '../v8/tools/gyp/v8.gyp:v8',
[email protected]aa6e79762011-09-29 20:53:5233 '../webkit/support/webkit_support.gyp:appcache',
34 '../webkit/support/webkit_support.gyp:database',
35 '../webkit/support/webkit_support.gyp:fileapi',
36 '../webkit/support/webkit_support.gyp:glue',
37 '../webkit/support/webkit_support.gyp:quota',
[email protected]5629e0c2011-09-12 22:07:3638 ],
39 'include_dirs': [
40 '..',
41 ],
42 'sources': [
[email protected]b0f146f2011-09-15 22:14:2543 'browser/download/mock_download_manager_delegate.cc',
44 'browser/tab_contents/tab_contents_view_win.cc',
45 'browser/tab_contents/tab_contents_view_win.h',
[email protected]e99ca5112011-09-26 17:22:5446 'browser/tab_contents/tab_contents_view_win_delegate.h',
[email protected]9fbd3f862011-09-20 23:31:3447 'shell/shell.cc',
48 'shell/shell.h',
49 'shell/shell_gtk.cc',
50 'shell/shell_mac.mm',
51 'shell/shell_win.cc',
[email protected]b0f146f2011-09-15 22:14:2552 'shell/shell_browser_context.cc',
53 'shell/shell_browser_context.h',
[email protected]5629e0c2011-09-12 22:07:3654 'shell/shell_browser_main.cc',
55 'shell/shell_browser_main.h',
56 'shell/shell_content_browser_client.cc',
57 'shell/shell_content_browser_client.h',
58 'shell/shell_content_client.cc',
59 'shell/shell_content_client.h',
60 'shell/shell_content_plugin_client.cc',
61 'shell/shell_content_plugin_client.h',
62 'shell/shell_content_renderer_client.cc',
63 'shell/shell_content_renderer_client.h',
64 'shell/shell_content_utility_client.cc',
65 'shell/shell_content_utility_client.h',
[email protected]98d6f152011-09-29 19:35:5166 'shell/shell_download_manager_delegate.cc',
67 'shell/shell_download_manager_delegate.h',
[email protected]c1f87b22011-10-05 21:59:3368 'shell/shell_main_delegate.cc',
69 'shell/shell_main_delegate.h',
[email protected]c5f1e332011-09-27 01:08:0370 'shell/shell_resource_context.cc',
71 'shell/shell_resource_context.h',
72 'shell/shell_url_request_context_getter.cc',
73 'shell/shell_url_request_context_getter.h',
[email protected]5629e0c2011-09-12 22:07:3674 ],
75 'msvs_settings': {
76 'VCLinkerTool': {
77 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
78 },
79 },
80 'conditions': [
81 ['OS=="win" and win_use_allocator_shim==1', {
82 'dependencies': [
83 '../base/allocator/allocator.gyp:allocator',
84 ],
85 }],
[email protected]9fbd3f862011-09-20 23:31:3486 ['OS=="win"', {
87 'resource_include_dirs': [
88 '<(SHARED_INTERMEDIATE_DIR)/webkit',
89 ],
[email protected]9fbd3f862011-09-20 23:31:3490 'dependencies': [
91 '<(DEPTH)/net/net.gyp:net_resources',
92 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_resources',
93 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_strings',
94 ],
95 'configurations': {
96 'Debug_Base': {
97 'msvs_settings': {
98 'VCLinkerTool': {
99 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
100 },
101 },
102 },
103 },
104 }],
[email protected]5629e0c2011-09-12 22:07:36105 ],
106 },
[email protected]c1f87b22011-10-05 21:59:33107 {
108 'target_name': 'content_shell',
109 'type': 'executable',
110 'defines!': ['CONTENT_IMPLEMENTATION'],
111 'variables': {
112 'chromium_code': 1,
113 },
114 'dependencies': [
115 'content_shell_lib',
116 ],
117 'include_dirs': [
118 '..',
119 ],
120 'sources': [
121 'shell/shell_main.cc',
122 ],
123 'msvs_settings': {
124 'VCLinkerTool': {
125 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
126 },
127 },
128 'conditions': [
129 ['OS=="win" and win_use_allocator_shim==1', {
130 'dependencies': [
131 '../base/allocator/allocator.gyp:allocator',
132 ],
133 }],
134 ['OS=="win"', {
135 'configurations': {
136 'Debug_Base': {
137 'msvs_settings': {
138 'VCLinkerTool': {
139 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
140 },
141 },
142 },
143 },
144 }],
145 ],
146 },
[email protected]5629e0c2011-09-12 22:07:36147 ],
148}