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': 'layouttest_support_content', | |
9 'type': 'static_library', | |
10 'conditions': [ | |
11 ['OS=="android"', { | |
12 'dependencies': [ | |
13 'layouttest_support_content_jni_headers', | |
14 ], | |
15 }], | |
16 ['OS!="ios"', { | |
jam
2014/04/03 17:40:20
this whole target, since its not used on ios, shou
Primiano Tucci (use gerrit)
2014/04/03 19:13:44
Hmm, if I nest the entire target inside a conditio
jam
2014/04/03 19:39:33
hmm, are these targets built on ios? they shouldn'
Primiano Tucci (use gerrit)
2014/04/03 19:52:59
all.gyp is including content_shell_and_tests.gyp:*
jam
2014/04/03 20:08:29
ugh, it's unfortunate that these other targets are
| |
17 # layouttest_support_content is not supported nor required on iOS. | |
18 'dependencies': [ | |
19 '../skia/skia.gyp:skia', | |
20 '../v8/tools/gyp/v8.gyp:v8', | |
21 '../webkit/common/webkit_common.gyp:webkit_common', | |
22 ], | |
23 'include_dirs': [ | |
24 '..', | |
25 ], | |
26 'sources': [ | |
27 'public/test/layouttest_support.h', | |
28 'public/test/nested_message_pump_android.cc', | |
29 'public/test/nested_message_pump_android.h', | |
30 'test/layouttest_support.cc', | |
31 'test/mock_webclipboard_impl.cc', | |
32 'test/mock_webclipboard_impl.h', | |
33 'test/test_media_stream_client.cc', | |
34 'test/test_media_stream_client.h', | |
35 'test/test_video_frame_provider.cc', | |
36 'test/test_video_frame_provider.h', | |
37 ], | |
38 }], | |
39 ], | |
40 }, | |
41 { | |
8 'target_name': 'test_support_content', | 42 'target_name': 'test_support_content', |
9 'type': 'static_library', | 43 'type': 'static_library', |
10 'dependencies': [ | 44 'dependencies': [ |
11 '../net/net.gyp:net_test_support', | 45 '../net/net.gyp:net_test_support', |
12 '../skia/skia.gyp:skia', | 46 '../skia/skia.gyp:skia', |
13 '../testing/gmock.gyp:gmock', | 47 '../testing/gmock.gyp:gmock', |
14 '../testing/gtest.gyp:gtest', | 48 '../testing/gtest.gyp:gtest', |
15 '../ui/accessibility/accessibility.gyp:ax_gen', | 49 '../ui/accessibility/accessibility.gyp:ax_gen', |
16 '../ui/base/ui_base.gyp:ui_base', | 50 '../ui/base/ui_base.gyp:ui_base', |
17 '../ui/events/events.gyp:dom4_keycode_converter', | 51 '../ui/events/events.gyp:dom4_keycode_converter', |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
51 'public/test/mock_download_manager.cc', | 85 'public/test/mock_download_manager.cc', |
52 'public/test/mock_download_manager.h', | 86 'public/test/mock_download_manager.h', |
53 'public/test/mock_notification_observer.cc', | 87 'public/test/mock_notification_observer.cc', |
54 'public/test/mock_notification_observer.h', | 88 'public/test/mock_notification_observer.h', |
55 'public/test/mock_render_process_host.cc', | 89 'public/test/mock_render_process_host.cc', |
56 'public/test/mock_render_process_host.h', | 90 'public/test/mock_render_process_host.h', |
57 'public/test/mock_render_thread.cc', | 91 'public/test/mock_render_thread.cc', |
58 'public/test/mock_render_thread.h', | 92 'public/test/mock_render_thread.h', |
59 'public/test/mock_resource_context.cc', | 93 'public/test/mock_resource_context.cc', |
60 'public/test/mock_resource_context.h', | 94 'public/test/mock_resource_context.h', |
61 'public/test/nested_message_pump_android.cc', | |
62 'public/test/nested_message_pump_android.h', | |
63 'public/test/render_view_test.cc', | 95 'public/test/render_view_test.cc', |
64 'public/test/render_view_test.h', | 96 'public/test/render_view_test.h', |
65 'public/test/render_widget_test.cc', | 97 'public/test/render_widget_test.cc', |
66 'public/test/render_widget_test.h', | 98 'public/test/render_widget_test.h', |
67 'public/test/sandbox_file_system_test_helper.cc', | 99 'public/test/sandbox_file_system_test_helper.cc', |
68 'public/test/sandbox_file_system_test_helper.h', | 100 'public/test/sandbox_file_system_test_helper.h', |
69 'public/test/test_browser_context.cc', | 101 'public/test/test_browser_context.cc', |
70 'public/test/test_browser_context.h', | 102 'public/test/test_browser_context.h', |
71 'public/test/test_browser_thread.cc', | 103 'public/test/test_browser_thread.cc', |
72 'public/test/test_browser_thread.h', | 104 'public/test/test_browser_thread.h', |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
121 'test/content_test_suite.cc', | 153 'test/content_test_suite.cc', |
122 'test/content_test_suite.h', | 154 'test/content_test_suite.h', |
123 'test/mock_google_streaming_server.cc', | 155 'test/mock_google_streaming_server.cc', |
124 'test/mock_google_streaming_server.h', | 156 'test/mock_google_streaming_server.h', |
125 'test/mock_keyboard.cc', | 157 'test/mock_keyboard.cc', |
126 'test/mock_keyboard.h', | 158 'test/mock_keyboard.h', |
127 'test/mock_keyboard_driver_win.cc', | 159 'test/mock_keyboard_driver_win.cc', |
128 'test/mock_keyboard_driver_win.h', | 160 'test/mock_keyboard_driver_win.h', |
129 'test/mock_render_process.cc', | 161 'test/mock_render_process.cc', |
130 'test/mock_render_process.h', | 162 'test/mock_render_process.h', |
131 'test/mock_webclipboard_impl.cc', | |
132 'test/mock_webclipboard_impl.h', | |
133 'test/mock_webframeclient.h', | 163 'test/mock_webframeclient.h', |
134 'test/mock_weburlloader.cc', | 164 'test/mock_weburlloader.cc', |
135 'test/mock_weburlloader.h', | 165 'test/mock_weburlloader.h', |
136 'test/net/url_request_abort_on_end_job.cc', | 166 'test/net/url_request_abort_on_end_job.cc', |
137 'test/net/url_request_abort_on_end_job.h', | 167 'test/net/url_request_abort_on_end_job.h', |
138 'test/net/url_request_failed_job.cc', | 168 'test/net/url_request_failed_job.cc', |
139 'test/net/url_request_failed_job.h', | 169 'test/net/url_request_failed_job.h', |
140 'test/net/url_request_mock_http_job.cc', | 170 'test/net/url_request_mock_http_job.cc', |
141 'test/net/url_request_mock_http_job.h', | 171 'test/net/url_request_mock_http_job.h', |
142 'test/net/url_request_prepackaged_interceptor.cc', | 172 'test/net/url_request_prepackaged_interceptor.cc', |
143 'test/net/url_request_prepackaged_interceptor.h', | 173 'test/net/url_request_prepackaged_interceptor.h', |
144 'test/net/url_request_slow_download_job.cc', | 174 'test/net/url_request_slow_download_job.cc', |
145 'test/net/url_request_slow_download_job.h', | 175 'test/net/url_request_slow_download_job.h', |
146 'test/ppapi_unittest.cc', | 176 'test/ppapi_unittest.cc', |
147 'test/ppapi_unittest.h', | 177 'test/ppapi_unittest.h', |
148 'test/test_backing_store.cc', | 178 'test/test_backing_store.cc', |
149 'test/test_backing_store.h', | 179 'test/test_backing_store.h', |
150 'test/test_content_browser_client.cc', | 180 'test/test_content_browser_client.cc', |
151 'test/test_content_browser_client.h', | 181 'test/test_content_browser_client.h', |
152 'test/test_content_client.cc', | 182 'test/test_content_client.cc', |
153 'test/test_content_client.h', | 183 'test/test_content_client.h', |
154 'test/test_context_provider_factory.cc', | 184 'test/test_context_provider_factory.cc', |
155 'test/test_context_provider_factory.h', | 185 'test/test_context_provider_factory.h', |
156 'test/test_media_stream_client.cc', | |
157 'test/test_media_stream_client.h', | |
158 'test/test_render_frame_host.cc', | 186 'test/test_render_frame_host.cc', |
159 'test/test_render_frame_host.h', | 187 'test/test_render_frame_host.h', |
160 'test/test_render_frame_host_factory.cc', | 188 'test/test_render_frame_host_factory.cc', |
161 'test/test_render_frame_host_factory.h', | 189 'test/test_render_frame_host_factory.h', |
162 'test/test_render_view_host.cc', | 190 'test/test_render_view_host.cc', |
163 'test/test_render_view_host.h', | 191 'test/test_render_view_host.h', |
164 'test/test_render_view_host_factory.cc', | 192 'test/test_render_view_host_factory.cc', |
165 'test/test_render_view_host_factory.h', | 193 'test/test_render_view_host_factory.h', |
166 'test/test_video_frame_provider.cc', | |
167 'test/test_video_frame_provider.h', | |
168 'test/test_web_contents.cc', | 194 'test/test_web_contents.cc', |
169 'test/test_web_contents.h', | 195 'test/test_web_contents.h', |
170 'test/test_web_contents_view.cc', | 196 'test/test_web_contents_view.cc', |
171 'test/test_web_contents_view.h', | 197 'test/test_web_contents_view.h', |
172 'test/test_webkit_platform_support.cc', | 198 'test/test_webkit_platform_support.cc', |
173 'test/test_webkit_platform_support.h', | 199 'test/test_webkit_platform_support.h', |
174 'test/web_gesture_curve_mock.cc', | 200 'test/web_gesture_curve_mock.cc', |
175 'test/web_gesture_curve_mock.h', | 201 'test/web_gesture_curve_mock.h', |
176 'test/web_layer_tree_view_impl_for_testing.cc', | 202 'test/web_layer_tree_view_impl_for_testing.cc', |
177 'test/web_layer_tree_view_impl_for_testing.h', | 203 'test/web_layer_tree_view_impl_for_testing.h', |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
214 }], | 240 }], |
215 ], | 241 ], |
216 'dependencies': [ | 242 'dependencies': [ |
217 'content.gyp:content_child', | 243 'content.gyp:content_child', |
218 'content.gyp:content_common', | 244 'content.gyp:content_common', |
219 'content.gyp:content_gpu', | 245 'content.gyp:content_gpu', |
220 'content.gyp:content_ppapi_plugin', | 246 'content.gyp:content_ppapi_plugin', |
221 'content.gyp:content_renderer', | 247 'content.gyp:content_renderer', |
222 'content.gyp:content_utility', | 248 'content.gyp:content_utility', |
223 'content.gyp:content_worker', | 249 'content.gyp:content_worker', |
250 'layouttest_support_content', | |
jam
2014/04/03 17:40:20
this is odd to see, why does test_support_content
Primiano Tucci (use gerrit)
2014/04/03 19:13:44
See the attached drawing.
Essentially some of the
jam
2014/04/03 19:39:33
let's look at each of the cc files one by one
tes
Primiano Tucci (use gerrit)
2014/04/03 19:52:59
Unfortunately we can't. If I include the .cc file
jam
2014/04/03 20:08:29
huh? why would it be defined twice? content_shell_
Primiano Tucci (use gerrit)
2014/04/03 20:36:29
Twice: in this target (test_support_content) and l
| |
224 '../cc/cc_tests.gyp:cc_test_support', | 251 '../cc/cc_tests.gyp:cc_test_support', |
225 '../media/media.gyp:media', | 252 '../media/media.gyp:media', |
226 '../ppapi/ppapi_internal.gyp:ppapi_host', | 253 '../ppapi/ppapi_internal.gyp:ppapi_host', |
227 '../ppapi/ppapi_internal.gyp:ppapi_proxy', | 254 '../ppapi/ppapi_internal.gyp:ppapi_proxy', |
228 '../ppapi/ppapi_internal.gyp:ppapi_shared', | 255 '../ppapi/ppapi_internal.gyp:ppapi_shared', |
229 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared', | 256 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared', |
230 '../third_party/WebKit/public/blink.gyp:blink', | 257 '../third_party/WebKit/public/blink.gyp:blink', |
231 '../ui/surface/surface.gyp:surface', | 258 '../ui/surface/surface.gyp:surface', |
232 '../webkit/child/webkit_child.gyp:webkit_child', | 259 '../webkit/child/webkit_child.gyp:webkit_child', |
233 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu', | 260 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu', |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
290 ], | 317 ], |
291 }], | 318 }], |
292 ['OS!="android" and OS!="ios"', { | 319 ['OS!="android" and OS!="ios"', { |
293 'dependencies': [ | 320 'dependencies': [ |
294 '../third_party/libvpx/libvpx.gyp:libvpx', | 321 '../third_party/libvpx/libvpx.gyp:libvpx', |
295 ], | 322 ], |
296 }], | 323 }], |
297 ['OS=="android"', { | 324 ['OS=="android"', { |
298 'dependencies': [ | 325 'dependencies': [ |
299 '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs', | 326 '../ui/shell_dialogs/shell_dialogs.gyp:shell_dialogs', |
300 'test_support_content_jni_headers', | |
301 ], | 327 ], |
302 }], | 328 }], |
303 ], | 329 ], |
304 }, | 330 }, |
305 { | 331 { |
306 'target_name': 'content_unittests', | 332 'target_name': 'content_unittests', |
307 'type': '<(gtest_target_type)', | 333 'type': '<(gtest_target_type)', |
308 'dependencies': [ | 334 'dependencies': [ |
335 'browser/speech/proto/speech_proto.gyp:speech_proto', | |
309 'content.gyp:content_browser', | 336 'content.gyp:content_browser', |
310 'content.gyp:content_common', | 337 'content.gyp:content_common', |
311 'test_support_content', | 338 'test_support_content', |
312 'browser/speech/proto/speech_proto.gyp:speech_proto', | |
313 '../base/base.gyp:test_support_base', | 339 '../base/base.gyp:test_support_base', |
314 '../crypto/crypto.gyp:crypto', | 340 '../crypto/crypto.gyp:crypto', |
315 '../net/net.gyp:net_test_support', | 341 '../net/net.gyp:net_test_support', |
316 '../skia/skia.gyp:skia', | 342 '../skia/skia.gyp:skia', |
317 '../sql/sql.gyp:sql', | 343 '../sql/sql.gyp:sql', |
318 '../sql/sql.gyp:test_support_sql', | 344 '../sql/sql.gyp:test_support_sql', |
319 '../testing/gmock.gyp:gmock', | 345 '../testing/gmock.gyp:gmock', |
320 '../testing/gtest.gyp:gtest', | 346 '../testing/gtest.gyp:gtest', |
321 '../third_party/re2/re2.gyp:re2', | 347 '../third_party/re2/re2.gyp:re2', |
322 '../ui/accessibility/accessibility.gyp:accessibility', | 348 '../ui/accessibility/accessibility.gyp:accessibility', |
(...skipping 628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
951 'type': '<(gtest_target_type)', | 977 'type': '<(gtest_target_type)', |
952 'dependencies': [ | 978 'dependencies': [ |
953 'content.gyp:content_common', | 979 'content.gyp:content_common', |
954 'content.gyp:content_gpu', | 980 'content.gyp:content_gpu', |
955 'content.gyp:content_plugin', | 981 'content.gyp:content_plugin', |
956 'content.gyp:content_renderer', | 982 'content.gyp:content_renderer', |
957 'content_browser_test_support', | 983 'content_browser_test_support', |
958 'content_resources.gyp:content_resources', | 984 'content_resources.gyp:content_resources', |
959 'content_shell_lib', | 985 'content_shell_lib', |
960 'content_shell_pak', | 986 'content_shell_pak', |
987 'test_support_content', | |
Primiano Tucci (use gerrit)
2014/04/03 16:44:28
This is needed because previously content_unittest
| |
961 '../base/base.gyp:test_support_base', | 988 '../base/base.gyp:test_support_base', |
962 '../gin/gin.gyp:gin', | 989 '../gin/gin.gyp:gin', |
963 '../gpu/gpu.gyp:gpu', | 990 '../gpu/gpu.gyp:gpu', |
964 '../ipc/ipc.gyp:test_support_ipc', | 991 '../ipc/ipc.gyp:test_support_ipc', |
965 '../media/media.gyp:media_test_support', | 992 '../media/media.gyp:media_test_support', |
966 '../media/media.gyp:shared_memory_support', | 993 '../media/media.gyp:shared_memory_support', |
967 '../net/net.gyp:net_test_support', | 994 '../net/net.gyp:net_test_support', |
968 '../ppapi/ppapi_internal.gyp:ppapi_host', | 995 '../ppapi/ppapi_internal.gyp:ppapi_host', |
969 '../ppapi/ppapi_internal.gyp:ppapi_ipc', | 996 '../ppapi/ppapi_internal.gyp:ppapi_ipc', |
970 '../ppapi/ppapi_internal.gyp:ppapi_proxy', | 997 '../ppapi/ppapi_internal.gyp:ppapi_proxy', |
(...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1578 'test_suite_name': 'video_decode_accelerator_unittest', | 1605 'test_suite_name': 'video_decode_accelerator_unittest', |
1579 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_u nittests<(SHARED_LIB_SUFFIX)', | 1606 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)content_u nittests<(SHARED_LIB_SUFFIX)', |
1580 }, | 1607 }, |
1581 'includes': [ '../build/apk_test.gypi' ], | 1608 'includes': [ '../build/apk_test.gypi' ], |
1582 }, | 1609 }, |
1583 ], | 1610 ], |
1584 }], | 1611 }], |
1585 ['OS == "android"', { | 1612 ['OS == "android"', { |
1586 'targets': [ | 1613 'targets': [ |
1587 { | 1614 { |
1588 'target_name': 'test_support_content_jni_headers', | 1615 'target_name': 'layouttest_support_content_jni_headers', |
jam
2014/04/03 17:40:20
why the rename? this is also used in content_brows
Primiano Tucci (use gerrit)
2014/04/03 19:13:44
Hmm, not really. THis is only needed by nested_mes
jam
2014/04/03 19:39:33
hmmm, this s used by browser_tests afaik because t
Primiano Tucci (use gerrit)
2014/04/03 19:52:59
Ahh sorry, you're right here. NestedMessagePumpAnd
| |
1589 'type': 'none', | 1616 'type': 'none', |
1590 'sources': [ | 1617 'sources': [ |
1591 'public/test/android/javatests/src/org/chromium/content/browser/test /NestedSystemMessageHandler.java', | 1618 'public/test/android/javatests/src/org/chromium/content/browser/test /NestedSystemMessageHandler.java', |
1592 ], | 1619 ], |
1593 'variables': { | 1620 'variables': { |
1594 'jni_gen_package': 'content/public/test', | 1621 'jni_gen_package': 'content/public/test', |
1595 'jni_generator_ptr_type': 'long', | 1622 'jni_generator_ptr_type': 'long', |
1596 }, | 1623 }, |
1597 'includes': [ '../build/jni_generator.gypi' ], | 1624 'includes': [ '../build/jni_generator.gypi' ], |
1598 }, | 1625 }, |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1775 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'], | 1802 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'], |
1776 }, | 1803 }, |
1777 ], | 1804 ], |
1778 }], | 1805 }], |
1779 ], | 1806 ], |
1780 }, | 1807 }, |
1781 ], | 1808 ], |
1782 }], | 1809 }], |
1783 ], | 1810 ], |
1784 } | 1811 } |
OLD | NEW |