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

Side by Side Diff: cc/cc_tests.gyp

Issue 50303007: Move test-only stuff from cc/debug/ to cc/test (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fold cc_test_utils into cc_test_support to fix windows link Created 7 years, 1 month 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 | « cc/cc.gyp ('k') | cc/debug/fake_web_graphics_context_3d.h » ('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) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 'cc_unit_tests_source_files': [ 8 'cc_unit_tests_source_files': [
9 'animation/animation_unittest.cc', 9 'animation/animation_unittest.cc',
10 'animation/keyframed_animation_curve_unittest.cc', 10 'animation/keyframed_animation_curve_unittest.cc',
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 'test/fake_content_layer.h', 106 'test/fake_content_layer.h',
107 'test/fake_content_layer_client.cc', 107 'test/fake_content_layer_client.cc',
108 'test/fake_content_layer_client.h', 108 'test/fake_content_layer_client.h',
109 'test/fake_content_layer_impl.cc', 109 'test/fake_content_layer_impl.cc',
110 'test/fake_content_layer_impl.h', 110 'test/fake_content_layer_impl.h',
111 'test/fake_delegated_renderer_layer.cc', 111 'test/fake_delegated_renderer_layer.cc',
112 'test/fake_delegated_renderer_layer.h', 112 'test/fake_delegated_renderer_layer.h',
113 'test/fake_delegated_renderer_layer_impl.cc', 113 'test/fake_delegated_renderer_layer_impl.cc',
114 'test/fake_delegated_renderer_layer_impl.h', 114 'test/fake_delegated_renderer_layer_impl.h',
115 'test/fake_impl_proxy.h', 115 'test/fake_impl_proxy.h',
116 'test/fake_layer_tree_host.cc',
117 'test/fake_layer_tree_host.h',
116 'test/fake_layer_tree_host_client.cc', 118 'test/fake_layer_tree_host_client.cc',
117 'test/fake_layer_tree_host_client.h', 119 'test/fake_layer_tree_host_client.h',
118 'test/fake_layer_tree_host_impl.cc', 120 'test/fake_layer_tree_host_impl.cc',
121 'test/fake_layer_tree_host_impl.h',
119 'test/fake_layer_tree_host_impl_client.cc', 122 'test/fake_layer_tree_host_impl_client.cc',
120 'test/fake_layer_tree_host_impl_client.h', 123 'test/fake_layer_tree_host_impl_client.h',
121 'test/fake_layer_tree_host_impl.h', 124 'test/fake_output_surface.cc',
122 'test/fake_layer_tree_host.cc', 125 'test/fake_output_surface.h',
123 'test/fake_layer_tree_host.h', 126 'test/fake_output_surface_client.cc',
127 'test/fake_output_surface_client.h',
124 'test/fake_painted_scrollbar_layer.cc', 128 'test/fake_painted_scrollbar_layer.cc',
125 'test/fake_painted_scrollbar_layer.h', 129 'test/fake_painted_scrollbar_layer.h',
126 'test/fake_picture_layer.cc', 130 'test/fake_picture_layer.cc',
127 'test/fake_picture_layer.h', 131 'test/fake_picture_layer.h',
128 'test/fake_picture_layer_impl.cc', 132 'test/fake_picture_layer_impl.cc',
129 'test/fake_picture_layer_impl.h', 133 'test/fake_picture_layer_impl.h',
130 'test/fake_picture_layer_tiling_client.cc', 134 'test/fake_picture_layer_tiling_client.cc',
131 'test/fake_picture_layer_tiling_client.h', 135 'test/fake_picture_layer_tiling_client.h',
132 'test/fake_picture_pile_impl.cc', 136 'test/fake_picture_pile_impl.cc',
133 'test/fake_picture_pile_impl.h', 137 'test/fake_picture_pile_impl.h',
134 'test/fake_proxy.cc', 138 'test/fake_proxy.cc',
135 'test/fake_proxy.h', 139 'test/fake_proxy.h',
136 'test/fake_rendering_stats_instrumentation.h', 140 'test/fake_rendering_stats_instrumentation.h',
141 'test/fake_scoped_ui_resource.cc',
142 'test/fake_scoped_ui_resource.h',
137 'test/fake_scrollbar.cc', 143 'test/fake_scrollbar.cc',
138 'test/fake_scrollbar.h', 144 'test/fake_scrollbar.h',
139 'test/fake_tile_manager.cc', 145 'test/fake_tile_manager.cc',
140 'test/fake_tile_manager.h', 146 'test/fake_tile_manager.h',
147 'test/fake_tile_manager_client.cc',
141 'test/fake_tile_manager_client.h', 148 'test/fake_tile_manager_client.h',
142 'test/fake_tile_manager_client.cc', 149 'test/fake_ui_resource_layer_tree_host_impl.cc',
143 'test/fake_ui_resource_layer_tree_host_impl.h', 150 'test/fake_ui_resource_layer_tree_host_impl.h',
144 'test/fake_ui_resource_layer_tree_host_impl.cc',
145 'test/fake_output_surface.cc',
146 'test/fake_output_surface.h',
147 'test/fake_output_surface_client.cc',
148 'test/fake_output_surface_client.h',
149 'test/fake_scoped_ui_resource.cc',
150 'test/fake_scoped_ui_resource.h',
151 'test/fake_video_frame_provider.cc', 151 'test/fake_video_frame_provider.cc',
152 'test/fake_video_frame_provider.h', 152 'test/fake_video_frame_provider.h',
153 'test/fake_web_graphics_context_3d.cc',
154 'test/fake_web_graphics_context_3d.h',
153 'test/geometry_test_utils.cc', 155 'test/geometry_test_utils.cc',
154 'test/geometry_test_utils.h', 156 'test/geometry_test_utils.h',
155 'test/impl_side_painting_settings.h', 157 'test/impl_side_painting_settings.h',
156 'test/layer_test_common.cc', 158 'test/layer_test_common.cc',
157 'test/layer_test_common.h', 159 'test/layer_test_common.h',
160 'test/layer_tree_json_parser.cc',
161 'test/layer_tree_json_parser.h',
158 'test/layer_tree_pixel_test.cc', 162 'test/layer_tree_pixel_test.cc',
159 'test/layer_tree_pixel_test.h', 163 'test/layer_tree_pixel_test.h',
160 'test/layer_tree_test.cc', 164 'test/layer_tree_test.cc',
161 'test/layer_tree_test.h', 165 'test/layer_tree_test.h',
162 'test/layer_tree_json_parser.cc',
163 'test/layer_tree_json_parser.h',
164 'test/mock_quad_culler.cc', 166 'test/mock_quad_culler.cc',
165 'test/mock_quad_culler.h', 167 'test/mock_quad_culler.h',
166 'test/occlusion_tracker_test_common.h', 168 'test/occlusion_tracker_test_common.h',
169 'test/ordered_texture_map.cc',
170 'test/ordered_texture_map.h',
167 'test/paths.cc', 171 'test/paths.cc',
168 'test/paths.h', 172 'test/paths.h',
173 'test/pixel_comparator.cc',
174 'test/pixel_comparator.h',
169 'test/pixel_test.cc', 175 'test/pixel_test.cc',
170 'test/pixel_test.h', 176 'test/pixel_test.h',
171 'test/pixel_test_output_surface.cc', 177 'test/pixel_test_output_surface.cc',
172 'test/pixel_test_output_surface.h', 178 'test/pixel_test_output_surface.h',
173 'test/pixel_test_software_output_device.cc', 179 'test/pixel_test_software_output_device.cc',
174 'test/pixel_test_software_output_device.h', 180 'test/pixel_test_software_output_device.h',
181 'test/pixel_test_utils.cc',
182 'test/pixel_test_utils.h',
175 'test/render_pass_test_common.cc', 183 'test/render_pass_test_common.cc',
176 'test/render_pass_test_common.h', 184 'test/render_pass_test_common.h',
177 'test/render_pass_test_utils.cc', 185 'test/render_pass_test_utils.cc',
178 'test/render_pass_test_utils.h', 186 'test/render_pass_test_utils.h',
179 'test/scheduler_test_common.cc', 187 'test/scheduler_test_common.cc',
180 'test/scheduler_test_common.h', 188 'test/scheduler_test_common.h',
181 'test/solid_color_content_layer_client.h',
182 'test/solid_color_content_layer_client.cc',
183 'test/skia_common.cc', 189 'test/skia_common.cc',
184 'test/skia_common.h', 190 'test/skia_common.h',
191 'test/solid_color_content_layer_client.cc',
192 'test/solid_color_content_layer_client.h',
193 'test/test_context_provider.cc',
194 'test/test_context_provider.h',
195 'test/test_context_support.cc',
196 'test/test_context_support.h',
197 'test/test_texture.cc',
198 'test/test_texture.h',
185 'test/test_tile_priorities.cc', 199 'test/test_tile_priorities.cc',
186 'test/test_tile_priorities.h', 200 'test/test_tile_priorities.h',
201 'test/test_web_graphics_context_3d.cc',
202 'test/test_web_graphics_context_3d.h',
187 'test/tiled_layer_test_common.cc', 203 'test/tiled_layer_test_common.cc',
188 'test/tiled_layer_test_common.h', 204 'test/tiled_layer_test_common.h',
189 ], 205 ],
190 }, 206 },
191 'targets': [ 207 'targets': [
192 { 208 {
193 'target_name': 'cc_unittests', 209 'target_name': 'cc_unittests',
194 'type': '<(gtest_target_type)', 210 'type': '<(gtest_target_type)',
195 'dependencies': [ 211 'dependencies': [
196 '../base/base.gyp:test_support_base', 212 '../base/base.gyp:test_support_base',
197 '../gpu/gpu.gyp:gpu', 213 '../gpu/gpu.gyp:gpu',
198 '../media/media.gyp:media', 214 '../media/media.gyp:media',
199 '../skia/skia.gyp:skia', 215 '../skia/skia.gyp:skia',
200 '../testing/gmock.gyp:gmock', 216 '../testing/gmock.gyp:gmock',
201 '../testing/gtest.gyp:gtest', 217 '../testing/gtest.gyp:gtest',
202 '../ui/gfx/gfx.gyp:gfx', 218 '../ui/gfx/gfx.gyp:gfx',
203 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu', 219 '../webkit/common/gpu/webkit_gpu.gyp:webkit_gpu',
204 'cc.gyp:cc', 220 'cc.gyp:cc',
205 'cc_test_support', 221 'cc_test_support',
206 'cc_test_utils',
207 ], 222 ],
208 'sources': [ 223 'sources': [
209 'test/run_all_unittests.cc', 224 'test/run_all_unittests.cc',
210 'test/cc_test_suite.cc', 225 'test/cc_test_suite.cc',
211 '<@(cc_unit_tests_source_files)', 226 '<@(cc_unit_tests_source_files)',
212 ], 227 ],
213 'include_dirs': [ 228 'include_dirs': [
214 'test', 229 'test',
215 '.', 230 '.',
216 ], 231 ],
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 }, 306 },
292 { 307 {
293 'target_name': 'cc_test_support', 308 'target_name': 'cc_test_support',
294 'type': 'static_library', 309 'type': 'static_library',
295 'include_dirs': [ 310 'include_dirs': [
296 'test', 311 'test',
297 '.', 312 '.',
298 '..', 313 '..',
299 ], 314 ],
300 'dependencies': [ 315 'dependencies': [
316 '../base/base.gyp:base',
317 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
301 '../skia/skia.gyp:skia', 318 '../skia/skia.gyp:skia',
302 '../testing/gmock.gyp:gmock', 319 '../testing/gmock.gyp:gmock',
303 '../testing/gtest.gyp:gtest', 320 '../testing/gtest.gyp:gtest',
304 '../third_party/WebKit/public/blink.gyp:blink_minimal', 321 '../third_party/WebKit/public/blink.gyp:blink_minimal',
305 '../third_party/mesa/mesa.gyp:osmesa', 322 '../third_party/mesa/mesa.gyp:osmesa',
306 '../ui/gfx/gfx.gyp:gfx', 323 '../ui/gfx/gfx.gyp:gfx',
307 '../ui/gl/gl.gyp:gl', 324 '../ui/gl/gl.gyp:gl',
325 '../ui/ui_unittests.gyp:ui_test_support',
308 ], 326 ],
309 'sources': [ 327 'sources': [
310 '<@(cc_tests_support_files)', 328 '<@(cc_tests_support_files)',
311 ], 329 ],
312 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 330 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
313 'msvs_disabled_warnings': [ 4267, ], 331 'msvs_disabled_warnings': [ 4267, ],
314 }, 332 },
315 {
316 'target_name': 'cc_test_utils',
317 'type': 'static_library',
318 'include_dirs': [
319 '..'
320 ],
321 'sources': [
322 'test/pixel_comparator.cc',
323 'test/pixel_comparator.h',
324 'test/pixel_test_utils.cc',
325 'test/pixel_test_utils.h',
326 ],
327 'dependencies': [
328 '../skia/skia.gyp:skia',
329 '../ui/gfx/gfx.gyp:gfx',
330 '../ui/ui_unittests.gyp:ui_test_support',
331 ],
332 },
333 ], 333 ],
334 'conditions': [ 334 'conditions': [
335 # Special target to wrap a gtest_target_type==shared_library 335 # Special target to wrap a gtest_target_type==shared_library
336 # cc_unittests into an android apk for execution. 336 # cc_unittests into an android apk for execution.
337 ['OS == "android" and gtest_target_type == "shared_library"', 337 ['OS == "android" and gtest_target_type == "shared_library"',
338 { 338 {
339 'targets': [ 339 'targets': [
340 { 340 {
341 'target_name': 'cc_unittests_apk', 341 'target_name': 'cc_unittests_apk',
342 'type': 'none', 342 'type': 'none',
(...skipping 16 matching lines...) Expand all
359 'test_suite_name': 'cc_perftests', 359 'test_suite_name': 'cc_perftests',
360 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)cc_perf tests<(SHARED_LIB_SUFFIX)', 360 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)cc_perf tests<(SHARED_LIB_SUFFIX)',
361 }, 361 },
362 'includes': [ '../build/apk_test.gypi' ], 362 'includes': [ '../build/apk_test.gypi' ],
363 }, 363 },
364 ], 364 ],
365 } 365 }
366 ] 366 ]
367 ], 367 ],
368 } 368 }
OLDNEW
« no previous file with comments | « cc/cc.gyp ('k') | cc/debug/fake_web_graphics_context_3d.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698