OLD | NEW |
| (Empty) |
1 # Copyright (c) 2006-2008 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 Import('env') | |
6 | |
7 env = env.Clone() | |
8 | |
9 env.Append( | |
10 CPPPATH = [ | |
11 '$WEBKIT_DIR/build/WebCore', | |
12 ], | |
13 LIBS = [ | |
14 'port', | |
15 'renderer', | |
16 'V8Bindings', | |
17 'WebCore', | |
18 'WTF', | |
19 ], | |
20 ) | |
21 | |
22 if env.Bit('windows'): | |
23 env.Append( | |
24 CCFLAGS = [ | |
25 '/TP', | |
26 | |
27 '/WX', | |
28 | |
29 '/wd4800', | |
30 ], | |
31 ) | |
32 | |
33 input_files = [ | |
34 'alt_404_page_resource_fetcher.cc', | |
35 'alt_error_page_resource_fetcher.cc', | |
36 'autofill_form.cc', | |
37 'back_forward_list_client_impl.cc', | |
38 'chrome_client_impl.cc', | |
39 'chromium_bridge_impl.cc', | |
40 'clipboard_conversion.cc', | |
41 'context_menu_client_impl.cc', | |
42 'cpp_binding_example.cc', | |
43 'cpp_bound_class.cc', | |
44 'cpp_variant.cc', | |
45 'debugger_bridge.cc', | |
46 'devtools/devtools_rpc.cc', | |
47 'devtools/devtools_rpc.h', | |
48 'devtools/devtools_rpc_js.h', | |
49 'devtools/dom_agent.h', | |
50 'devtools/dom_agent_impl.cc', | |
51 'devtools/dom_agent_impl.h', | |
52 'devtools/net_agent.h', | |
53 'devtools/net_agent_impl.cc', | |
54 'devtools/net_agent_impl.h', | |
55 'devtools/tools_agent.h', | |
56 'dom_operations.cc', | |
57 'dom_serializer.cc', | |
58 'dragclient_impl.cc', | |
59 'editor_client_impl.cc', | |
60 'entity_map.cc', | |
61 'event_conversion.cc', | |
62 'feed_preview.cc', | |
63 'glue_util.cc', | |
64 'glue_serialize.cc', | |
65 'image_decoder.cc', | |
66 'image_resource_fetcher.cc', | |
67 'inspector_client_impl.cc', | |
68 'localized_strings.cc', | |
69 'media_player_private_impl.cc', | |
70 'multipart_response_delegate.cc', | |
71 'npruntime_util.cc', | |
72 'password_autocomplete_listener.cc', | |
73 'password_form_dom_manager.cc', | |
74 'plugins/plugin_host.cc', | |
75 'plugins/plugin_instance.cc', | |
76 'plugins/plugin_lib.cc', | |
77 'plugins/plugin_list.cc', | |
78 'plugins/plugin_stream.cc', | |
79 'plugins/plugin_stream_url.cc', | |
80 'plugins/plugin_string_stream.cc', | |
81 'resource_fetcher.cc', | |
82 'resource_handle_impl.cc', | |
83 'resource_loader_bridge.cc', | |
84 'searchable_form_data.cc', | |
85 'simple_webmimeregistry_impl.cc', | |
86 'stacking_order_iterator.cc', | |
87 'webclipboard_impl.cc', | |
88 'webcursor.cc', | |
89 'webdatasource_impl.cc', | |
90 'webdevtoolsagent.h', | |
91 'webdevtoolsagent_delegate.h', | |
92 'webdevtoolsagent_impl.cc', | |
93 'webdevtoolsagent_impl.h', | |
94 'webdevtoolsclient.h', | |
95 'webdevtoolsclient_delegate.h', | |
96 'webdevtoolsclient_impl.cc', | |
97 'webdevtoolsclient_impl.h', | |
98 'weberror_impl.cc', | |
99 'webframe_impl.cc', | |
100 'webframeloaderclient_impl.cc', | |
101 'webhistoryitem_impl.cc', | |
102 'webkitclient_impl.cc', | |
103 'webkit_glue.cc', | |
104 'webmediaplayer_impl.cc', | |
105 'webplugin_delegate.cc', | |
106 'webplugin_impl.cc', | |
107 'webtextinput_impl.cc', | |
108 'weburlrequest_impl.cc', | |
109 'webwidget_impl.cc', | |
110 'webview_delegate.cc', | |
111 'webview_impl.cc', | |
112 ] | |
113 | |
114 if env.Bit('windows'): | |
115 # TODO(port): These extra files aren't win32-specific, they've just not been | |
116 # tested on other platforms yet. | |
117 input_files.extend([ | |
118 '$PENDING_DIR/AccessibleBase.cpp', | |
119 '$PENDING_DIR/AccessibleDocument.cpp', | |
120 'webaccessibilitymanager_impl.cc', | |
121 'glue_accessibility_object.cc' | |
122 'plugins/mozilla_extensions.cc', | |
123 'plugins/webplugin_delegate_impl.cc', | |
124 'webdropdata.cc', | |
125 ]) | |
126 | |
127 if env.Bit('windows'): | |
128 input_files.extend([ | |
129 'plugins/plugin_lib_win.cc', | |
130 'plugins/plugin_list_win.cc', | |
131 'plugins/plugin_stream_win.cc', | |
132 'webcursor_win.cc', | |
133 'webinputevent_win.cc', | |
134 'webkit_glue_win.cc', | |
135 ]) | |
136 elif env.Bit('linux'): | |
137 input_files.extend([ | |
138 'plugins/plugin_lib_linux.cc', | |
139 'plugins/plugin_list_linux.cc', | |
140 'plugins/webplugin_delegate_impl_gtk.cc', | |
141 'webcursor_gtk.cc', | |
142 'webinputevent_linux.cc', | |
143 'webinputevent_util.cc', | |
144 'webkit_glue_gtk.cc', | |
145 ]) | |
146 elif env.Bit('mac'): | |
147 input_files.extend([ | |
148 'plugins/plugin_lib_mac.mm', | |
149 'plugins/plugin_list_mac.mm', | |
150 'webcursor_mac.mm', | |
151 ]) | |
152 | |
153 if env.Bit('posix'): | |
154 input_files.extend([ | |
155 'plugins/plugin_stream_posix.cc', | |
156 ]) | |
157 | |
158 env.ChromeLibrary('glue', input_files) | |
159 | |
160 env.ChromeMSVSProject('$WEBKIT_DIR/build/glue/glue.vcproj', | |
161 name = 'Glue', | |
162 dependencies = [ | |
163 '$WEBKIT_DIR/build/WebCore/WebCore.vcproj', | |
164 '$WEBKIT_DIR/build/JSConfig/V8Config.vcproj', | |
165 ('$WEBKIT_DIR/build/V8Bindings/' + | |
166 'V8Bindings_prebuild.vcproj'), | |
167 ('$WEBKIT_DIR/build/localized_strings/' + | |
168 'localized_strings.vcproj'), | |
169 ], | |
170 guid='{C66B126D-0ECE-4CA2-B6DC-FA780AFBBF09}') | |
OLD | NEW |