Add signalSyncPoint to the WebGraphicsContext3D command buffer impls.
[chromium-blink-merge.git] / webkit / support / webkit_support.gypi
blobea784ac58a7df92f48bbc6969cb7f17f8ceae30d
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.
6   'variables': {
7     'chromium_code': 1,
8   },
9   'targets': [
10     {
11       'target_name': 'webkit_support',
12       'type': 'static_library',
13       'variables': { 'enable_wexit_time_destructors': 1, },
14       'dependencies': [
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',
29         'glue',
30         'user_agent',
31         'webkit_base',
32         'webkit_media',
33         'webkit_storage',
34         'webkit_support_common',
35       ],
36       'include_dirs': [
37         '<(SHARED_INTERMEDIATE_DIR)/webkit', # for a header generated by grit
38       ],
39       'defines': [
40         # Technically not a unit test but require functions available only to
41         # unit tests.
42         'UNIT_TEST'
43       ],
44       'sources': [
45         'drt_application_mac.h',
46         'drt_application_mac.mm',
47         'gc_extension.cc',
48         'gc_extension.h',
49         'platform_support.h',
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',
66         'webkit_support.cc',
67         'webkit_support.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',
77       ],
78       'conditions': [
79         ['OS=="mac"', {
80           'copies': [{
81             'destination': '<(SHARED_INTERMEDIATE_DIR)/webkit',
82             'files': [
83               '../tools/test_shell/resources/missingImage.png',
84               '../tools/test_shell/resources/textAreaResizeCorner.png',
85             ],
86           }],
87         },{ # OS!="mac"
88           'copies': [{
89             'destination': '<(PRODUCT_DIR)/DumpRenderTree_resources',
90             'files': [
91               '../tools/test_shell/resources/missingImage.gif',
92               '../tools/test_shell/resources/textAreaResizeCorner.png',
93             ],
94           }],
95         }],
96       ],
97       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
98       'msvs_disabled_warnings': [ 4267, ],
99     },
101     {
102       'target_name': 'webkit_support_common',
103       'type': 'static_library',
104       'variables': { 'enable_wexit_time_destructors': 1, },
105       'dependencies': [
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',
112         'glue',
113         'user_agent',
114         'webkit_support_gfx',
115       ],
116       'export_dependent_settings': [
117         '<(DEPTH)/base/base.gyp:base',
118       ],
119       'sources': [
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',
157       ],
158       'conditions': [
159         ['inside_chromium_build==0', {
160           'dependencies': [
161             'setup_third_party.gyp:third_party_headers',
162           ],
163         }],
164       ],
165       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
166       'msvs_disabled_warnings': [ 4267, ],
167     },
169     {
170       'target_name': 'webkit_support_gfx',
171       'type': 'static_library',
172       'variables': { 'enable_wexit_time_destructors': 1, },
173       'dependencies': [
174         '<(DEPTH)/third_party/libpng/libpng.gyp:libpng',
175         '<(DEPTH)/third_party/zlib/zlib.gyp:zlib',
176       ],
177       'sources': [
178         'webkit_support_gfx.h',
179         'webkit_support_gfx.cc',
180       ],
181       'include_dirs': [
182         '<(DEPTH)',
183       ],
184       'conditions': [
185           ['OS=="android"', {
186               'toolsets': ['target', 'host'],
187           }],
188       ],
189     },
190   ],