1 # Copyright (c) 2012 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.
11 'target_name': 'webkit_support',
12 'type': 'static_library',
13 'variables': { 'enable_wexit_time_destructors': 1, },
15 '<(DEPTH)/base/base.gyp:base',
16 '<(DEPTH)/base/base.gyp:base_i18n',
17 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
18 '<(DEPTH)/cc/cc.gyp:cc',
19 '<(DEPTH)/media/media.gyp:media',
20 '<(DEPTH)/net/net.gyp:net',
21 '<(DEPTH)/skia/skia.gyp:skia',
22 '<(DEPTH)/testing/gtest.gyp:gtest',
23 '<(DEPTH)/third_party/hyphen/hyphen.gyp:hyphen',
24 '<(DEPTH)/ui/gl/gl.gyp:gl',
25 '<(DEPTH)/ui/ui.gyp:shell_dialogs',
26 '<(DEPTH)/ui/ui.gyp:ui',
27 '<(DEPTH)/webkit/compositor_bindings/compositor_bindings.gyp:webkit_compositor_bindings',
28 '<(DEPTH)/webkit/gpu/webkit_gpu.gyp:webkit_gpu',
34 'webkit_support_common',
37 '<(SHARED_INTERMEDIATE_DIR)/webkit', # for a header generated by grit
40 # Technically not a unit test but require functions available only to
45 'drt_application_mac.h',
46 'drt_application_mac.mm',
50 'platform_support_android.cc',
51 'platform_support_linux.cc',
52 'platform_support_mac.mm',
53 'platform_support_win.cc',
54 'test_media_stream_client.cc',
55 'test_media_stream_client.h',
56 'test_stream_texture_factory_android.cc',
57 'test_stream_texture_factory_android.h',
58 'test_webkit_platform_support.cc',
59 'test_webkit_platform_support.h',
60 'test_webidbfactory.cc',
61 'test_webidbfactory.h',
62 'test_webmessageportchannel.cc',
63 'test_webmessageportchannel.h',
64 'test_webplugin_page_delegate.cc',
65 'test_webplugin_page_delegate.h',
68 'webkit_support_glue.cc',
69 'weburl_loader_mock.cc',
70 'weburl_loader_mock.h',
71 'weburl_loader_mock_factory.cc',
72 'weburl_loader_mock_factory.h',
73 'web_audio_device_mock.cc',
74 'web_audio_device_mock.h',
75 'web_gesture_curve_mock.cc',
76 'web_gesture_curve_mock.h',
81 'destination': '<(SHARED_INTERMEDIATE_DIR)/webkit',
83 '../tools/test_shell/resources/missingImage.png',
84 '../tools/test_shell/resources/textAreaResizeCorner.png',
89 'destination': '<(PRODUCT_DIR)/DumpRenderTree_resources',
91 '../tools/test_shell/resources/missingImage.gif',
92 '../tools/test_shell/resources/textAreaResizeCorner.png',
97 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
98 'msvs_disabled_warnings': [ 4267, ],
102 'target_name': 'webkit_support_common',
103 'type': 'static_library',
104 'variables': { 'enable_wexit_time_destructors': 1, },
106 '<(DEPTH)/base/base.gyp:base',
107 '<(DEPTH)/crypto/crypto.gyp:crypto',
108 '<(DEPTH)/net/net.gyp:net',
109 '<(DEPTH)/skia/skia.gyp:skia',
110 '<(DEPTH)/third_party/zlib/zlib.gyp:zlib',
111 '<(DEPTH)/ui/ui.gyp:ui',
114 'webkit_support_gfx',
116 'export_dependent_settings': [
117 '<(DEPTH)/base/base.gyp:base',
120 '<(DEPTH)/webkit/tools/test_shell/mac/DumpRenderTreePasteboard.h',
121 '<(DEPTH)/webkit/tools/test_shell/mac/DumpRenderTreePasteboard.m',
122 '<(DEPTH)/webkit/tools/test_shell/mock_webclipboard_impl.cc',
123 '<(DEPTH)/webkit/tools/test_shell/mock_webclipboard_impl.h',
124 '<(DEPTH)/webkit/tools/test_shell/simple_appcache_system.cc',
125 '<(DEPTH)/webkit/tools/test_shell/simple_appcache_system.h',
126 '<(DEPTH)/webkit/tools/test_shell/simple_clipboard_impl.cc',
127 '<(DEPTH)/webkit/tools/test_shell/simple_dom_storage_system.cc',
128 '<(DEPTH)/webkit/tools/test_shell/simple_dom_storage_system.h',
129 '<(DEPTH)/webkit/tools/test_shell/simple_file_system.cc',
130 '<(DEPTH)/webkit/tools/test_shell/simple_file_system.h',
131 '<(DEPTH)/webkit/tools/test_shell/simple_file_writer.cc',
132 '<(DEPTH)/webkit/tools/test_shell/simple_file_writer.h',
133 '<(DEPTH)/webkit/tools/test_shell/simple_resource_loader_bridge.cc',
134 '<(DEPTH)/webkit/tools/test_shell/simple_resource_loader_bridge.h',
135 '<(DEPTH)/webkit/tools/test_shell/simple_socket_stream_bridge.cc',
136 '<(DEPTH)/webkit/tools/test_shell/simple_socket_stream_bridge.h',
137 '<(DEPTH)/webkit/tools/test_shell/simple_webcookiejar_impl.cc',
138 '<(DEPTH)/webkit/tools/test_shell/simple_webcookiejar_impl.h',
139 '<(DEPTH)/webkit/tools/test_shell/test_shell_request_context.cc',
140 '<(DEPTH)/webkit/tools/test_shell/test_shell_request_context.h',
141 '<(DEPTH)/webkit/tools/test_shell/test_shell_webblobregistry_impl.cc',
142 '<(DEPTH)/webkit/tools/test_shell/test_shell_webblobregistry_impl.h',
143 '<(DEPTH)/webkit/tools/test_shell/test_shell_webmimeregistry_impl.cc',
144 '<(DEPTH)/webkit/tools/test_shell/test_shell_webmimeregistry_impl.h',
145 '<(DEPTH)/webkit/fileapi/mock_file_system_context.cc',
146 '<(DEPTH)/webkit/fileapi/mock_file_system_context.h',
147 '<(DEPTH)/webkit/fileapi/mock_file_system_options.cc',
148 '<(DEPTH)/webkit/fileapi/mock_file_system_options.h',
149 '<(DEPTH)/webkit/mocks/mock_webhyphenator.cc',
150 '<(DEPTH)/webkit/mocks/mock_webhyphenator.h',
151 '<(DEPTH)/webkit/mocks/test_media_stream_client.cc',
152 '<(DEPTH)/webkit/mocks/test_media_stream_client.h',
153 '<(DEPTH)/webkit/quota/mock_special_storage_policy.cc',
154 '<(DEPTH)/webkit/quota/mock_special_storage_policy.h',
155 'simple_database_system.cc',
156 'simple_database_system.h',
159 ['inside_chromium_build==0', {
161 'setup_third_party.gyp:third_party_headers',
165 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
166 'msvs_disabled_warnings': [ 4267, ],
170 'target_name': 'webkit_support_gfx',
171 'type': 'static_library',
172 'variables': { 'enable_wexit_time_destructors': 1, },
174 '<(DEPTH)/third_party/libpng/libpng.gyp:libpng',
175 '<(DEPTH)/third_party/zlib/zlib.gyp:zlib',
178 'webkit_support_gfx.h',
179 'webkit_support_gfx.cc',
186 'toolsets': ['target', 'host'],