OLD | NEW |
---|---|
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'test_support_content', | 8 'target_name': 'test_support_content', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'defines!': ['CONTENT_IMPLEMENTATION'], | 10 'defines!': ['CONTENT_IMPLEMENTATION'], |
11 'dependencies': [ | 11 'dependencies': [ |
12 '../net/net.gyp:net_test_support', | 12 '../net/net.gyp:net_test_support', |
13 '../skia/skia.gyp:skia', | 13 '../skia/skia.gyp:skia', |
14 '../testing/gmock.gyp:gmock', | 14 '../testing/gmock.gyp:gmock', |
15 '../testing/gtest.gyp:gtest', | 15 '../testing/gtest.gyp:gtest', |
16 '../ui/ui.gyp:ui', | |
16 '../ui/ui.gyp:ui_resources', | 17 '../ui/ui.gyp:ui_resources', |
17 '../ui/ui.gyp:ui_test_support', | 18 '../ui/ui.gyp:ui_test_support', |
18 '../url/url.gyp:url_lib', | 19 '../url/url.gyp:url_lib', |
19 'content_app_both', | 20 'content_app_both', |
20 'content_browser', | 21 'content_browser', |
21 'content_common', | 22 'content_common', |
22 ], | 23 ], |
23 'include_dirs': [ | 24 'include_dirs': [ |
24 '..', | 25 '..', |
25 ], | 26 ], |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
107 'gpu/gpu_idirect3d9_mock_win.h', | 108 'gpu/gpu_idirect3d9_mock_win.h', |
108 'test/content_test_suite.cc', | 109 'test/content_test_suite.cc', |
109 'test/content_test_suite.h', | 110 'test/content_test_suite.h', |
110 'test/layouttest_support.cc', | 111 'test/layouttest_support.cc', |
111 'test/mock_keyboard.cc', | 112 'test/mock_keyboard.cc', |
112 'test/mock_keyboard.h', | 113 'test/mock_keyboard.h', |
113 'test/mock_keyboard_driver_win.cc', | 114 'test/mock_keyboard_driver_win.cc', |
114 'test/mock_keyboard_driver_win.h', | 115 'test/mock_keyboard_driver_win.h', |
115 'test/mock_render_process.cc', | 116 'test/mock_render_process.cc', |
116 'test/mock_render_process.h', | 117 'test/mock_render_process.h', |
118 'test/mock_webclipboard_impl.cc', | |
119 'test/mock_webclipboard_impl.h', | |
120 'test/net/url_request_abort_on_end_job.cc', | |
121 'test/net/url_request_abort_on_end_job.h', | |
117 'test/net/url_request_failed_job.cc', | 122 'test/net/url_request_failed_job.cc', |
118 'test/net/url_request_failed_job.h', | 123 'test/net/url_request_failed_job.h', |
119 'test/net/url_request_mock_http_job.cc', | 124 'test/net/url_request_mock_http_job.cc', |
120 'test/net/url_request_mock_http_job.h', | 125 'test/net/url_request_mock_http_job.h', |
121 'test/net/url_request_prepackaged_interceptor.cc', | 126 'test/net/url_request_prepackaged_interceptor.cc', |
122 'test/net/url_request_prepackaged_interceptor.h', | 127 'test/net/url_request_prepackaged_interceptor.h', |
123 'test/net/url_request_slow_download_job.cc', | 128 'test/net/url_request_slow_download_job.cc', |
124 'test/net/url_request_slow_download_job.h', | 129 'test/net/url_request_slow_download_job.h', |
125 'test/net/url_request_abort_on_end_job.cc', | |
126 'test/net/url_request_abort_on_end_job.h', | |
127 'test/ppapi_unittest.cc', | 130 'test/ppapi_unittest.cc', |
128 'test/ppapi_unittest.h', | 131 'test/ppapi_unittest.h', |
129 'test/test_content_browser_client.cc', | 132 'test/test_content_browser_client.cc', |
130 'test/test_content_browser_client.h', | 133 'test/test_content_browser_client.h', |
131 'test/test_content_client.cc', | 134 'test/test_content_client.cc', |
132 'test/test_content_client.h', | 135 'test/test_content_client.h', |
133 'test/test_media_stream_client.cc', | 136 'test/test_media_stream_client.cc', |
134 'test/test_media_stream_client.h', | 137 'test/test_media_stream_client.h', |
135 'test/test_render_view_host_factory.cc', | 138 'test/test_render_view_host_factory.cc', |
136 'test/test_render_view_host_factory.h', | 139 'test/test_render_view_host_factory.h', |
137 'test/test_video_frame_provider.cc', | 140 'test/test_video_frame_provider.cc', |
138 'test/test_video_frame_provider.h', | 141 'test/test_video_frame_provider.h', |
139 'test/test_web_contents.cc', | 142 'test/test_web_contents.cc', |
140 'test/test_web_contents.h', | 143 'test/test_web_contents.h', |
141 'test/test_web_contents_view.cc', | 144 'test/test_web_contents_view.cc', |
142 'test/test_web_contents_view.h', | 145 'test/test_web_contents_view.h', |
146 'test/test_webkit_platform_support.cc', | |
147 'test/test_webkit_platform_support.h', | |
148 'test/web_gesture_curve_mock.cc', | |
149 'test/web_gesture_curve_mock.h', | |
150 'test/web_layer_tree_view_impl_for_testing.cc', | |
151 'test/web_layer_tree_view_impl_for_testing.h', | |
152 'test/webkit_support.cc', | |
153 'test/webkit_support.h', | |
154 'test/webkit_support_glue.cc', | |
155 'test/weburl_loader_mock.cc', | |
156 'test/weburl_loader_mock.h', | |
157 'test/weburl_loader_mock_factory.cc', | |
158 'test/weburl_loader_mock_factory.h', | |
143 | 159 |
144 # TODO(phajdan.jr): Those files should be moved to webkit | 160 # TODO(phajdan.jr): Those files should be moved to webkit |
145 # test support target. | 161 # test support target. |
146 '../webkit/browser/appcache/appcache_test_helper.cc', | 162 '../webkit/browser/appcache/appcache_test_helper.cc', |
147 '../webkit/browser/appcache/appcache_test_helper.h', | 163 '../webkit/browser/appcache/appcache_test_helper.h', |
148 ], | 164 ], |
149 'conditions': [ | 165 'conditions': [ |
166 ['OS=="mac"', { | |
167 'copies': [{ | |
168 'destination': '<(SHARED_INTERMEDIATE_DIR)/webkit', | |
169 'files': [ | |
170 '../webkit/tools/test_shell/resources/missingImage.png', | |
171 '../webkit/tools/test_shell/resources/textAreaResizeCorner.png', | |
172 ], | |
173 }], | |
174 },{ # OS!="mac" | |
stuartmorgan
2013/09/11 14:41:29
Ideally this step shouldn't be done on iOS, since
| |
175 'copies': [{ | |
176 'destination': '<(PRODUCT_DIR)/DumpRenderTree_resources', | |
177 'files': [ | |
178 '../webkit/tools/test_shell/resources/missingImage.gif', | |
179 '../webkit/tools/test_shell/resources/textAreaResizeCorner.png', | |
stuartmorgan
2013/09/11 14:41:29
Consider a variable for this array, rather than du
tfarina
2013/09/11 21:51:56
not sure how this improves anything.
| |
180 ], | |
181 }], | |
182 }], | |
150 ['OS == "ios"', { | 183 ['OS == "ios"', { |
151 'sources/': [ | 184 'sources/': [ |
152 # iOS only needs a small portion of content; exclude all the | 185 # iOS only needs a small portion of content; exclude all the |
153 # implementation, and re-include what is used. | 186 # implementation, and re-include what is used. |
154 ['exclude', '\\.(cc|mm)$'], | 187 ['exclude', '\\.(cc|mm)$'], |
155 ['include', '_ios\\.(cc|mm)$'], | 188 ['include', '_ios\\.(cc|mm)$'], |
156 ['include', '^public/test/content_test_suite_base\\.cc$'], | 189 ['include', '^public/test/content_test_suite_base\\.cc$'], |
157 ['include', '^public/test/mock_notification_observer\\.cc$'], | 190 ['include', '^public/test/mock_notification_observer\\.cc$'], |
158 ['include', '^public/test/mock_resource_context\\.cc$'], | 191 ['include', '^public/test/mock_resource_context\\.cc$'], |
159 ['include', '^public/test/test_browser_thread\\.cc$'], | 192 ['include', '^public/test/test_browser_thread\\.cc$'], |
(...skipping 15 matching lines...) Expand all Loading... | |
175 'content_worker', | 208 'content_worker', |
176 '../media/media.gyp:media', | 209 '../media/media.gyp:media', |
177 '../ppapi/ppapi_internal.gyp:ppapi_host', | 210 '../ppapi/ppapi_internal.gyp:ppapi_host', |
178 '../ppapi/ppapi_internal.gyp:ppapi_proxy', | 211 '../ppapi/ppapi_internal.gyp:ppapi_proxy', |
179 '../ppapi/ppapi_internal.gyp:ppapi_shared', | 212 '../ppapi/ppapi_internal.gyp:ppapi_shared', |
180 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared', | 213 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared', |
181 '../third_party/WebKit/public/blink.gyp:blink', | 214 '../third_party/WebKit/public/blink.gyp:blink', |
182 '../third_party/WebKit/public/blink_test_runner.gyp:blink_test_runne r', | 215 '../third_party/WebKit/public/blink_test_runner.gyp:blink_test_runne r', |
183 '../ui/surface/surface.gyp:surface', | 216 '../ui/surface/surface.gyp:surface', |
184 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu', | 217 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu', |
218 '../webkit/common/user_agent/webkit_user_agent.gyp:user_agent', | |
185 '../webkit/renderer/compositor_bindings/compositor_bindings.gyp:webk it_compositor_support', | 219 '../webkit/renderer/compositor_bindings/compositor_bindings.gyp:webk it_compositor_support', |
186 '../webkit/support/webkit_support.gyp:webkit_support_common', | 220 '../webkit/renderer/webkit_renderer.gyp:webkit_renderer', |
187 '../webkit/storage_browser.gyp:webkit_storage_browser', | 221 '../webkit/storage_browser.gyp:webkit_storage_browser', |
188 '../webkit/storage_common.gyp:webkit_storage_common', | 222 '../webkit/storage_common.gyp:webkit_storage_common', |
223 '../webkit/support/webkit_support.gyp:glue', | |
224 '../webkit/support/webkit_support.gyp:glue_child', | |
189 ], | 225 ], |
190 }], | 226 }], |
191 ['OS == "win" or toolkit_uses_gtk == 1', { | 227 ['OS == "win" or toolkit_uses_gtk == 1', { |
192 'dependencies': [ | 228 'dependencies': [ |
193 '../sandbox/sandbox.gyp:sandbox', | 229 '../sandbox/sandbox.gyp:sandbox', |
194 ], | 230 ], |
195 }], | 231 }], |
196 ['enable_webrtc==1', { | 232 ['enable_webrtc==1', { |
197 'sources': [ | 233 'sources': [ |
198 'renderer/media/mock_media_stream_dependency_factory.cc', | 234 'renderer/media/mock_media_stream_dependency_factory.cc', |
(...skipping 853 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1052 '..', | 1088 '..', |
1053 ], | 1089 ], |
1054 'sources': [ | 1090 'sources': [ |
1055 'common/gpu/client/gl_helper_benchmark.cc', | 1091 'common/gpu/client/gl_helper_benchmark.cc', |
1056 ], | 1092 ], |
1057 }, | 1093 }, |
1058 { | 1094 { |
1059 'target_name': 'content_webkit_unit_test_support', | 1095 'target_name': 'content_webkit_unit_test_support', |
1060 'type': 'static_library', | 1096 'type': 'static_library', |
1061 'dependencies': [ | 1097 'dependencies': [ |
1062 '../webkit/support/webkit_support.gyp:webkit_support', | 1098 'test_support_content', |
1063 ], | 1099 ], |
1064 'include_dirs': [ | 1100 'include_dirs': [ |
1065 '..', | 1101 '..', |
1066 ], | 1102 ], |
1067 'sources': [ | 1103 'sources': [ |
1068 'test/webkit_unit_test_support.cc', | 1104 'test/webkit_unit_test_support.cc', |
1069 'test/webkit_unit_test_support.h', | 1105 'test/webkit_unit_test_support.h', |
1070 ], | 1106 ], |
1071 }, | 1107 }, |
1072 ], | 1108 ], |
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1422 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'], | 1458 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'], |
1423 }, | 1459 }, |
1424 ], | 1460 ], |
1425 }], | 1461 }], |
1426 ], | 1462 ], |
1427 }, | 1463 }, |
1428 ], | 1464 ], |
1429 }], | 1465 }], |
1430 ], | 1466 ], |
1431 } | 1467 } |
OLD | NEW |