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

Side by Side Diff: content/content_tests.gypi

Issue 353113002: GN: content/content_tests.gypi support targets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/common/BUILD.gn ('k') | content/test/BUILD.gn » ('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 'variables': {
7 'layouttest_support_content_sources': [
8 'public/test/layouttest_support.h',
9 'public/test/nested_message_pump_android.cc',
10 'public/test/nested_message_pump_android.h',
11 'test/layouttest_support.cc',
12 'test/test_media_stream_renderer_factory.cc',
13 'test/test_media_stream_renderer_factory.h',
14 'test/test_video_frame_provider.cc',
15 'test/test_video_frame_provider.h',
16 ],
17 'test_support_content_sources': [
18 'public/test/async_file_test_helper.cc',
19 'public/test/async_file_test_helper.h',
20 'public/test/browser_test_base.cc',
21 'public/test/browser_test_base.h',
22 'public/test/browser_test.h',
23 'public/test/browser_test_utils.cc',
24 'public/test/browser_test_utils.h',
25 'public/test/content_test_suite_base.cc',
26 'public/test/content_test_suite_base.h',
27 'public/test/download_test_observer.cc',
28 'public/test/download_test_observer.h',
29 'public/test/fake_speech_recognition_manager.cc',
30 'public/test/fake_speech_recognition_manager.h',
31 'public/test/javascript_test_observer.cc',
32 'public/test/javascript_test_observer.h',
33 'public/test/mock_blob_url_request_context.cc',
34 'public/test/mock_blob_url_request_context.h',
35 'public/test/mock_download_item.cc',
36 'public/test/mock_download_item.h',
37 'public/test/mock_download_manager.cc',
38 'public/test/mock_download_manager.h',
39 'public/test/mock_notification_observer.cc',
40 'public/test/mock_notification_observer.h',
41 'public/test/mock_render_process_host.cc',
42 'public/test/mock_render_process_host.h',
43 'public/test/mock_render_thread.cc',
44 'public/test/mock_render_thread.h',
45 'public/test/mock_resource_context.cc',
46 'public/test/mock_resource_context.h',
47 'public/test/mock_special_storage_policy.cc',
48 'public/test/mock_special_storage_policy.h',
49 'public/test/mock_storage_client.cc',
50 'public/test/mock_storage_client.h',
51 'public/test/render_view_test.cc',
52 'public/test/render_view_test.h',
53 'public/test/render_widget_test.cc',
54 'public/test/render_widget_test.h',
55 'public/test/sandbox_file_system_test_helper.cc',
56 'public/test/sandbox_file_system_test_helper.h',
57 'public/test/test_browser_context.cc',
58 'public/test/test_browser_context.h',
59 'public/test/test_browser_thread.cc',
60 'public/test/test_browser_thread.h',
61 'public/test/test_browser_thread_bundle.cc',
62 'public/test/test_browser_thread_bundle.h',
63 'public/test/test_content_client_initializer.cc',
64 'public/test/test_content_client_initializer.h',
65 'public/test/test_file_error_injector.cc',
66 'public/test/test_file_error_injector.h',
67 'public/test/test_file_system_backend.cc',
68 'public/test/test_file_system_backend.h',
69 'public/test/test_file_system_context.cc',
70 'public/test/test_file_system_context.h',
71 'public/test/test_file_system_options.cc',
72 'public/test/test_file_system_options.h',
73 'public/test/test_launcher.cc',
74 'public/test/test_launcher.h',
75 'public/test/test_navigation_observer.cc',
76 'public/test/test_navigation_observer.h',
77 'public/test/test_notification_tracker.cc',
78 'public/test/test_notification_tracker.h',
79 'public/test/test_renderer_host.cc',
80 'public/test/test_renderer_host.h',
81 'public/test/test_utils.cc',
82 'public/test/test_utils.h',
83 'public/test/unittest_test_suite.cc',
84 'public/test/unittest_test_suite.h',
85 'public/test/web_contents_tester.cc',
86 'public/test/web_contents_tester.h',
87 'app/startup_helper_win.cc',
88 # TODO(phajdan.jr): All of those files should live in content/test (if
89 # they're only used by content) or content/public/test (if they're used
90 # by other embedders).
91 'browser/download/mock_download_file.cc',
92 'browser/download/mock_download_file.h',
93 'browser/geolocation/fake_access_token_store.cc',
94 'browser/geolocation/fake_access_token_store.h',
95 'browser/geolocation/mock_location_arbitrator.cc',
96 'browser/geolocation/mock_location_arbitrator.h',
97 'browser/geolocation/mock_location_provider.cc',
98 'browser/geolocation/mock_location_provider.h',
99 'browser/renderer_host/compositing_iosurface_shader_programs_mac.cc',
100 'browser/renderer_host/compositing_iosurface_shader_programs_mac.h',
101 'browser/renderer_host/compositing_iosurface_transformer_mac.cc',
102 'browser/renderer_host/compositing_iosurface_transformer_mac.h',
103 'browser/renderer_host/media/mock_media_observer.cc',
104 'browser/renderer_host/media/mock_media_observer.h',
105 'test/appcache_test_helper.cc',
106 'test/appcache_test_helper.h',
107 'test/content_browser_test_utils_internal.cc',
108 'test/content_browser_test_utils_internal.h',
109 'test/content_test_suite.cc',
110 'test/content_test_suite.h',
111 'test/frame_load_waiter.cc',
112 'test/frame_load_waiter.h',
113 'test/mock_google_streaming_server.cc',
114 'test/mock_google_streaming_server.h',
115 'test/mock_keyboard.cc',
116 'test/mock_keyboard.h',
117 'test/mock_keyboard_driver_win.cc',
118 'test/mock_keyboard_driver_win.h',
119 'test/mock_render_process.cc',
120 'test/mock_render_process.h',
121 'test/mock_webclipboard_impl.cc',
122 'test/mock_webclipboard_impl.h',
123 'test/mock_webframeclient.h',
124 'test/mock_weburlloader.cc',
125 'test/mock_weburlloader.h',
126 'test/net/url_request_abort_on_end_job.cc',
127 'test/net/url_request_abort_on_end_job.h',
128 'test/net/url_request_failed_job.cc',
129 'test/net/url_request_failed_job.h',
130 'test/net/url_request_mock_http_job.cc',
131 'test/net/url_request_mock_http_job.h',
132 'test/net/url_request_prepackaged_interceptor.cc',
133 'test/net/url_request_prepackaged_interceptor.h',
134 'test/net/url_request_slow_download_job.cc',
135 'test/net/url_request_slow_download_job.h',
136 'test/ppapi_unittest.cc',
137 'test/ppapi_unittest.h',
138 'test/test_content_browser_client.cc',
139 'test/test_content_browser_client.h',
140 'test/test_content_client.cc',
141 'test/test_content_client.h',
142 'test/test_frame_navigation_observer.cc',
143 'test/test_frame_navigation_observer.h',
144 'test/test_render_frame_host.cc',
145 'test/test_render_frame_host.h',
146 'test/test_render_frame_host_factory.cc',
147 'test/test_render_frame_host_factory.h',
148 'test/test_render_view_host.cc',
149 'test/test_render_view_host.h',
150 'test/test_render_view_host_factory.cc',
151 'test/test_render_view_host_factory.h',
152 'test/test_web_contents.cc',
153 'test/test_web_contents.h',
154 'test/test_webkit_platform_support.cc',
155 'test/test_webkit_platform_support.h',
156 'test/web_gesture_curve_mock.cc',
157 'test/web_gesture_curve_mock.h',
158 'test/webkit_support.cc',
159 'test/webkit_support.h',
160 'test/webkit_unit_test_support.cc',
161 'test/webkit_unit_test_support.h',
162 'test/web_layer_tree_view_impl_for_testing.cc',
163 'test/web_layer_tree_view_impl_for_testing.h',
164 'test/weburl_loader_mock.cc',
165 'test/weburl_loader_mock.h',
166 'test/weburl_loader_mock_factory.cc',
167 'test/weburl_loader_mock_factory.h',
168 ]
169 },
6 'targets': [ 170 'targets': [
7 { 171 {
172 # GN version: //content/test:layouttest_support
8 'target_name': 'layouttest_support_content', 173 'target_name': 'layouttest_support_content',
9 'type': 'static_library', 174 'type': 'static_library',
10 'conditions': [ 175 'conditions': [
11 ['OS=="android"', { 176 ['OS=="android"', {
12 'dependencies': [ 177 'dependencies': [
13 'test_support_content_jni_headers', 178 'test_support_content_jni_headers',
14 ], 179 ],
15 }], 180 }],
16 ['OS!="ios"', { 181 ['OS!="ios"', {
17 # layouttest_support_content is not supported nor required on iOS. 182 # layouttest_support_content is not supported nor required on iOS.
18 'dependencies': [ 183 'dependencies': [
19 'test_support_content', 184 'test_support_content',
20 '../skia/skia.gyp:skia', 185 '../skia/skia.gyp:skia',
21 '../ui/accessibility/accessibility.gyp:ax_gen', 186 '../ui/accessibility/accessibility.gyp:ax_gen',
22 '../v8/tools/gyp/v8.gyp:v8', 187 '../v8/tools/gyp/v8.gyp:v8',
23 ], 188 ],
24 'include_dirs': [ 189 'include_dirs': [
25 '..', 190 '..',
26 '<(SHARED_INTERMEDIATE_DIR)', 191 '<(SHARED_INTERMEDIATE_DIR)',
27 ], 192 ],
28 'sources': [ 193 'sources': [ '<@(layouttest_support_content_sources)' ]
29 'public/test/layouttest_support.h',
30 'public/test/nested_message_pump_android.cc',
31 'public/test/nested_message_pump_android.h',
32 'test/layouttest_support.cc',
33 'test/test_media_stream_renderer_factory.cc',
34 'test/test_media_stream_renderer_factory.h',
35 'test/test_video_frame_provider.cc',
36 'test/test_video_frame_provider.h',
37 ],
38 }], 194 }],
39 ], 195 ],
40 }, 196 },
41 { 197 {
198 # GN version: //content/test:test_support
42 'target_name': 'test_support_content', 199 'target_name': 'test_support_content',
43 'type': 'static_library', 200 'type': 'static_library',
44 'dependencies': [ 201 'dependencies': [
45 '../net/net.gyp:net_test_support', 202 '../net/net.gyp:net_test_support',
46 '../skia/skia.gyp:skia', 203 '../skia/skia.gyp:skia',
47 '../testing/gmock.gyp:gmock', 204 '../testing/gmock.gyp:gmock',
48 '../testing/gtest.gyp:gtest', 205 '../testing/gtest.gyp:gtest',
49 '../ui/accessibility/accessibility.gyp:ax_gen', 206 '../ui/accessibility/accessibility.gyp:ax_gen',
50 '../ui/base/ui_base.gyp:ui_base', 207 '../ui/base/ui_base.gyp:ui_base',
51 '../ui/base/ui_base.gyp:ui_base_test_support', 208 '../ui/base/ui_base.gyp:ui_base_test_support',
52 '../ui/events/events.gyp:dom4_keycode_converter', 209 '../ui/events/events.gyp:dom4_keycode_converter',
53 '../ui/events/events.gyp:events_base', 210 '../ui/events/events.gyp:events_base',
54 '../ui/events/events.gyp:events_test_support', 211 '../ui/events/events.gyp:events_test_support',
55 '../ui/events/events.gyp:gesture_detection', 212 '../ui/events/events.gyp:gesture_detection',
56 '../ui/gfx/gfx.gyp:gfx_test_support', 213 '../ui/gfx/gfx.gyp:gfx_test_support',
57 '../ui/resources/ui_resources.gyp:ui_resources', 214 '../ui/resources/ui_resources.gyp:ui_resources',
58 '../url/url.gyp:url_lib', 215 '../url/url.gyp:url_lib',
59 '../webkit/common/webkit_common.gyp:webkit_common', 216 '../webkit/common/webkit_common.gyp:webkit_common',
60 'browser/speech/proto/speech_proto.gyp:speech_proto', 217 'browser/speech/proto/speech_proto.gyp:speech_proto',
61 'content.gyp:content_app_both', 218 'content.gyp:content_app_both',
62 'content.gyp:content_browser', 219 'content.gyp:content_browser',
63 'content.gyp:content_common', 220 'content.gyp:content_common',
64 ], 221 ],
65 'include_dirs': [ 222 'include_dirs': [
66 '..', 223 '..',
67 ], 224 ],
68 'sources': [ 225 'sources': [ '<@(test_support_content_sources)' ],
69 'public/test/async_file_test_helper.cc',
70 'public/test/async_file_test_helper.h',
71 'public/test/browser_test_base.cc',
72 'public/test/browser_test_base.h',
73 'public/test/browser_test.h',
74 'public/test/browser_test_utils.cc',
75 'public/test/browser_test_utils.h',
76 'public/test/content_test_suite_base.cc',
77 'public/test/content_test_suite_base.h',
78 'public/test/download_test_observer.cc',
79 'public/test/download_test_observer.h',
80 'public/test/fake_speech_recognition_manager.cc',
81 'public/test/fake_speech_recognition_manager.h',
82 'public/test/javascript_test_observer.cc',
83 'public/test/javascript_test_observer.h',
84 'public/test/mock_blob_url_request_context.cc',
85 'public/test/mock_blob_url_request_context.h',
86 'public/test/mock_download_item.cc',
87 'public/test/mock_download_item.h',
88 'public/test/mock_download_manager.cc',
89 'public/test/mock_download_manager.h',
90 'public/test/mock_notification_observer.cc',
91 'public/test/mock_notification_observer.h',
92 'public/test/mock_render_process_host.cc',
93 'public/test/mock_render_process_host.h',
94 'public/test/mock_render_thread.cc',
95 'public/test/mock_render_thread.h',
96 'public/test/mock_resource_context.cc',
97 'public/test/mock_resource_context.h',
98 'public/test/mock_special_storage_policy.cc',
99 'public/test/mock_special_storage_policy.h',
100 'public/test/mock_storage_client.cc',
101 'public/test/mock_storage_client.h',
102 'public/test/render_view_test.cc',
103 'public/test/render_view_test.h',
104 'public/test/render_widget_test.cc',
105 'public/test/render_widget_test.h',
106 'public/test/sandbox_file_system_test_helper.cc',
107 'public/test/sandbox_file_system_test_helper.h',
108 'public/test/test_browser_context.cc',
109 'public/test/test_browser_context.h',
110 'public/test/test_browser_thread.cc',
111 'public/test/test_browser_thread.h',
112 'public/test/test_browser_thread_bundle.cc',
113 'public/test/test_browser_thread_bundle.h',
114 'public/test/test_content_client_initializer.cc',
115 'public/test/test_content_client_initializer.h',
116 'public/test/test_file_error_injector.cc',
117 'public/test/test_file_error_injector.h',
118 'public/test/test_file_system_backend.cc',
119 'public/test/test_file_system_backend.h',
120 'public/test/test_file_system_context.cc',
121 'public/test/test_file_system_context.h',
122 'public/test/test_file_system_options.cc',
123 'public/test/test_file_system_options.h',
124 'public/test/test_launcher.cc',
125 'public/test/test_launcher.h',
126 'public/test/test_navigation_observer.cc',
127 'public/test/test_navigation_observer.h',
128 'public/test/test_notification_tracker.cc',
129 'public/test/test_notification_tracker.h',
130 'public/test/test_renderer_host.cc',
131 'public/test/test_renderer_host.h',
132 'public/test/test_utils.cc',
133 'public/test/test_utils.h',
134 'public/test/unittest_test_suite.cc',
135 'public/test/unittest_test_suite.h',
136 'public/test/web_contents_tester.cc',
137 'public/test/web_contents_tester.h',
138 'app/startup_helper_win.cc',
139 # TODO(phajdan.jr): All of those files should live in content/test (if
140 # they're only used by content) or content/public/test (if they're used
141 # by other embedders).
142 'browser/download/mock_download_file.cc',
143 'browser/download/mock_download_file.h',
144 'browser/geolocation/fake_access_token_store.cc',
145 'browser/geolocation/fake_access_token_store.h',
146 'browser/geolocation/mock_location_arbitrator.cc',
147 'browser/geolocation/mock_location_arbitrator.h',
148 'browser/geolocation/mock_location_provider.cc',
149 'browser/geolocation/mock_location_provider.h',
150 'browser/renderer_host/compositing_iosurface_shader_programs_mac.cc',
151 'browser/renderer_host/compositing_iosurface_shader_programs_mac.h',
152 'browser/renderer_host/compositing_iosurface_transformer_mac.cc',
153 'browser/renderer_host/compositing_iosurface_transformer_mac.h',
154 'browser/renderer_host/media/mock_media_observer.cc',
155 'browser/renderer_host/media/mock_media_observer.h',
156 'test/appcache_test_helper.cc',
157 'test/appcache_test_helper.h',
158 'test/content_browser_test_utils_internal.cc',
159 'test/content_browser_test_utils_internal.h',
160 'test/content_test_suite.cc',
161 'test/content_test_suite.h',
162 'test/frame_load_waiter.cc',
163 'test/frame_load_waiter.h',
164 'test/mock_google_streaming_server.cc',
165 'test/mock_google_streaming_server.h',
166 'test/mock_keyboard.cc',
167 'test/mock_keyboard.h',
168 'test/mock_keyboard_driver_win.cc',
169 'test/mock_keyboard_driver_win.h',
170 'test/mock_render_process.cc',
171 'test/mock_render_process.h',
172 'test/mock_webclipboard_impl.cc',
173 'test/mock_webclipboard_impl.h',
174 'test/mock_webframeclient.h',
175 'test/mock_weburlloader.cc',
176 'test/mock_weburlloader.h',
177 'test/net/url_request_abort_on_end_job.cc',
178 'test/net/url_request_abort_on_end_job.h',
179 'test/net/url_request_failed_job.cc',
180 'test/net/url_request_failed_job.h',
181 'test/net/url_request_mock_http_job.cc',
182 'test/net/url_request_mock_http_job.h',
183 'test/net/url_request_prepackaged_interceptor.cc',
184 'test/net/url_request_prepackaged_interceptor.h',
185 'test/net/url_request_slow_download_job.cc',
186 'test/net/url_request_slow_download_job.h',
187 'test/ppapi_unittest.cc',
188 'test/ppapi_unittest.h',
189 'test/test_content_browser_client.cc',
190 'test/test_content_browser_client.h',
191 'test/test_content_client.cc',
192 'test/test_content_client.h',
193 'test/test_frame_navigation_observer.cc',
194 'test/test_frame_navigation_observer.h',
195 'test/test_render_frame_host.cc',
196 'test/test_render_frame_host.h',
197 'test/test_render_frame_host_factory.cc',
198 'test/test_render_frame_host_factory.h',
199 'test/test_render_view_host.cc',
200 'test/test_render_view_host.h',
201 'test/test_render_view_host_factory.cc',
202 'test/test_render_view_host_factory.h',
203 'test/test_web_contents.cc',
204 'test/test_web_contents.h',
205 'test/test_webkit_platform_support.cc',
206 'test/test_webkit_platform_support.h',
207 'test/web_gesture_curve_mock.cc',
208 'test/web_gesture_curve_mock.h',
209 'test/webkit_support.cc',
210 'test/webkit_support.h',
211 'test/webkit_unit_test_support.cc',
212 'test/webkit_unit_test_support.h',
213 'test/web_layer_tree_view_impl_for_testing.cc',
214 'test/web_layer_tree_view_impl_for_testing.h',
215 'test/weburl_loader_mock.cc',
216 'test/weburl_loader_mock.h',
217 'test/weburl_loader_mock_factory.cc',
218 'test/weburl_loader_mock_factory.h',
219 ],
220 'conditions': [ 226 'conditions': [
221 ['enable_plugins==0', { 227 ['enable_plugins==0', {
222 'sources!': [ 228 'sources!': [
223 'test/ppapi_unittest.cc', 229 'test/ppapi_unittest.cc',
224 ], 230 ],
225 }], 231 }],
226 ['enable_web_speech==0', { 232 ['enable_web_speech==0', {
227 'sources!': [ 233 'sources!': [
228 'test/mock_google_streaming_server.cc', 234 'test/mock_google_streaming_server.cc',
229 ], 235 ],
(...skipping 1606 matching lines...) Expand 10 before | Expand all | Expand 10 after
1836 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'], 1842 'files': ['<(PRODUCT_DIR)/libnpapi_test_plugin.so'],
1837 }, 1843 },
1838 ], 1844 ],
1839 }], 1845 }],
1840 ], 1846 ],
1841 }, 1847 },
1842 ], 1848 ],
1843 }], 1849 }],
1844 ], 1850 ],
1845 } 1851 }
OLDNEW
« no previous file with comments | « content/common/BUILD.gn ('k') | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698