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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
|
# Copyright (c) 2011 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.
{
'variables': {
'chromium_code': 1,
},
'targets': [
{
'target_name': 'webkit_support',
'type': 'static_library',
'variables': { 'enable_wexit_time_destructors': 1, },
'dependencies': [
'<(DEPTH)/base/base.gyp:base',
'<(DEPTH)/media/media.gyp:media',
'<(DEPTH)/net/net.gyp:net',
'<(DEPTH)/skia/skia.gyp:skia',
'<(DEPTH)/testing/gtest.gyp:gtest',
'<(DEPTH)/ui/ui.gyp:ui',
'appcache',
'blob',
'database',
'fileapi',
'glue',
'webkit_gpu',
'webkit_media',
'webkit_support_common',
'webkit_user_agent',
],
'include_dirs': [
'<(SHARED_INTERMEDIATE_DIR)/webkit', # for a header generated by grit
],
'defines': [
# Technically not a unit test but require functions available only to
# unit tests.
'UNIT_TEST'
],
'sources': [
'drt_application_mac.h',
'drt_application_mac.mm',
'platform_support.h',
'platform_support_android.cc',
'platform_support_linux.cc',
'platform_support_mac.mm',
'platform_support_win.cc',
'test_media_stream_client.cc',
'test_media_stream_client.h',
'test_webkit_platform_support.cc',
'test_webkit_platform_support.h',
'test_webmessageportchannel.cc',
'test_webmessageportchannel.h',
'test_webplugin_page_delegate.cc',
'test_webplugin_page_delegate.h',
'webkit_support.cc',
'webkit_support.h',
'webkit_support_glue.cc',
'weburl_loader_mock.cc',
'weburl_loader_mock.h',
'weburl_loader_mock_factory.cc',
'weburl_loader_mock_factory.h',
'web_audio_device_mock.cc',
'web_audio_device_mock.h',
],
'conditions': [
['OS=="mac"', {
'copies': [{
'destination': '<(SHARED_INTERMEDIATE_DIR)/webkit',
'files': ['../tools/test_shell/resources/textAreaResizeCorner.png'],
}],
},{ # OS!="mac"
'copies': [{
'destination': '<(PRODUCT_DIR)/DumpRenderTree_resources',
'files': [
'../tools/test_shell/resources/missingImage.gif',
'../tools/test_shell/resources/textAreaResizeCorner.png',
],
}],
}],
],
},
{
'target_name': 'webkit_support_common',
'type': 'static_library',
'variables': { 'enable_wexit_time_destructors': 1, },
'dependencies': [
'<(DEPTH)/base/base.gyp:base',
'<(DEPTH)/crypto/crypto.gyp:crypto',
'<(DEPTH)/net/net.gyp:net',
'<(DEPTH)/skia/skia.gyp:skia',
'<(DEPTH)/ui/ui.gyp:ui',
'glue',
'webkit_support_gfx',
],
'export_dependent_settings': [
'<(DEPTH)/base/base.gyp:base',
],
'sources': [
'<(DEPTH)/webkit/tools/test_shell/mac/DumpRenderTreePasteboard.h',
'<(DEPTH)/webkit/tools/test_shell/mac/DumpRenderTreePasteboard.m',
'<(DEPTH)/webkit/tools/test_shell/mock_webclipboard_impl.cc',
'<(DEPTH)/webkit/tools/test_shell/mock_webclipboard_impl.h',
'<(DEPTH)/webkit/tools/test_shell/simple_appcache_system.cc',
'<(DEPTH)/webkit/tools/test_shell/simple_appcache_system.h',
'<(DEPTH)/webkit/tools/test_shell/simple_clipboard_impl.cc',
'<(DEPTH)/webkit/tools/test_shell/simple_file_system.cc',
'<(DEPTH)/webkit/tools/test_shell/simple_file_system.h',
'<(DEPTH)/webkit/tools/test_shell/simple_file_writer.cc',
'<(DEPTH)/webkit/tools/test_shell/simple_file_writer.h',
'<(DEPTH)/webkit/tools/test_shell/simple_resource_loader_bridge.cc',
'<(DEPTH)/webkit/tools/test_shell/simple_resource_loader_bridge.h',
'<(DEPTH)/webkit/tools/test_shell/simple_socket_stream_bridge.cc',
'<(DEPTH)/webkit/tools/test_shell/simple_socket_stream_bridge.h',
'<(DEPTH)/webkit/tools/test_shell/simple_webcookiejar_impl.cc',
'<(DEPTH)/webkit/tools/test_shell/simple_webcookiejar_impl.h',
'<(DEPTH)/webkit/tools/test_shell/test_shell_request_context.cc',
'<(DEPTH)/webkit/tools/test_shell/test_shell_request_context.h',
'<(DEPTH)/webkit/tools/test_shell/test_shell_webblobregistry_impl.cc',
'<(DEPTH)/webkit/tools/test_shell/test_shell_webblobregistry_impl.h',
'<(DEPTH)/webkit/tools/test_shell/test_shell_webmimeregistry_impl.cc',
'<(DEPTH)/webkit/tools/test_shell/test_shell_webmimeregistry_impl.h',
'<(DEPTH)/webkit/fileapi/mock_file_system_options.cc',
'<(DEPTH)/webkit/fileapi/mock_file_system_options.h',
'simple_database_system.cc',
'simple_database_system.h',
],
'conditions': [
['inside_chromium_build==0', {
'dependencies': [
'setup_third_party.gyp:third_party_headers',
],
}],
],
},
{
'target_name': 'webkit_support_gfx',
'type': 'static_library',
'variables': { 'enable_wexit_time_destructors': 1, },
'dependencies': [
'<(DEPTH)/third_party/libpng/libpng.gyp:libpng',
],
'sources': [
'webkit_support_gfx.h',
'webkit_support_gfx.cc',
],
'include_dirs': [
'<(DEPTH)',
],
'conditions': [
['OS=="android"', {
'toolsets': ['target', 'host'],
}],
],
},
],
}
|