1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
|
# Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
Import('env')
env = env.Clone()
if env['PLATFORM'] == 'win32':
env.Append(
CCFLAGS = [
'/TP',
'/WX',
'/wd4800',
],
)
input_files = [
'alt_404_page_resource_fetcher.cc',
'alt_error_page_resource_fetcher.cc',
'autocomplete_input_listener.cc',
'cache_manager.cc',
'chrome_client_impl.cc',
'chromium_bridge_impl.cc',
'context_menu_client_impl.cc',
'cpp_binding_example.cc',
'cpp_bound_class.cc',
'cpp_variant.cc',
'debugger.cc',
'dom_operations.cc',
'dom_serializer.cc',
'dragclient_impl.cc',
'editor_client_impl.cc',
'entity_map.cc',
'event_conversion.cc',
'feed_preview.cc',
'glue_util.cc',
'glue_serialize.cc',
'image_decoder.cc',
'image_resource_fetcher.cc',
'inspector_client_impl.cc',
'localized_strings.cc',
'multipart_response_delegate.cc',
'npruntime_util.cc',
'password_autocomplete_listener.cc',
'password_form_dom_manager.cc',
'plugins/plugin_host.cc',
'plugins/plugin_instance.cc',
'plugins/plugin_string_stream.cc',
'plugins/plugin_stream_url.cc',
'resource_fetcher.cc',
'resource_handle_impl.cc',
'searchable_form_data.cc',
'simple_clipboard_impl.cc',
'stacking_order_iterator.cc',
'webcursor.cc',
'webdatasource_impl.cc',
'webdocumentloader_impl.cc',
'weberror_impl.cc',
'webframe_impl.cc',
'webframeloaderclient_impl.cc',
'webhistoryitem_impl.cc',
'webkit_glue.cc',
'webplugin_impl.cc',
'webtextinput_impl.cc',
'weburlrequest_impl.cc',
'webwidget_impl.cc',
'webview_impl.cc',
]
if env['PLATFORM'] == 'posix':
# TODO(port): until we have plugin support for Linux, these files aren't
# built.
remove_files = [
'plugins/plugin_host.cc',
'plugins/plugin_instance.cc',
'plugins/plugin_string_stream.cc',
'plugins/plugin_stream_url.cc',
]
for file in remove_files:
input_files.remove(file)
if env['PLATFORM'] == 'win32':
# TODO(port): These extra files aren't win32-specific, they've just not been
# tested on other platforms yet.
input_files.extend([
'$PENDING_DIR/AccessibleBase.cpp',
'$PENDING_DIR/AccessibleDocument.cpp',
'glue_accessibility.cc',
'plugins/mozilla_extensions.cc',
'plugins/plugin_lib.cc',
'plugins/plugin_list.cc',
'plugins/plugin_stream.cc',
'plugins/webplugin_delegate_impl.cc',
'webdropdata.cc',
])
if env['PLATFORM'] == 'win32':
input_files.extend([
'webinputevent_win.cc',
'webkit_glue_win.cc',
[)
elif env['PLATFORM'] == 'posix':
input_files.append('webinputevent_linux.cc')
env.ChromeStaticLibrary('glue', input_files)
|