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

Side by Side Diff: cc/cc_tests.gyp

Issue 2315743005: cc: Remove all gyp files. (Closed)
Patch Set: Created 4 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
« no previous file with comments | « cc/cc.gyp ('k') | cc/ipc/cc_ipc.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 {
6 'variables': {
7 'chromium_code': 1,
8 'cc_unit_tests_source_files': [
9 'animation/animation_host_unittest.cc',
10 'animation/animation_player_unittest.cc',
11 'animation/animation_timeline_unittest.cc',
12 'animation/animation_unittest.cc',
13 'animation/element_animations_unittest.cc',
14 'animation/keyframed_animation_curve_unittest.cc',
15 'animation/scroll_offset_animation_curve_unittest.cc',
16 'animation/transform_operations_unittest.cc',
17 'base/contiguous_container_unittest.cc',
18 'base/delayed_unique_notifier_unittest.cc',
19 'base/float_quad_unittest.cc',
20 'base/histograms_unittest.cc',
21 'base/list_container_unittest.cc',
22 'base/math_util_unittest.cc',
23 'base/random_access_list_container_unittest.cc',
24 'base/region_unittest.cc',
25 'base/rolling_time_delta_history_unittest.cc',
26 'base/rtree_unittest.cc',
27 'base/simple_enclosed_region_unittest.cc',
28 'base/tiling_data_unittest.cc',
29 'base/unique_notifier_unittest.cc',
30 'blimp/picture_data_conversions_unittest.cc',
31 'debug/layer_tree_debug_state_unittest.cc',
32 'debug/micro_benchmark_controller_unittest.cc',
33 'debug/rendering_stats_unittest.cc',
34 'input/layer_selection_bound_unittest.cc',
35 'input/scroll_state_unittest.cc',
36 'input/scrollbar_animation_controller_linear_fade_unittest.cc',
37 'input/scrollbar_animation_controller_thinning_unittest.cc',
38 'input/top_controls_manager_unittest.cc',
39 'ipc/cc_param_traits_unittest.cc',
40 'layers/heads_up_display_layer_impl_unittest.cc',
41 'layers/heads_up_display_unittest.cc',
42 'layers/layer_impl_unittest.cc',
43 'layers/layer_iterator_unittest.cc',
44 'layers/layer_list_iterator_unittest.cc',
45 'layers/layer_position_constraint_unittest.cc',
46 'layers/layer_proto_converter_unittest.cc',
47 'layers/layer_unittest.cc',
48 'layers/layer_utils_unittest.cc',
49 'layers/nine_patch_layer_impl_unittest.cc',
50 'layers/nine_patch_layer_unittest.cc',
51 'layers/painted_scrollbar_layer_impl_unittest.cc',
52 'layers/painted_scrollbar_layer_unittest.cc',
53 'layers/picture_image_layer_unittest.cc',
54 'layers/picture_layer_impl_unittest.cc',
55 'layers/picture_layer_unittest.cc',
56 'layers/render_surface_impl_unittest.cc',
57 'layers/render_surface_unittest.cc',
58 'layers/scrollbar_layer_unittest.cc',
59 'layers/solid_color_layer_impl_unittest.cc',
60 'layers/solid_color_scrollbar_layer_impl_unittest.cc',
61 'layers/surface_layer_impl_unittest.cc',
62 'layers/surface_layer_unittest.cc',
63 'layers/texture_layer_impl_unittest.cc',
64 'layers/texture_layer_unittest.cc',
65 'layers/ui_resource_layer_impl_unittest.cc',
66 'layers/ui_resource_layer_unittest.cc',
67 'layers/video_frame_provider_client_impl_unittest.cc',
68 'layers/video_layer_impl_unittest.cc',
69 'layers/viewport_unittest.cc',
70 'output/begin_frame_args_unittest.cc',
71 'output/bsp_tree_unittest.cc',
72 'output/buffer_to_texture_target_map_unittest.cc',
73 'output/delegating_renderer_unittest.cc',
74 'output/filter_operations_unittest.cc',
75 'output/gl_renderer_unittest.cc',
76 'output/layer_quad_unittest.cc',
77 'output/managed_memory_policy_unittest.cc',
78 'output/output_surface_unittest.cc',
79 'output/overlay_unittest.cc',
80 'output/renderer_pixeltest.cc',
81 'output/renderer_settings_unittest.cc',
82 'output/renderer_unittest.cc',
83 'output/shader_unittest.cc',
84 'output/software_renderer_unittest.cc',
85 'output/texture_mailbox_deleter_unittest.cc',
86 'playback/discardable_image_map_unittest.cc',
87 'playback/display_item_list_unittest.cc',
88 'playback/raster_source_unittest.cc',
89 'playback/recording_source_unittest.cc',
90 'proto/base_conversions_unittest.cc',
91 'proto/cc_conversions_unittest.cc',
92 'proto/gfx_conversions_unittest.cc',
93 'proto/gpu_conversions_unittest.cc',
94 'proto/skia_conversions_unittest.cc',
95 'proto/synced_property_conversions_unittest.cc',
96 'quads/draw_polygon_unittest.cc',
97 'quads/draw_quad_unittest.cc',
98 'quads/render_pass_unittest.cc',
99 'raster/raster_buffer_provider_unittest.cc',
100 'raster/scoped_gpu_raster_unittest.cc',
101 'raster/single_thread_task_graph_runner_unittest.cc',
102 'raster/synchronous_task_graph_runner_unittest.cc',
103 'raster/texture_compressor_etc1_unittest.cc',
104 'resources/platform_color_unittest.cc',
105 'resources/resource_pool_unittest.cc',
106 'resources/resource_provider_unittest.cc',
107 'resources/resource_util_unittest.cc',
108 'resources/scoped_resource_unittest.cc',
109 'resources/video_resource_updater_unittest.cc',
110 'scheduler/begin_frame_source_unittest.cc',
111 'scheduler/commit_earlyout_reason_unittest.cc',
112 'scheduler/compositor_timing_history_unittest.cc',
113 'scheduler/delay_based_time_source_unittest.cc',
114 'scheduler/scheduler_state_machine_unittest.cc',
115 'scheduler/scheduler_unittest.cc',
116 'test/begin_frame_source_test_unittest.cc',
117 'test/layer_tree_json_parser_unittest.cc',
118 'test/mock_helper_unittest.cc',
119 'test/ordered_simple_task_runner_unittest.cc',
120 'test/test_web_graphics_context_3d_unittest.cc',
121 'tiles/gpu_image_decode_controller_unittest.cc',
122 'tiles/mipmap_util_unittest.cc',
123 'tiles/picture_layer_tiling_set_unittest.cc',
124 'tiles/picture_layer_tiling_unittest.cc',
125 'tiles/software_image_decode_controller_unittest.cc',
126 'tiles/tile_manager_unittest.cc',
127 'tiles/tile_priority_unittest.cc',
128 'trees/blocking_task_runner_unittest.cc',
129 'trees/damage_tracker_unittest.cc',
130 'trees/layer_tree_host_common_unittest.cc',
131 'trees/layer_tree_host_impl_unittest.cc',
132 'trees/layer_tree_host_pixeltest_blending.cc',
133 'trees/layer_tree_host_pixeltest_filters.cc',
134 'trees/layer_tree_host_pixeltest_masks.cc',
135 'trees/layer_tree_host_pixeltest_readback.cc',
136 'trees/layer_tree_host_pixeltest_synchronous.cc',
137 'trees/layer_tree_host_pixeltest_tiles.cc',
138 'trees/layer_tree_host_unittest.cc',
139 'trees/layer_tree_host_unittest_animation.cc',
140 'trees/layer_tree_host_unittest_context.cc',
141 'trees/layer_tree_host_unittest_copyrequest.cc',
142 'trees/layer_tree_host_unittest_damage.cc',
143 'trees/layer_tree_host_unittest_occlusion.cc',
144 'trees/layer_tree_host_unittest_picture.cc',
145 'trees/layer_tree_host_unittest_proxy.cc',
146 'trees/layer_tree_host_unittest_record_gpu_histogram.cc',
147 'trees/layer_tree_host_unittest_remote_server.cc',
148 'trees/layer_tree_host_unittest_scroll.cc',
149 'trees/layer_tree_host_unittest_serialization.cc',
150 'trees/layer_tree_host_unittest_video.cc',
151 'trees/layer_tree_impl_unittest.cc',
152 'trees/layer_tree_settings_unittest.cc',
153 'trees/occlusion_tracker_unittest.cc',
154 'trees/occlusion_unittest.cc',
155 'trees/property_tree_unittest.cc',
156 'trees/proxy_common_unittest.cc',
157 'trees/tree_synchronizer_unittest.cc',
158 ],
159 'cc_surfaces_unit_tests_source_files': [
160 'surfaces/display_scheduler_unittest.cc',
161 'surfaces/display_unittest.cc',
162 'surfaces/surface_aggregator_unittest.cc',
163 'surfaces/surface_display_output_surface_unittest.cc',
164 'surfaces/surface_factory_unittest.cc',
165 'surfaces/surface_hittest_unittest.cc',
166 'surfaces/surface_manager_unittest.cc',
167 'surfaces/surface_unittest.cc',
168 'surfaces/surfaces_pixeltest.cc',
169 ],
170 'cc_tests_support_files': [
171 'test/animation_test_common.cc',
172 'test/animation_test_common.h',
173 'test/animation_timelines_test_common.cc',
174 'test/animation_timelines_test_common.h',
175 'test/begin_frame_args_test.cc',
176 'test/begin_frame_args_test.h',
177 'test/begin_frame_source_test.cc',
178 'test/begin_frame_source_test.h',
179 'test/fake_channel_impl.cc',
180 'test/fake_channel_impl.h',
181 'test/fake_client_picture_cache.cc',
182 'test/fake_client_picture_cache.h',
183 'test/fake_content_layer_client.cc',
184 'test/fake_content_layer_client.h',
185 'test/fake_engine_picture_cache.cc',
186 'test/fake_engine_picture_cache.h',
187 'test/fake_external_begin_frame_source.cc',
188 'test/fake_external_begin_frame_source.h',
189 'test/fake_image_serialization_processor.cc',
190 'test/fake_image_serialization_processor.h',
191 'test/fake_impl_task_runner_provider.h',
192 'test/fake_layer_tree_host.cc',
193 'test/fake_layer_tree_host.h',
194 'test/fake_layer_tree_host_client.cc',
195 'test/fake_layer_tree_host_client.h',
196 'test/fake_layer_tree_host_impl.cc',
197 'test/fake_layer_tree_host_impl.h',
198 'test/fake_layer_tree_host_impl_client.cc',
199 'test/fake_layer_tree_host_impl_client.h',
200 'test/fake_mask_layer_impl.cc',
201 'test/fake_mask_layer_impl.h',
202 'test/fake_output_surface.cc',
203 'test/fake_output_surface.h',
204 'test/fake_output_surface_client.cc',
205 'test/fake_output_surface_client.h',
206 'test/fake_painted_scrollbar_layer.cc',
207 'test/fake_painted_scrollbar_layer.h',
208 'test/fake_picture_layer.cc',
209 'test/fake_picture_layer.h',
210 'test/fake_picture_layer_impl.cc',
211 'test/fake_picture_layer_impl.h',
212 'test/fake_picture_layer_tiling_client.cc',
213 'test/fake_picture_layer_tiling_client.h',
214 'test/fake_proxy.cc',
215 'test/fake_proxy.h',
216 'test/fake_raster_buffer_provider.cc',
217 'test/fake_raster_buffer_provider.h',
218 'test/fake_raster_source.cc',
219 'test/fake_raster_source.h',
220 'test/fake_recording_source.cc',
221 'test/fake_recording_source.h',
222 'test/fake_renderer_client.cc',
223 'test/fake_renderer_client.h',
224 'test/fake_rendering_stats_instrumentation.h',
225 'test/fake_resource_provider.h',
226 'test/fake_scoped_ui_resource.cc',
227 'test/fake_scoped_ui_resource.h',
228 'test/fake_scrollbar.cc',
229 'test/fake_scrollbar.h',
230 'test/fake_tile_manager.cc',
231 'test/fake_tile_manager.h',
232 'test/fake_tile_manager_client.cc',
233 'test/fake_tile_manager_client.h',
234 'test/fake_tile_task_manager.cc',
235 'test/fake_tile_task_manager.h',
236 'test/fake_ui_resource_layer_tree_host_impl.cc',
237 'test/fake_ui_resource_layer_tree_host_impl.h',
238 'test/fake_video_frame_provider.cc',
239 'test/fake_video_frame_provider.h',
240 'test/geometry_test_utils.cc',
241 'test/geometry_test_utils.h',
242 'test/layer_internals_for_test.cc',
243 'test/layer_internals_for_test.h',
244 'test/layer_test_common.cc',
245 'test/layer_test_common.h',
246 'test/layer_tree_json_parser.cc',
247 'test/layer_tree_json_parser.h',
248 'test/layer_tree_pixel_resource_test.cc',
249 'test/layer_tree_pixel_resource_test.h',
250 'test/layer_tree_pixel_test.cc',
251 'test/layer_tree_pixel_test.h',
252 'test/layer_tree_settings_for_testing.cc',
253 'test/layer_tree_settings_for_testing.h',
254 'test/layer_tree_test.cc',
255 'test/layer_tree_test.h',
256 'test/mock_helper.h',
257 'test/mock_occlusion_tracker.h',
258 'test/ordered_simple_task_runner.cc',
259 'test/ordered_simple_task_runner.h',
260 'test/ordered_texture_map.cc',
261 'test/ordered_texture_map.h',
262 'test/paths.cc',
263 'test/paths.h',
264 'test/picture_cache_model.cc',
265 'test/picture_cache_model.h',
266 'test/pixel_comparator.cc',
267 'test/pixel_comparator.h',
268 'test/pixel_test.cc',
269 'test/pixel_test.h',
270 'test/pixel_test_output_surface.cc',
271 'test/pixel_test_output_surface.h',
272 'test/pixel_test_software_output_device.cc',
273 'test/pixel_test_software_output_device.h',
274 'test/pixel_test_utils.cc',
275 'test/pixel_test_utils.h',
276 'test/remote_proto_channel_bridge.cc',
277 'test/remote_proto_channel_bridge.h',
278 'test/render_pass_test_utils.cc',
279 'test/render_pass_test_utils.h',
280 'test/scheduler_test_common.cc',
281 'test/scheduler_test_common.h',
282 'test/skia_common.cc',
283 'test/skia_common.h',
284 'test/solid_color_content_layer_client.cc',
285 'test/solid_color_content_layer_client.h',
286 'test/stub_layer_tree_host_client.cc',
287 'test/stub_layer_tree_host_client.h',
288 'test/stub_layer_tree_host_single_thread_client.cc',
289 'test/stub_layer_tree_host_single_thread_client.h',
290 'test/surface_aggregator_test_helpers.cc',
291 'test/surface_aggregator_test_helpers.h',
292 'test/surface_hittest_test_helpers.cc',
293 'test/surface_hittest_test_helpers.h',
294 'test/task_graph_runner_test_template.cc',
295 'test/task_graph_runner_test_template.h',
296 'test/test_context_provider.cc',
297 'test/test_context_provider.h',
298 'test/test_context_support.cc',
299 'test/test_context_support.h',
300 'test/test_delegating_output_surface.cc',
301 'test/test_delegating_output_surface.h',
302 'test/test_gles2_interface.cc',
303 'test/test_gles2_interface.h',
304 'test/test_gpu_memory_buffer_manager.cc',
305 'test/test_gpu_memory_buffer_manager.h',
306 'test/test_hooks.cc',
307 'test/test_hooks.h',
308 'test/test_image_factory.cc',
309 'test/test_image_factory.h',
310 'test/test_in_process_context_provider.cc',
311 'test/test_in_process_context_provider.h',
312 'test/test_layer_tree_host_base.cc',
313 'test/test_layer_tree_host_base.h',
314 'test/test_occlusion_tracker.h',
315 'test/test_shared_bitmap_manager.cc',
316 'test/test_shared_bitmap_manager.h',
317 'test/test_task_graph_runner.cc',
318 'test/test_task_graph_runner.h',
319 'test/test_texture.cc',
320 'test/test_texture.h',
321 'test/test_tile_priorities.cc',
322 'test/test_tile_priorities.h',
323 'test/test_tile_task_runner.cc',
324 'test/test_tile_task_runner.h',
325 'test/test_web_graphics_context_3d.cc',
326 'test/test_web_graphics_context_3d.h',
327 ],
328 },
329 'targets': [
330 {
331 'target_name': 'cc_unittests',
332 'type': '<(gtest_target_type)',
333 'dependencies': [
334 '../base/base.gyp:test_support_base',
335 '../gpu/command_buffer/command_buffer.gyp:gles2_utils',
336 '../gpu/gpu.gyp:gpu',
337 '../gpu/gpu.gyp:gpu_unittest_utils',
338 '../ipc/ipc.gyp:ipc',
339 '../media/media.gyp:media',
340 '../mojo/mojo_edk.gyp:mojo_common_test_support',
341 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
342 '../skia/skia.gyp:skia',
343 '../testing/gmock.gyp:gmock',
344 '../testing/gtest.gyp:gtest',
345 '../third_party/protobuf/protobuf.gyp:protobuf_lite',
346 '../ui/events/events.gyp:events_base',
347 '../ui/gfx/gfx.gyp:gfx',
348 '../ui/gfx/gfx.gyp:gfx_geometry',
349 'cc.gyp:cc',
350 'cc.gyp:cc_proto',
351 'cc.gyp:cc_surfaces',
352 'cc_test_support',
353 'ipc/cc_ipc.gyp:cc_ipc',
354 ],
355 'sources': [
356 'test/cc_test_suite.cc',
357 'test/run_all_unittests.cc',
358 '<@(cc_unit_tests_source_files)',
359 '<@(cc_surfaces_unit_tests_source_files)',
360 ],
361 'conditions': [
362 ['OS == "android"',
363 {
364 'dependencies': [
365 '../testing/android/native_test.gyp:native_test_native_code',
366 ],
367 }
368 ],
369 ],
370 },
371 {
372 # GN version: //cc/cc_perftests
373 'target_name': 'cc_perftests',
374 'type': '<(gtest_target_type)',
375 'dependencies': [
376 '../base/base.gyp:test_support_base',
377 '../gpu/command_buffer/command_buffer.gyp:gles2_utils',
378 '../gpu/gpu.gyp:gpu',
379 '../gpu/gpu.gyp:gpu_unittest_utils',
380 '../ipc/ipc.gyp:ipc',
381 '../media/media.gyp:media',
382 '../mojo/mojo_edk.gyp:mojo_common_test_support',
383 '../mojo/mojo_public.gyp:mojo_cpp_bindings',
384 '../skia/skia.gyp:skia',
385 '../testing/gmock.gyp:gmock',
386 '../testing/gtest.gyp:gtest',
387 '../testing/perf/perf_test.gyp:*',
388 '../ui/gfx/gfx.gyp:gfx',
389 '../ui/gfx/gfx.gyp:gfx_geometry',
390 'cc.gyp:cc',
391 'cc.gyp:cc_surfaces',
392 'cc_test_support',
393 'ipc/cc_ipc.gyp:cc_ipc',
394 ],
395 'sources': [
396 # Note: sources list duplicated in GN build.
397 'animation/animation_host_perftest.cc',
398 'layers/layer_perftest.cc',
399 'layers/picture_layer_impl_perftest.cc',
400 'quads/draw_quad_perftest.cc',
401 'raster/raster_buffer_provider_perftest.cc',
402 'raster/task_graph_runner_perftest.cc',
403 'raster/texture_compressor_perftest.cc',
404 'surfaces/surface_aggregator_perftest.cc',
405 'test/cc_test_suite.cc',
406 'test/run_all_perftests.cc',
407 'tiles/tile_manager_perftest.cc',
408 'trees/layer_tree_host_common_perftest.cc',
409 'trees/layer_tree_host_perftest.cc',
410 ],
411 'conditions': [
412 ['OS == "android"',
413 {
414 'dependencies': [
415 '../testing/android/native_test.gyp:native_test_native_code',
416 ],
417 }
418 ],
419 ],
420 },
421 {
422 'target_name': 'cc_test_support',
423 'type': 'static_library',
424 'dependencies': [
425 '../base/base.gyp:base',
426 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
427 '../gpu/command_buffer/command_buffer.gyp:gles2_utils',
428 '../gpu/gpu.gyp:gles2_c_lib',
429 '../gpu/gpu.gyp:gles2_implementation',
430 '../gpu/gpu.gyp:gl_in_process_context',
431 '../gpu/gpu.gyp:gpu',
432 '../gpu/gpu.gyp:gpu_unittest_utils',
433 '../gpu/skia_bindings/skia_bindings.gyp:gpu_skia_bindings',
434 '../skia/skia.gyp:skia',
435 '../testing/gmock.gyp:gmock',
436 '../testing/gtest.gyp:gtest',
437 '../third_party/mesa/mesa.gyp:osmesa',
438 '../third_party/protobuf/protobuf.gyp:protobuf_lite',
439 '../ui/gfx/gfx.gyp:gfx',
440 '../ui/gfx/gfx.gyp:gfx_geometry',
441 '../ui/gfx/gfx.gyp:gfx_test_support',
442 '../ui/gl/gl.gyp:gl',
443 '../ui/gl/gl.gyp:gl_test_support',
444 'cc.gyp:cc',
445 'cc.gyp:cc_proto',
446 ],
447 'sources': [
448 '<@(cc_tests_support_files)',
449 ],
450 },
451 ],
452 'conditions': [
453 ['OS == "android"',
454 {
455 'targets': [
456 {
457 'target_name': 'cc_unittests_apk',
458 'type': 'none',
459 'dependencies': [
460 'cc_unittests',
461 ],
462 'variables': {
463 'test_suite_name': 'cc_unittests',
464 },
465 'includes': [ '../build/apk_test.gypi' ],
466 },
467 {
468 'target_name': 'cc_perftests_apk',
469 'type': 'none',
470 'dependencies': [
471 'cc_perftests',
472 ],
473 'variables': {
474 'test_suite_name': 'cc_perftests',
475 },
476 'includes': [ '../build/apk_test.gypi' ],
477 },
478 ],
479 'conditions': [
480 ['test_isolation_mode != "noop"', {
481 'targets': [
482 {
483 'target_name': 'cc_unittests_apk_run',
484 'type': 'none',
485 'dependencies': [
486 'cc_unittests_apk',
487 ],
488 'includes': [
489 '../build/isolate.gypi',
490 ],
491 'sources': [
492 'cc_unittests_apk.isolate',
493 ],
494 }
495 ]
496 }]
497 ]
498 }
499 ],
500 ['test_isolation_mode != "noop"', {
501 'targets': [
502 {
503 'target_name': 'cc_unittests_run',
504 'type': 'none',
505 'dependencies': [
506 'cc_unittests',
507 ],
508 'includes': [
509 '../build/isolate.gypi',
510 ],
511 'sources': [
512 'cc_unittests.isolate',
513 ],
514 'conditions': [
515 # crbug.com/464062 xdisplaycheck is used to run cc_unittests_run on
516 # the linux try bots when using X11.
517 ['use_x11==1',
518 {
519 'dependencies': [
520 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
521 ],
522 }
523 ],
524 ],
525 },
526 ],
527 }],
528 ],
529 }
OLDNEW
« no previous file with comments | « cc/cc.gyp ('k') | cc/ipc/cc_ipc.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698