Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(592)

Side by Side Diff: content/content_tests.gypi

Issue 23526028: Move source files from webkit/support to content/test (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/content_shell.gypi ('k') | content/shell/browser/shell_browser_main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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': [
150 ['OS == "ios"', { 166 ['OS == "ios"', {
151 'sources/': [ 167 'sources/': [
152 # iOS only needs a small portion of content; exclude all the 168 # iOS only needs a small portion of content; exclude all the
153 # implementation, and re-include what is used. 169 # implementation, and re-include what is used.
154 ['exclude', '\\.(cc|mm)$'], 170 ['exclude', '\\.(cc|mm)$'],
155 ['include', '_ios\\.(cc|mm)$'], 171 ['include', '_ios\\.(cc|mm)$'],
156 ['include', '^public/test/content_test_suite_base\\.cc$'], 172 ['include', '^public/test/content_test_suite_base\\.cc$'],
157 ['include', '^public/test/mock_notification_observer\\.cc$'], 173 ['include', '^public/test/mock_notification_observer\\.cc$'],
158 ['include', '^public/test/mock_resource_context\\.cc$'], 174 ['include', '^public/test/mock_resource_context\\.cc$'],
159 ['include', '^public/test/test_browser_thread\\.cc$'], 175 ['include', '^public/test/test_browser_thread\\.cc$'],
160 ['include', '^public/test/test_content_client_initializer\\.cc$'], 176 ['include', '^public/test/test_content_client_initializer\\.cc$'],
161 ['include', '^public/test/test_notification_tracker\\.cc$'], 177 ['include', '^public/test/test_notification_tracker\\.cc$'],
162 ['include', '^public/test/test_utils\\.cc$'], 178 ['include', '^public/test/test_utils\\.cc$'],
163 ['include', '^public/test/unittest_test_suite\\.cc$'], 179 ['include', '^public/test/unittest_test_suite\\.cc$'],
164 ['include', '^test/content_test_suite\\.cc$'], 180 ['include', '^test/content_test_suite\\.cc$'],
165 ['include', '^test/test_content_browser_client\\.cc$'], 181 ['include', '^test/test_content_browser_client\\.cc$'],
166 ['include', '^test/test_content_client\\.cc$'], 182 ['include', '^test/test_content_client\\.cc$'],
167 ], 183 ],
168 }, { # OS != "ios" 184 }, { # OS != "ios"
185 'conditions': [
186 ['OS=="mac"', {
187 'copies': [{
188 'destination': '<(SHARED_INTERMEDIATE_DIR)/webkit',
189 'files': [
190 '../webkit/tools/test_shell/resources/missingImage.png',
191 '../webkit/tools/test_shell/resources/textAreaResizeCorner.png ',
192 ],
193 }],
194 }, { # OS!="mac"
195 'copies': [{
196 'destination': '<(PRODUCT_DIR)/DumpRenderTree_resources',
197 'files': [
198 '../webkit/tools/test_shell/resources/missingImage.gif',
199 '../webkit/tools/test_shell/resources/textAreaResizeCorner.png ',
200 ],
201 }],
202 }],
203 ],
169 'dependencies': [ 204 'dependencies': [
170 'content_child', 205 'content_child',
171 'content_gpu', 206 'content_gpu',
172 'content_ppapi_plugin', 207 'content_ppapi_plugin',
173 'content_renderer', 208 'content_renderer',
174 'content_utility', 209 'content_utility',
175 'content_worker', 210 'content_worker',
176 '../media/media.gyp:media', 211 '../media/media.gyp:media',
177 '../ppapi/ppapi_internal.gyp:ppapi_host', 212 '../ppapi/ppapi_internal.gyp:ppapi_host',
178 '../ppapi/ppapi_internal.gyp:ppapi_proxy', 213 '../ppapi/ppapi_internal.gyp:ppapi_proxy',
179 '../ppapi/ppapi_internal.gyp:ppapi_shared', 214 '../ppapi/ppapi_internal.gyp:ppapi_shared',
180 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared', 215 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared',
181 '../third_party/WebKit/public/blink.gyp:blink', 216 '../third_party/WebKit/public/blink.gyp:blink',
182 '../third_party/WebKit/public/blink_test_runner.gyp:blink_test_runne r', 217 '../third_party/WebKit/public/blink_test_runner.gyp:blink_test_runne r',
183 '../ui/surface/surface.gyp:surface', 218 '../ui/surface/surface.gyp:surface',
184 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu', 219 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu',
220 '../webkit/common/user_agent/webkit_user_agent.gyp:user_agent',
185 '../webkit/renderer/compositor_bindings/compositor_bindings.gyp:webk it_compositor_support', 221 '../webkit/renderer/compositor_bindings/compositor_bindings.gyp:webk it_compositor_support',
186 '../webkit/support/webkit_support.gyp:webkit_support_common', 222 '../webkit/renderer/webkit_renderer.gyp:webkit_renderer',
187 '../webkit/storage_browser.gyp:webkit_storage_browser', 223 '../webkit/storage_browser.gyp:webkit_storage_browser',
188 '../webkit/storage_common.gyp:webkit_storage_common', 224 '../webkit/storage_common.gyp:webkit_storage_common',
225 '../webkit/support/webkit_support.gyp:glue',
226 '../webkit/support/webkit_support.gyp:glue_child',
189 ], 227 ],
190 }], 228 }],
191 ['OS == "win" or toolkit_uses_gtk == 1', { 229 ['OS == "win" or toolkit_uses_gtk == 1', {
192 'dependencies': [ 230 'dependencies': [
193 '../sandbox/sandbox.gyp:sandbox', 231 '../sandbox/sandbox.gyp:sandbox',
194 ], 232 ],
195 }], 233 }],
196 ['enable_webrtc==1', { 234 ['enable_webrtc==1', {
197 'sources': [ 235 'sources': [
198 'renderer/media/mock_media_stream_dependency_factory.cc', 236 'renderer/media/mock_media_stream_dependency_factory.cc',
(...skipping 864 matching lines...) Expand 10 before | Expand all | Expand 10 after
1063 '..', 1101 '..',
1064 ], 1102 ],
1065 'sources': [ 1103 'sources': [
1066 'common/gpu/client/gl_helper_benchmark.cc', 1104 'common/gpu/client/gl_helper_benchmark.cc',
1067 ], 1105 ],
1068 }, 1106 },
1069 { 1107 {
1070 'target_name': 'content_webkit_unit_test_support', 1108 'target_name': 'content_webkit_unit_test_support',
1071 'type': 'static_library', 1109 'type': 'static_library',
1072 'dependencies': [ 1110 'dependencies': [
1073 '../webkit/support/webkit_support.gyp:webkit_support', 1111 'test_support_content',
1074 ], 1112 ],
1075 'include_dirs': [ 1113 'include_dirs': [
1076 '..', 1114 '..',
1077 ], 1115 ],
1078 'sources': [ 1116 'sources': [
1079 'test/webkit_unit_test_support.cc', 1117 'test/webkit_unit_test_support.cc',
1080 'test/webkit_unit_test_support.h', 1118 'test/webkit_unit_test_support.h',
1081 ], 1119 ],
1082 }, 1120 },
1083 ], 1121 ],
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
1433 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'], 1471 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'],
1434 }, 1472 },
1435 ], 1473 ],
1436 }], 1474 }],
1437 ], 1475 ],
1438 }, 1476 },
1439 ], 1477 ],
1440 }], 1478 }],
1441 ], 1479 ],
1442 } 1480 }
OLDNEW
« no previous file with comments | « content/content_shell.gypi ('k') | content/shell/browser/shell_browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698