Chromium Code Reviews| 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 ], |
| 165 'variables': { | |
| 166 'test_shell_images_mac': [ | |
| 167 '../webkit/tools/test_shell/resources/missingImage.png', | |
| 168 '../webkit/tools/test_shell/resources/textAreaResizeCorner.png', | |
| 169 ], | |
| 170 'test_shell_images': [ | |
| 171 '../webkit/tools/test_shell/resources/missingImage.gif', | |
|
stuartmorgan
2013/09/13 00:15:55
Sorry, I missed the png/gif difference on this fil
tfarina
2013/09/13 03:18:01
Done.
| |
| 172 '../webkit/tools/test_shell/resources/textAreaResizeCorner.png', | |
| 173 ], | |
| 174 }, | |
| 149 'conditions': [ | 175 'conditions': [ |
| 176 ['OS=="mac"', { | |
| 177 'copies': [{ | |
| 178 'destination': '<(SHARED_INTERMEDIATE_DIR)/webkit', | |
| 179 'files': [ | |
| 180 '<@(test_shell_images_mac)', | |
| 181 ], | |
| 182 }], | |
| 183 }], | |
| 150 ['OS == "ios"', { | 184 ['OS == "ios"', { |
| 151 'sources/': [ | 185 'sources/': [ |
| 152 # iOS only needs a small portion of content; exclude all the | 186 # iOS only needs a small portion of content; exclude all the |
| 153 # implementation, and re-include what is used. | 187 # implementation, and re-include what is used. |
| 154 ['exclude', '\\.(cc|mm)$'], | 188 ['exclude', '\\.(cc|mm)$'], |
| 155 ['include', '_ios\\.(cc|mm)$'], | 189 ['include', '_ios\\.(cc|mm)$'], |
| 156 ['include', '^public/test/content_test_suite_base\\.cc$'], | 190 ['include', '^public/test/content_test_suite_base\\.cc$'], |
| 157 ['include', '^public/test/mock_notification_observer\\.cc$'], | 191 ['include', '^public/test/mock_notification_observer\\.cc$'], |
| 158 ['include', '^public/test/mock_resource_context\\.cc$'], | 192 ['include', '^public/test/mock_resource_context\\.cc$'], |
| 159 ['include', '^public/test/test_browser_thread\\.cc$'], | 193 ['include', '^public/test/test_browser_thread\\.cc$'], |
| 160 ['include', '^public/test/test_content_client_initializer\\.cc$'], | 194 ['include', '^public/test/test_content_client_initializer\\.cc$'], |
| 161 ['include', '^public/test/test_notification_tracker\\.cc$'], | 195 ['include', '^public/test/test_notification_tracker\\.cc$'], |
| 162 ['include', '^public/test/test_utils\\.cc$'], | 196 ['include', '^public/test/test_utils\\.cc$'], |
| 163 ['include', '^public/test/unittest_test_suite\\.cc$'], | 197 ['include', '^public/test/unittest_test_suite\\.cc$'], |
| 164 ['include', '^test/content_test_suite\\.cc$'], | 198 ['include', '^test/content_test_suite\\.cc$'], |
| 165 ['include', '^test/test_content_browser_client\\.cc$'], | 199 ['include', '^test/test_content_browser_client\\.cc$'], |
| 166 ['include', '^test/test_content_client\\.cc$'], | 200 ['include', '^test/test_content_client\\.cc$'], |
| 167 ], | 201 ], |
| 168 }, { # OS != "ios" | 202 }, { # OS != "ios" |
| 203 'copies': [{ | |
| 204 'destination': '<(PRODUCT_DIR)/DumpRenderTree_resources', | |
|
stuartmorgan
2013/09/13 00:15:55
!ios includes Mac; now you're doing this twice on
tfarina
2013/09/13 03:18:01
Done.
| |
| 205 'files': [ | |
| 206 '<@(test_shell_images)', | |
| 207 ], | |
| 208 }], | |
| 169 'dependencies': [ | 209 'dependencies': [ |
| 170 'content_child', | 210 'content_child', |
| 171 'content_gpu', | 211 'content_gpu', |
| 172 'content_ppapi_plugin', | 212 'content_ppapi_plugin', |
| 173 'content_renderer', | 213 'content_renderer', |
| 174 'content_utility', | 214 'content_utility', |
| 175 'content_worker', | 215 'content_worker', |
| 176 '../media/media.gyp:media', | 216 '../media/media.gyp:media', |
| 177 '../ppapi/ppapi_internal.gyp:ppapi_host', | 217 '../ppapi/ppapi_internal.gyp:ppapi_host', |
| 178 '../ppapi/ppapi_internal.gyp:ppapi_proxy', | 218 '../ppapi/ppapi_internal.gyp:ppapi_proxy', |
| 179 '../ppapi/ppapi_internal.gyp:ppapi_shared', | 219 '../ppapi/ppapi_internal.gyp:ppapi_shared', |
| 180 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared', | 220 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared', |
| 181 '../third_party/WebKit/public/blink.gyp:blink', | 221 '../third_party/WebKit/public/blink.gyp:blink', |
| 182 '../third_party/WebKit/public/blink_test_runner.gyp:blink_test_runne r', | 222 '../third_party/WebKit/public/blink_test_runner.gyp:blink_test_runne r', |
| 183 '../ui/surface/surface.gyp:surface', | 223 '../ui/surface/surface.gyp:surface', |
| 184 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu', | 224 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu', |
| 225 '../webkit/common/user_agent/webkit_user_agent.gyp:user_agent', | |
| 185 '../webkit/renderer/compositor_bindings/compositor_bindings.gyp:webk it_compositor_support', | 226 '../webkit/renderer/compositor_bindings/compositor_bindings.gyp:webk it_compositor_support', |
| 186 '../webkit/support/webkit_support.gyp:webkit_support_common', | 227 '../webkit/renderer/webkit_renderer.gyp:webkit_renderer', |
| 187 '../webkit/storage_browser.gyp:webkit_storage_browser', | 228 '../webkit/storage_browser.gyp:webkit_storage_browser', |
| 188 '../webkit/storage_common.gyp:webkit_storage_common', | 229 '../webkit/storage_common.gyp:webkit_storage_common', |
| 230 '../webkit/support/webkit_support.gyp:glue', | |
| 231 '../webkit/support/webkit_support.gyp:glue_child', | |
| 189 ], | 232 ], |
| 190 }], | 233 }], |
| 191 ['OS == "win" or toolkit_uses_gtk == 1', { | 234 ['OS == "win" or toolkit_uses_gtk == 1', { |
| 192 'dependencies': [ | 235 'dependencies': [ |
| 193 '../sandbox/sandbox.gyp:sandbox', | 236 '../sandbox/sandbox.gyp:sandbox', |
| 194 ], | 237 ], |
| 195 }], | 238 }], |
| 196 ['enable_webrtc==1', { | 239 ['enable_webrtc==1', { |
| 197 'sources': [ | 240 'sources': [ |
| 198 'renderer/media/mock_media_stream_dependency_factory.cc', | 241 'renderer/media/mock_media_stream_dependency_factory.cc', |
| (...skipping 853 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1052 '..', | 1095 '..', |
| 1053 ], | 1096 ], |
| 1054 'sources': [ | 1097 'sources': [ |
| 1055 'common/gpu/client/gl_helper_benchmark.cc', | 1098 'common/gpu/client/gl_helper_benchmark.cc', |
| 1056 ], | 1099 ], |
| 1057 }, | 1100 }, |
| 1058 { | 1101 { |
| 1059 'target_name': 'content_webkit_unit_test_support', | 1102 'target_name': 'content_webkit_unit_test_support', |
| 1060 'type': 'static_library', | 1103 'type': 'static_library', |
| 1061 'dependencies': [ | 1104 'dependencies': [ |
| 1062 '../webkit/support/webkit_support.gyp:webkit_support', | 1105 'test_support_content', |
| 1063 ], | 1106 ], |
| 1064 'include_dirs': [ | 1107 'include_dirs': [ |
| 1065 '..', | 1108 '..', |
| 1066 ], | 1109 ], |
| 1067 'sources': [ | 1110 'sources': [ |
| 1068 'test/webkit_unit_test_support.cc', | 1111 'test/webkit_unit_test_support.cc', |
| 1069 'test/webkit_unit_test_support.h', | 1112 'test/webkit_unit_test_support.h', |
| 1070 ], | 1113 ], |
| 1071 }, | 1114 }, |
| 1072 ], | 1115 ], |
| (...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1422 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'], | 1465 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'], |
| 1423 }, | 1466 }, |
| 1424 ], | 1467 ], |
| 1425 }], | 1468 }], |
| 1426 ], | 1469 ], |
| 1427 }, | 1470 }, |
| 1428 ], | 1471 ], |
| 1429 }], | 1472 }], |
| 1430 ], | 1473 ], |
| 1431 } | 1474 } |
| OLD | NEW |