Upgrade DevTools WebSocket server implementation from Hybi10 to Hybi17.
[chromium-blink-merge.git] / content / content_shell.gypi
blob7d28c2c580b899a9883b99c3d9b36b8843f9f6cb
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.
6   'targets': [
7     {
8       'target_name': 'content_shell_lib',
9       'type': 'static_library',
10       'defines!': ['CONTENT_IMPLEMENTATION'],
11       'variables': {
12         'chromium_code': 1,
13       },
14       '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',
24         '../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',
29         '../skia/skia.gyp:skia',
30         '../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit',
31         '../ui/ui.gyp:ui',
32         '../v8/tools/gyp/v8.gyp:v8',
33         '../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',
38       ],
39       'include_dirs': [
40         '..',
41       ],
42       'sources': [
43         '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',
46         'browser/tab_contents/tab_contents_view_win_delegate.h',
47         'shell/shell.cc',
48         'shell/shell.h',
49         'shell/shell_gtk.cc',
50         'shell/shell_mac.mm',
51         'shell/shell_win.cc',
52         'shell/shell_browser_context.cc',
53         'shell/shell_browser_context.h',
54         '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',
66         'shell/shell_download_manager_delegate.cc',
67         'shell/shell_download_manager_delegate.h',
68         'shell/shell_main_delegate.cc',
69         'shell/shell_main_delegate.h',
70         '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',
74       ],
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         }],
86         ['OS=="win"', {
87           'resource_include_dirs': [
88             '<(SHARED_INTERMEDIATE_DIR)/webkit',
89           ],
90           '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         }],
105       ],
106     },
107     {
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         'app/startup_helper_win.cc',
122         'shell/shell_main.cc',
123       ],
124       'msvs_settings': {
125         'VCLinkerTool': {
126           'SubSystem': '2',  # Set /SUBSYSTEM:WINDOWS
127         },
128       },
129       'conditions': [
130         ['OS=="win" and win_use_allocator_shim==1', {
131           'dependencies': [
132             '../base/allocator/allocator.gyp:allocator',
133           ],
134         }],
135         ['OS=="win"', {
136           'configurations': {
137             'Debug_Base': {
138               'msvs_settings': {
139                 'VCLinkerTool': {
140                   'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
141                 },
142               },
143             },
144           },
145         }],
146         ['OS == "win" or (toolkit_uses_gtk == 1 and selinux == 0)', {
147           'dependencies': [
148             '../sandbox/sandbox.gyp:sandbox',
149           ],
150         }],
151       ],
152     },
153   ],