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)/ui/gl/gl.gyp:gl',
24 '<(DEPTH)/ui/ui.gyp:shell_dialogs',
25 '<(DEPTH)/ui/ui.gyp:ui',
26 '<(DEPTH)/webkit/common/gpu/webkit_gpu.gyp:webkit_gpu',
27 '<(DEPTH)/webkit/common/user_agent/webkit_user_agent.gyp:user_agent',
28 '<(DEPTH)/webkit/common/webkit_common.gyp:webkit_common',
29 '<(DEPTH)/webkit/renderer/compositor_bindings/compositor_bindings.gyp:webkit_compositor_bindings',
30 '<(DEPTH)/webkit/renderer/compositor_bindings/compositor_bindings.gyp:webkit_compositor_support',
31 '<(DEPTH)/webkit/renderer/webkit_renderer.gyp:webkit_renderer',
32 '<(DEPTH)/webkit/storage_browser.gyp:webkit_storage_browser',
33 '<(DEPTH)/webkit/storage_common.gyp:webkit_storage_common',
34 '<(DEPTH)/webkit/storage_renderer.gyp:webkit_storage_renderer',
38 'webkit_support_common',
41 '<(SHARED_INTERMEDIATE_DIR)/webkit', # for a header generated by grit
44 # Technically not a unit test but require functions available only to
49 'drt_application_mac.h',
50 'drt_application_mac.mm',
54 'platform_support_android.cc',
55 'platform_support_linux.cc',
56 'platform_support_mac.mm',
57 'platform_support_win.cc',
58 'test_webkit_platform_support.cc',
59 'test_webkit_platform_support.h',
60 'test_webmessageportchannel.cc',
61 'test_webmessageportchannel.h',
64 'webkit_support_glue.cc',
65 'weburl_loader_mock.cc',
66 'weburl_loader_mock.h',
67 'weburl_loader_mock_factory.cc',
68 'weburl_loader_mock_factory.h',
69 'web_audio_device_mock.cc',
70 'web_audio_device_mock.h',
71 'web_gesture_curve_mock.cc',
72 'web_gesture_curve_mock.h',
73 'web_layer_tree_view_impl_for_testing.cc',
74 'web_layer_tree_view_impl_for_testing.h',
79 'destination': '<(SHARED_INTERMEDIATE_DIR)/webkit',
81 '../tools/test_shell/resources/missingImage.png',
82 '../tools/test_shell/resources/textAreaResizeCorner.png',
87 'destination': '<(PRODUCT_DIR)/DumpRenderTree_resources',
89 '../tools/test_shell/resources/missingImage.gif',
90 '../tools/test_shell/resources/textAreaResizeCorner.png',
95 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
96 'msvs_disabled_warnings': [ 4267, ],
100 'target_name': 'webkit_support_common',
101 'type': 'static_library',
102 'variables': { 'enable_wexit_time_destructors': 1, },
104 '<(DEPTH)/base/base.gyp:base',
105 '<(DEPTH)/crypto/crypto.gyp:crypto',
106 '<(DEPTH)/net/net.gyp:net',
107 '<(DEPTH)/skia/skia.gyp:skia',
108 '<(DEPTH)/third_party/zlib/zlib.gyp:zlib',
109 '<(DEPTH)/ui/ui.gyp:ui',
110 '<(DEPTH)/webkit/common/user_agent/webkit_user_agent.gyp:user_agent',
111 '<(DEPTH)/webkit/renderer/webkit_renderer.gyp:webkit_renderer',
113 'webkit_support_gfx',
115 'export_dependent_settings': [
116 '<(DEPTH)/base/base.gyp:base',
119 '<(DEPTH)/webkit/browser/fileapi/mock_file_system_context.cc',
120 '<(DEPTH)/webkit/browser/fileapi/mock_file_system_context.h',
121 '<(DEPTH)/webkit/browser/fileapi/mock_file_system_options.cc',
122 '<(DEPTH)/webkit/browser/fileapi/mock_file_system_options.h',
123 '<(DEPTH)/webkit/browser/quota/mock_special_storage_policy.cc',
124 '<(DEPTH)/webkit/browser/quota/mock_special_storage_policy.h',
125 '<(DEPTH)/webkit/support/mac/DumpRenderTreePasteboard.h',
126 '<(DEPTH)/webkit/support/mac/DumpRenderTreePasteboard.m',
127 '<(DEPTH)/webkit/support/mock_webclipboard_impl.cc',
128 '<(DEPTH)/webkit/support/mock_webclipboard_impl.h',
129 '<(DEPTH)/webkit/support/test_shell_webblobregistry_impl.cc',
130 '<(DEPTH)/webkit/support/test_shell_webblobregistry_impl.h',
132 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
133 'msvs_disabled_warnings': [ 4267, ],
137 'target_name': 'webkit_support_gfx',
138 'type': 'static_library',
139 'variables': { 'enable_wexit_time_destructors': 1, },
141 '<(DEPTH)/third_party/libpng/libpng.gyp:libpng',
142 '<(DEPTH)/third_party/zlib/zlib.gyp:zlib',
145 'webkit_support_gfx.h',
146 'webkit_support_gfx.cc',
153 'toolsets': ['target', 'host'],