OLD | NEW |
---|---|
(Empty) | |
1 # Copyright 2014 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 component("cc") { | |
6 sources = [ | |
7 "animation/animation.cc", | |
8 "animation/animation.h", | |
9 "animation/animation_curve.cc", | |
10 "animation/animation_curve.h", | |
11 "animation/animation_delegate.h", | |
12 "animation/animation_events.cc", | |
13 "animation/animation_events.h", | |
14 "animation/animation_id_provider.cc", | |
15 "animation/animation_id_provider.h", | |
16 "animation/animation_registrar.cc", | |
17 "animation/animation_registrar.h", | |
18 "animation/keyframed_animation_curve.cc", | |
19 "animation/keyframed_animation_curve.h", | |
20 "animation/layer_animation_controller.cc", | |
21 "animation/layer_animation_controller.h", | |
22 "animation/layer_animation_event_observer.h", | |
23 "animation/layer_animation_value_observer.h", | |
24 "animation/layer_animation_value_provider.h", | |
25 "animation/scroll_offset_animation_curve.cc", | |
26 "animation/scroll_offset_animation_curve.h", | |
27 "animation/scrollbar_animation_controller.h", | |
28 "animation/scrollbar_animation_controller.cc", | |
29 "animation/scrollbar_animation_controller_linear_fade.cc", | |
30 "animation/scrollbar_animation_controller_linear_fade.h", | |
31 "animation/scrollbar_animation_controller_thinning.cc", | |
32 "animation/scrollbar_animation_controller_thinning.h", | |
33 "animation/timing_function.cc", | |
34 "animation/timing_function.h", | |
35 "animation/transform_operation.cc", | |
36 "animation/transform_operation.h", | |
37 "animation/transform_operations.cc", | |
38 "animation/transform_operations.h", | |
39 "base/completion_event.h", | |
40 "base/invalidation_region.cc", | |
41 "base/invalidation_region.h", | |
42 "base/latency_info_swap_promise.cc", | |
43 "base/latency_info_swap_promise.h", | |
44 "base/latency_info_swap_promise_monitor.cc", | |
45 "base/latency_info_swap_promise_monitor.h", | |
46 "base/math_util.cc", | |
47 "base/math_util.h", | |
48 "base/ref_counted_managed.h", | |
49 "base/region.cc", | |
50 "base/region.h", | |
51 "base/rolling_time_delta_history.cc", | |
52 "base/rolling_time_delta_history.h", | |
53 "base/scoped_ptr_algorithm.h", | |
54 "base/scoped_ptr_deque.h", | |
55 "base/scoped_ptr_vector.h", | |
56 "base/swap_promise.h", | |
57 "base/swap_promise_monitor.cc", | |
58 "base/swap_promise_monitor.h", | |
59 "base/switches.cc", | |
60 "base/switches.h", | |
61 "base/tiling_data.cc", | |
62 "base/tiling_data.h", | |
63 "base/util.h", | |
64 "debug/benchmark_instrumentation.cc", | |
65 "debug/benchmark_instrumentation.h", | |
66 "debug/debug_colors.cc", | |
67 "debug/debug_colors.h", | |
68 "debug/debug_rect_history.cc", | |
69 "debug/debug_rect_history.h", | |
70 "debug/devtools_instrumentation.h", | |
71 "debug/frame_rate_counter.cc", | |
72 "debug/frame_rate_counter.h", | |
73 "debug/frame_viewer_instrumentation.h", | |
74 "debug/lap_timer.cc", | |
75 "debug/lap_timer.h", | |
76 "debug/layer_tree_debug_state.cc", | |
77 "debug/layer_tree_debug_state.h", | |
78 "debug/micro_benchmark.cc", | |
79 "debug/micro_benchmark.h", | |
80 "debug/micro_benchmark_impl.cc", | |
81 "debug/micro_benchmark_impl.h", | |
82 "debug/micro_benchmark_controller.cc", | |
83 "debug/micro_benchmark_controller.h", | |
84 "debug/micro_benchmark_controller_impl.cc", | |
85 "debug/micro_benchmark_controller_impl.h", | |
86 "debug/paint_time_counter.cc", | |
87 "debug/paint_time_counter.h", | |
88 "debug/picture_record_benchmark.cc", | |
89 "debug/picture_record_benchmark.h", | |
90 "debug/rasterize_and_record_benchmark.cc", | |
91 "debug/rasterize_and_record_benchmark.h", | |
92 "debug/rasterize_and_record_benchmark_impl.cc", | |
93 "debug/rasterize_and_record_benchmark_impl.h", | |
94 "debug/rendering_stats.cc", | |
95 "debug/rendering_stats.h", | |
96 "debug/rendering_stats_instrumentation.cc", | |
97 "debug/rendering_stats_instrumentation.h", | |
98 "debug/ring_buffer.h", | |
99 "debug/traced_picture.cc", | |
100 "debug/traced_picture.h", | |
101 "debug/traced_value.cc", | |
102 "debug/traced_value.h", | |
103 "debug/unittest_only_benchmark.cc", | |
104 "debug/unittest_only_benchmark.h", | |
105 "debug/unittest_only_benchmark_impl.cc", | |
106 "debug/unittest_only_benchmark_impl.h", | |
107 "input/input_handler.h", | |
108 "input/page_scale_animation.cc", | |
109 "input/page_scale_animation.h", | |
110 "input/top_controls_manager.cc", | |
111 "input/top_controls_manager.h", | |
112 "input/top_controls_manager_client.h", | |
113 "layers/append_quads_data.h", | |
114 "layers/content_layer.cc", | |
115 "layers/content_layer.h", | |
116 "layers/content_layer_client.h", | |
117 "layers/contents_scaling_layer.cc", | |
118 "layers/contents_scaling_layer.h", | |
119 "layers/delegated_frame_provider.cc", | |
120 "layers/delegated_frame_provider.h", | |
121 "layers/delegated_frame_resource_collection.cc", | |
122 "layers/delegated_frame_resource_collection.h", | |
123 "layers/delegated_renderer_layer.cc", | |
124 "layers/delegated_renderer_layer.h", | |
125 "layers/delegated_renderer_layer_impl.cc", | |
126 "layers/delegated_renderer_layer_impl.h", | |
127 "layers/draw_properties.h", | |
128 "layers/heads_up_display_layer.cc", | |
129 "layers/heads_up_display_layer.h", | |
130 "layers/heads_up_display_layer_impl.cc", | |
131 "layers/heads_up_display_layer_impl.h", | |
132 "layers/image_layer.cc", | |
133 "layers/image_layer.h", | |
134 "layers/io_surface_layer.cc", | |
135 "layers/io_surface_layer.h", | |
136 "layers/io_surface_layer_impl.cc", | |
137 "layers/io_surface_layer_impl.h", | |
138 "layers/layer.cc", | |
139 "layers/layer.h", | |
140 "layers/layer_client.h", | |
141 "layers/layer_impl.cc", | |
142 "layers/layer_impl.h", | |
143 "layers/layer_iterator.h", | |
144 "layers/layer_lists.cc", | |
145 "layers/layer_lists.h", | |
146 "layers/layer_position_constraint.cc", | |
147 "layers/layer_position_constraint.h", | |
148 "layers/layer_utils.cc", | |
149 "layers/layer_utils.h", | |
150 "layers/nine_patch_layer.cc", | |
151 "layers/nine_patch_layer.h", | |
152 "layers/nine_patch_layer_impl.cc", | |
153 "layers/nine_patch_layer_impl.h", | |
154 "layers/paint_properties.h", | |
155 "layers/painted_scrollbar_layer.cc", | |
156 "layers/painted_scrollbar_layer.h", | |
157 "layers/painted_scrollbar_layer_impl.cc", | |
158 "layers/painted_scrollbar_layer_impl.h", | |
159 "layers/picture_image_layer.cc", | |
160 "layers/picture_image_layer.h", | |
161 "layers/picture_image_layer_impl.cc", | |
162 "layers/picture_image_layer_impl.h", | |
163 "layers/picture_layer.cc", | |
164 "layers/picture_layer.h", | |
165 "layers/picture_layer_impl.cc", | |
166 "layers/picture_layer_impl.h", | |
167 "layers/quad_sink.h", | |
168 "layers/render_pass_sink.h", | |
169 "layers/render_surface.cc", | |
170 "layers/render_surface.h", | |
171 "layers/render_surface_impl.cc", | |
172 "layers/render_surface_impl.h", | |
173 "layers/scrollbar_layer_impl_base.cc", | |
174 "layers/scrollbar_layer_impl_base.h", | |
175 "layers/scrollbar_layer_interface.h", | |
176 "layers/solid_color_layer.cc", | |
177 "layers/solid_color_layer.h", | |
178 "layers/solid_color_layer_impl.cc", | |
179 "layers/solid_color_layer_impl.h", | |
180 "layers/solid_color_scrollbar_layer.cc", | |
181 "layers/solid_color_scrollbar_layer.h", | |
182 "layers/solid_color_scrollbar_layer_impl.cc", | |
183 "layers/solid_color_scrollbar_layer_impl.h", | |
184 "layers/surface_layer.cc", | |
185 "layers/surface_layer.h", | |
186 "layers/surface_layer_impl.cc", | |
187 "layers/surface_layer_impl.h", | |
188 "layers/texture_layer.cc", | |
189 "layers/texture_layer.h", | |
190 "layers/texture_layer_client.h", | |
191 "layers/texture_layer_impl.cc", | |
192 "layers/texture_layer_impl.h", | |
193 "layers/tiled_layer.cc", | |
194 "layers/tiled_layer.h", | |
195 "layers/tiled_layer_impl.cc", | |
196 "layers/tiled_layer_impl.h", | |
197 "layers/ui_resource_layer.cc", | |
198 "layers/ui_resource_layer.h", | |
199 "layers/ui_resource_layer_impl.cc", | |
200 "layers/ui_resource_layer_impl.h", | |
201 "layers/video_frame_provider.h", | |
202 "layers/video_frame_provider_client_impl.cc", | |
203 "layers/video_frame_provider_client_impl.h", | |
204 "layers/video_layer.cc", | |
205 "layers/video_layer.h", | |
206 "layers/video_layer_impl.cc", | |
207 "layers/video_layer_impl.h", | |
208 "output/begin_frame_args.cc", | |
209 "output/begin_frame_args.h", | |
210 "output/compositor_frame.cc", | |
211 "output/compositor_frame.h", | |
212 "output/compositor_frame_ack.cc", | |
213 "output/compositor_frame_ack.h", | |
214 "output/compositor_frame_metadata.cc", | |
215 "output/compositor_frame_metadata.h", | |
216 "output/context_provider.cc", | |
217 "output/context_provider.h", | |
218 "output/copy_output_request.cc", | |
219 "output/copy_output_request.h", | |
220 "output/copy_output_result.cc", | |
221 "output/copy_output_result.h", | |
222 "output/delegated_frame_data.h", | |
223 "output/delegated_frame_data.cc", | |
224 "output/delegating_renderer.cc", | |
225 "output/delegating_renderer.h", | |
226 "output/direct_renderer.cc", | |
227 "output/direct_renderer.h", | |
228 "output/filter_operation.cc", | |
229 "output/filter_operation.h", | |
230 "output/filter_operations.cc", | |
231 "output/filter_operations.h", | |
232 "output/geometry_binding.cc", | |
233 "output/geometry_binding.h", | |
234 "output/gl_frame_data.h", | |
235 "output/gl_frame_data.cc", | |
236 "output/gl_renderer.cc", | |
237 "output/gl_renderer.h", | |
238 "output/gl_renderer_draw_cache.cc", | |
239 "output/gl_renderer_draw_cache.h", | |
240 "output/managed_memory_policy.cc", | |
241 "output/managed_memory_policy.h", | |
242 "output/output_surface.cc", | |
243 "output/output_surface.h", | |
244 "output/output_surface_client.h", | |
245 "output/overlay_candidate.cc", | |
246 "output/overlay_candidate.h", | |
247 "output/overlay_candidate_validator.h", | |
248 "output/overlay_processor.cc", | |
249 "output/overlay_processor.h", | |
250 "output/overlay_strategy_single_on_top.cc", | |
251 "output/overlay_strategy_single_on_top.h", | |
252 "output/program_binding.cc", | |
253 "output/program_binding.h", | |
254 "output/render_surface_filters.cc", | |
255 "output/render_surface_filters.h", | |
256 "output/renderer.cc", | |
257 "output/renderer.h", | |
258 "output/shader.cc", | |
259 "output/shader.h", | |
260 "output/software_frame_data.cc", | |
261 "output/software_frame_data.h", | |
262 "output/software_output_device.cc", | |
263 "output/software_output_device.h", | |
264 "output/software_renderer.cc", | |
265 "output/software_renderer.h", | |
266 "quads/checkerboard_draw_quad.cc", | |
267 "quads/checkerboard_draw_quad.h", | |
268 "quads/content_draw_quad_base.cc", | |
269 "quads/content_draw_quad_base.h", | |
270 "quads/debug_border_draw_quad.cc", | |
271 "quads/debug_border_draw_quad.h", | |
272 "quads/draw_quad.cc", | |
273 "quads/draw_quad.h", | |
274 "quads/io_surface_draw_quad.cc", | |
275 "quads/io_surface_draw_quad.h", | |
276 "quads/picture_draw_quad.cc", | |
277 "quads/picture_draw_quad.h", | |
278 "quads/render_pass.cc", | |
279 "quads/render_pass.h", | |
280 "quads/render_pass_draw_quad.cc", | |
281 "quads/render_pass_draw_quad.h", | |
282 "quads/shared_quad_state.cc", | |
283 "quads/shared_quad_state.h", | |
284 "quads/solid_color_draw_quad.cc", | |
285 "quads/solid_color_draw_quad.h", | |
286 "quads/stream_video_draw_quad.cc", | |
287 "quads/stream_video_draw_quad.h", | |
288 "quads/surface_draw_quad.cc", | |
289 "quads/surface_draw_quad.h", | |
290 "quads/texture_draw_quad.cc", | |
291 "quads/texture_draw_quad.h", | |
292 "quads/tile_draw_quad.cc", | |
293 "quads/tile_draw_quad.h", | |
294 "quads/yuv_video_draw_quad.cc", | |
295 "quads/yuv_video_draw_quad.h", | |
296 "resources/bitmap_content_layer_updater.cc", | |
297 "resources/bitmap_content_layer_updater.h", | |
298 "resources/bitmap_skpicture_content_layer_updater.cc", | |
299 "resources/bitmap_skpicture_content_layer_updater.h", | |
300 "resources/content_layer_updater.cc", | |
301 "resources/content_layer_updater.h", | |
302 "resources/direct_raster_worker_pool.cc", | |
303 "resources/direct_raster_worker_pool.h", | |
304 "resources/image_layer_updater.cc", | |
305 "resources/image_layer_updater.h", | |
306 "resources/image_raster_worker_pool.cc", | |
307 "resources/image_raster_worker_pool.h", | |
308 "resources/image_copy_raster_worker_pool.cc", | |
309 "resources/image_copy_raster_worker_pool.h", | |
310 "resources/layer_painter.h", | |
311 "resources/layer_quad.cc", | |
312 "resources/layer_quad.h", | |
313 "resources/layer_tiling_data.cc", | |
314 "resources/layer_tiling_data.h", | |
315 "resources/layer_updater.cc", | |
316 "resources/layer_updater.h", | |
317 "resources/managed_tile_state.cc", | |
318 "resources/managed_tile_state.h", | |
319 "resources/memory_history.cc", | |
320 "resources/memory_history.h", | |
321 "resources/picture.cc", | |
322 "resources/picture.h", | |
323 "resources/picture_layer_tiling.cc", | |
324 "resources/picture_layer_tiling.h", | |
325 "resources/picture_layer_tiling_set.cc", | |
326 "resources/picture_layer_tiling_set.h", | |
327 "resources/picture_pile.cc", | |
328 "resources/picture_pile.h", | |
329 "resources/picture_pile_base.cc", | |
330 "resources/picture_pile_base.h", | |
331 "resources/picture_pile_impl.cc", | |
332 "resources/picture_pile_impl.h", | |
333 "resources/pixel_buffer_raster_worker_pool.cc", | |
334 "resources/pixel_buffer_raster_worker_pool.h", | |
335 "resources/platform_color.h", | |
336 "resources/prioritized_resource.cc", | |
337 "resources/prioritized_resource.h", | |
338 "resources/prioritized_resource_manager.cc", | |
339 "resources/prioritized_resource_manager.h", | |
340 "resources/prioritized_tile_set.cc", | |
341 "resources/prioritized_tile_set.h", | |
342 "resources/priority_calculator.cc", | |
343 "resources/priority_calculator.h", | |
344 "resources/raster_mode.cc", | |
345 "resources/raster_mode.h", | |
346 "resources/raster_worker_pool.cc", | |
347 "resources/raster_worker_pool.h", | |
348 "resources/rasterizer.cc", | |
349 "resources/rasterizer.h", | |
350 "resources/release_callback.h", | |
351 "resources/resource.cc", | |
352 "resources/resource.h", | |
353 "resources/resource_format.h", | |
354 "resources/resource_format.cc", | |
355 "resources/resource_pool.cc", | |
356 "resources/resource_pool.h", | |
357 "resources/resource_provider.cc", | |
358 "resources/resource_provider.h", | |
359 "resources/resource_update.cc", | |
360 "resources/resource_update.h", | |
361 "resources/resource_update_controller.cc", | |
362 "resources/resource_update_controller.h", | |
363 "resources/resource_update_queue.cc", | |
364 "resources/resource_update_queue.h", | |
365 "resources/returned_resource.h", | |
366 "resources/scoped_resource.cc", | |
367 "resources/scoped_resource.h", | |
368 "resources/scoped_ui_resource.cc", | |
369 "resources/scoped_ui_resource.h", | |
370 "resources/shared_bitmap.cc", | |
371 "resources/shared_bitmap.h", | |
372 "resources/shared_bitmap_manager.h", | |
373 "resources/single_release_callback.cc", | |
374 "resources/single_release_callback.h", | |
375 "resources/skpicture_content_layer_updater.cc", | |
376 "resources/skpicture_content_layer_updater.h", | |
377 "resources/task_graph_runner.cc", | |
378 "resources/task_graph_runner.h", | |
379 "resources/texture_mailbox.cc", | |
380 "resources/texture_mailbox.h", | |
381 "resources/texture_mailbox_deleter.cc", | |
382 "resources/texture_mailbox_deleter.h", | |
383 "resources/texture_uploader.cc", | |
384 "resources/texture_uploader.h", | |
385 "resources/tile.cc", | |
386 "resources/tile.h", | |
387 "resources/tile_manager.cc", | |
388 "resources/tile_manager.h", | |
389 "resources/tile_priority.cc", | |
390 "resources/tile_priority.h", | |
391 "resources/transferable_resource.cc", | |
392 "resources/transferable_resource.h", | |
393 "resources/ui_resource_bitmap.cc", | |
394 "resources/ui_resource_bitmap.h", | |
395 "resources/ui_resource_client.h", | |
396 "resources/ui_resource_request.cc", | |
397 "resources/ui_resource_request.h", | |
398 "resources/video_resource_updater.cc", | |
399 "resources/video_resource_updater.h", | |
400 "scheduler/delay_based_time_source.cc", | |
401 "scheduler/delay_based_time_source.h", | |
402 "scheduler/draw_result.h", | |
403 "scheduler/scheduler.cc", | |
404 "scheduler/scheduler.h", | |
405 "scheduler/scheduler_settings.cc", | |
406 "scheduler/scheduler_settings.h", | |
407 "scheduler/scheduler_state_machine.cc", | |
408 "scheduler/scheduler_state_machine.h", | |
409 "scheduler/time_source.h", | |
410 "trees/blocking_task_runner.cc", | |
411 "trees/blocking_task_runner.h", | |
412 "trees/damage_tracker.cc", | |
413 "trees/damage_tracker.h", | |
414 "trees/layer_sorter.cc", | |
415 "trees/layer_sorter.h", | |
416 "trees/layer_tree_host.cc", | |
417 "trees/layer_tree_host.h", | |
418 "trees/layer_tree_host_client.h", | |
419 "trees/layer_tree_host_common.cc", | |
420 "trees/layer_tree_host_common.h", | |
421 "trees/layer_tree_host_impl.cc", | |
422 "trees/layer_tree_host_impl.h", | |
423 "trees/layer_tree_impl.cc", | |
424 "trees/layer_tree_impl.h", | |
425 "trees/layer_tree_settings.cc", | |
426 "trees/layer_tree_settings.h", | |
427 "trees/occlusion_tracker.cc", | |
428 "trees/occlusion_tracker.h", | |
429 "trees/proxy.cc", | |
430 "trees/proxy.h", | |
431 "trees/proxy_timing_history.cc", | |
432 "trees/proxy_timing_history.h", | |
433 "trees/quad_culler.cc", | |
434 "trees/quad_culler.h", | |
435 "trees/single_thread_proxy.cc", | |
436 "trees/single_thread_proxy.h", | |
437 "trees/thread_proxy.cc", | |
438 "trees/thread_proxy.h", | |
439 "trees/tree_synchronizer.cc", | |
440 "trees/tree_synchronizer.h", | |
441 ] | |
442 | |
443 if (is_win) { | |
444 cflags = [ "/wd4267" ] # size_t -> int | |
445 } | |
446 | |
447 deps = [ | |
448 "//base", | |
449 "//base/third_party/dynamic_annotations", | |
450 #"//gpu", TODO(GYP) | |
jamesr
2014/05/28 23:24:15
hmm, why doesn't this work in this patch?
brettw
2014/05/29 16:50:14
Good point, fixed
| |
451 #"//media", TODO(GYP) | |
452 "//skia", | |
453 "//ui/events:events_base", | |
454 "//ui/gfx", | |
455 "//ui/gfx/geometry", | |
456 "//ui/gl", | |
457 ] | |
458 forward_dependent_configs_from = [ | |
459 "//skia", | |
460 ] | |
461 | |
462 defined = [ "CC_IMPLEMENTATION=1" ] | |
463 | |
464 if (!is_debug && is_win) { | |
465 configs -= [ "//build/config/compiler:optimize" ] | |
466 configs += [ "//build/config/compiler:optimize_max" ] | |
467 } | |
468 } | |
469 | |
470 component("cc_surfaces") { | |
471 sources = [ | |
472 "surfaces/surface.cc", | |
473 "surfaces/surface.h", | |
474 "surfaces/surface_aggregator.cc", | |
475 "surfaces/surface_aggregator.h", | |
476 "surfaces/surface_manager.cc", | |
477 "surfaces/surface_manager.h", | |
478 "surfaces/surfaces_export.h", | |
479 ] | |
480 | |
481 defines = [ "CC_SURFACES_IMPLEMENTATION=1" ] | |
482 | |
483 deps = [ | |
484 ":cc", | |
485 "//base", | |
486 "//base/third_party/dynamic_annotations", | |
487 "//skia", | |
488 "//ui/gfx", | |
489 "//ui/gfx/geometry", | |
490 ] | |
491 } | |
492 | |
493 source_set("test_support") { | |
494 sources = [ | |
495 "test/animation_test_common.cc", | |
496 "test/animation_test_common.h", | |
497 "test/begin_frame_args_test.cc", | |
498 "test/begin_frame_args_test.h", | |
499 "test/fake_content_layer.cc", | |
500 "test/fake_content_layer.h", | |
501 "test/fake_content_layer_client.cc", | |
502 "test/fake_content_layer_client.h", | |
503 "test/fake_content_layer_impl.cc", | |
504 "test/fake_content_layer_impl.h", | |
505 "test/fake_delegated_renderer_layer.cc", | |
506 "test/fake_delegated_renderer_layer.h", | |
507 "test/fake_delegated_renderer_layer_impl.cc", | |
508 "test/fake_delegated_renderer_layer_impl.h", | |
509 "test/fake_impl_proxy.h", | |
510 "test/fake_layer_tree_host.cc", | |
511 "test/fake_layer_tree_host.h", | |
512 "test/fake_layer_tree_host_client.cc", | |
513 "test/fake_layer_tree_host_client.h", | |
514 "test/fake_layer_tree_host_impl.cc", | |
515 "test/fake_layer_tree_host_impl.h", | |
516 "test/fake_layer_tree_host_impl_client.cc", | |
517 "test/fake_layer_tree_host_impl_client.h", | |
518 "test/fake_output_surface.cc", | |
519 "test/fake_output_surface.h", | |
520 "test/fake_output_surface_client.cc", | |
521 "test/fake_output_surface_client.h", | |
522 "test/fake_painted_scrollbar_layer.cc", | |
523 "test/fake_painted_scrollbar_layer.h", | |
524 "test/fake_picture_layer.cc", | |
525 "test/fake_picture_layer.h", | |
526 "test/fake_picture_layer_impl.cc", | |
527 "test/fake_picture_layer_impl.h", | |
528 "test/fake_picture_layer_tiling_client.cc", | |
529 "test/fake_picture_layer_tiling_client.h", | |
530 "test/fake_picture_pile_impl.cc", | |
531 "test/fake_picture_pile_impl.h", | |
532 "test/fake_proxy.cc", | |
533 "test/fake_proxy.h", | |
534 "test/fake_renderer_client.cc", | |
535 "test/fake_renderer_client.h", | |
536 "test/fake_rendering_stats_instrumentation.h", | |
537 "test/fake_scoped_ui_resource.cc", | |
538 "test/fake_scoped_ui_resource.h", | |
539 "test/fake_scrollbar.cc", | |
540 "test/fake_scrollbar.h", | |
541 "test/fake_tile_manager.cc", | |
542 "test/fake_tile_manager.h", | |
543 "test/fake_tile_manager_client.cc", | |
544 "test/fake_tile_manager_client.h", | |
545 "test/fake_ui_resource_layer_tree_host_impl.cc", | |
546 "test/fake_ui_resource_layer_tree_host_impl.h", | |
547 "test/fake_video_frame_provider.cc", | |
548 "test/fake_video_frame_provider.h", | |
549 "test/geometry_test_utils.cc", | |
550 "test/geometry_test_utils.h", | |
551 "test/test_in_process_context_provider.cc", | |
552 "test/test_in_process_context_provider.h", | |
553 "test/impl_side_painting_settings.h", | |
554 "test/layer_test_common.cc", | |
555 "test/layer_test_common.h", | |
556 "test/layer_tree_host_common_test.cc", | |
557 "test/layer_tree_host_common_test.h", | |
558 "test/layer_tree_json_parser.cc", | |
559 "test/layer_tree_json_parser.h", | |
560 "test/layer_tree_pixel_test.cc", | |
561 "test/layer_tree_pixel_test.h", | |
562 "test/layer_tree_test.cc", | |
563 "test/layer_tree_test.h", | |
564 "test/mock_quad_culler.cc", | |
565 "test/mock_quad_culler.h", | |
566 "test/ordered_texture_map.cc", | |
567 "test/ordered_texture_map.h", | |
568 "test/paths.cc", | |
569 "test/paths.h", | |
570 "test/pixel_comparator.cc", | |
571 "test/pixel_comparator.h", | |
572 "test/pixel_test.cc", | |
573 "test/pixel_test.h", | |
574 "test/pixel_test_output_surface.cc", | |
575 "test/pixel_test_output_surface.h", | |
576 "test/pixel_test_software_output_device.cc", | |
577 "test/pixel_test_software_output_device.h", | |
578 "test/pixel_test_utils.cc", | |
579 "test/pixel_test_utils.h", | |
580 "test/render_pass_test_common.cc", | |
581 "test/render_pass_test_common.h", | |
582 "test/render_pass_test_utils.cc", | |
583 "test/render_pass_test_utils.h", | |
584 "test/scheduler_test_common.cc", | |
585 "test/scheduler_test_common.h", | |
586 "test/skia_common.cc", | |
587 "test/skia_common.h", | |
588 "test/solid_color_content_layer_client.cc", | |
589 "test/solid_color_content_layer_client.h", | |
590 "test/test_context_provider.cc", | |
591 "test/test_context_provider.h", | |
592 "test/test_context_support.cc", | |
593 "test/test_context_support.h", | |
594 "test/test_gles2_interface.cc", | |
595 "test/test_gles2_interface.h", | |
596 "test/test_occlusion_tracker.h", | |
597 "test/test_shared_bitmap_manager.cc", | |
598 "test/test_shared_bitmap_manager.h", | |
599 "test/test_texture.cc", | |
600 "test/test_texture.h", | |
601 "test/test_tile_priorities.cc", | |
602 "test/test_tile_priorities.h", | |
603 "test/test_web_graphics_context_3d.cc", | |
604 "test/test_web_graphics_context_3d.h", | |
605 "test/tiled_layer_test_common.cc", | |
606 "test/tiled_layer_test_common.h", | |
607 ] | |
608 | |
609 include_dirs = [ | |
610 ".", | |
611 "test", | |
612 ] | |
613 | |
614 deps = [ | |
615 "//base", | |
616 "//base/third_party/dynamic_annotations", | |
617 "//gpu:gpu_unittest_utils", | |
618 "//gpu/command_buffer/client:gles2_c_lib", | |
619 "//gpu/command_buffer/client:gles2_implementation", | |
620 "//gpu/command_buffer/client:gl_in_process_context", | |
621 "//gpu/skia_bindings", | |
622 "//skia", | |
623 "//testing/gmock", | |
624 "//testing/gtest", | |
625 # TODO(GYP) | |
626 #"//third_party/mesa/mesa.gyp:osmesa", | |
627 "//ui/gfx", | |
628 "//ui/gfx/geometry", | |
629 "//ui/gfx:gfx_test_support", | |
630 "//ui/gl", | |
631 ] | |
632 } | |
633 | |
634 # TODO(GYP) make these tests link when all deps are resolved. | |
635 if (false) { | |
636 | |
637 test("cc_unittests") { | |
638 sources = [ | |
639 "animation/animation_unittest.cc", | |
640 "animation/keyframed_animation_curve_unittest.cc", | |
641 "animation/layer_animation_controller_unittest.cc", | |
642 "animation/scroll_offset_animation_curve_unittest.cc", | |
643 "animation/scrollbar_animation_controller_linear_fade_unittest.cc", | |
644 "animation/scrollbar_animation_controller_thinning_unittest.cc", | |
645 "animation/transform_operations_unittest.cc", | |
646 "base/float_quad_unittest.cc", | |
647 "base/math_util_unittest.cc", | |
648 "base/region_unittest.cc", | |
649 "base/rolling_time_delta_history_unittest.cc", | |
650 "base/scoped_ptr_vector_unittest.cc", | |
651 "base/tiling_data_unittest.cc", | |
652 "base/util_unittest.cc", | |
653 "debug/micro_benchmark_controller_unittest.cc", | |
654 "input/top_controls_manager_unittest.cc", | |
655 "layers/content_layer_unittest.cc", | |
656 "layers/contents_scaling_layer_unittest.cc", | |
657 "layers/delegated_frame_provider_unittest.cc", | |
658 "layers/delegated_frame_resource_collection_unittest.cc", | |
659 "layers/delegated_renderer_layer_impl_unittest.cc", | |
660 "layers/heads_up_display_unittest.cc", | |
661 "layers/heads_up_display_layer_impl_unittest.cc", | |
662 "layers/io_surface_layer_impl_unittest.cc", | |
663 "layers/layer_impl_unittest.cc", | |
664 "layers/layer_iterator_unittest.cc", | |
665 "layers/layer_position_constraint_unittest.cc", | |
666 "layers/layer_unittest.cc", | |
667 "layers/layer_utils_unittest.cc", | |
668 "layers/nine_patch_layer_impl_unittest.cc", | |
669 "layers/nine_patch_layer_unittest.cc", | |
670 "layers/painted_scrollbar_layer_impl_unittest.cc", | |
671 "layers/picture_image_layer_impl_unittest.cc", | |
672 "layers/picture_layer_impl_unittest.cc", | |
673 "layers/picture_layer_unittest.cc", | |
674 "layers/render_surface_unittest.cc", | |
675 "layers/render_surface_impl_unittest.cc", | |
676 "layers/scrollbar_layer_unittest.cc", | |
677 "layers/solid_color_layer_impl_unittest.cc", | |
678 "layers/solid_color_scrollbar_layer_impl_unittest.cc", | |
679 "layers/surface_layer_impl_unittest.cc", | |
680 "layers/texture_layer_unittest.cc", | |
681 "layers/texture_layer_impl_unittest.cc", | |
682 "layers/tiled_layer_impl_unittest.cc", | |
683 "layers/tiled_layer_unittest.cc", | |
684 "layers/ui_resource_layer_impl_unittest.cc", | |
685 "layers/ui_resource_layer_unittest.cc", | |
686 "layers/video_layer_impl_unittest.cc", | |
687 "output/begin_frame_args_unittest.cc", | |
688 "output/delegating_renderer_unittest.cc", | |
689 "output/filter_operations_unittest.cc", | |
690 "output/gl_renderer_unittest.cc", | |
691 "output/output_surface_unittest.cc", | |
692 "output/overlay_unittest.cc", | |
693 "output/renderer_pixeltest.cc", | |
694 "output/renderer_unittest.cc", | |
695 "output/shader_unittest.cc", | |
696 "output/software_renderer_unittest.cc", | |
697 "quads/draw_quad_unittest.cc", | |
698 "quads/render_pass_unittest.cc", | |
699 "resources/layer_quad_unittest.cc", | |
700 "resources/picture_layer_tiling_set_unittest.cc", | |
701 "resources/picture_layer_tiling_unittest.cc", | |
702 "resources/picture_pile_impl_unittest.cc", | |
703 "resources/picture_pile_unittest.cc", | |
704 "resources/picture_unittest.cc", | |
705 "resources/prioritized_resource_unittest.cc", | |
706 "resources/prioritized_tile_set_unittest.cc", | |
707 "resources/raster_worker_pool_unittest.cc", | |
708 "resources/resource_provider_unittest.cc", | |
709 "resources/resource_update_controller_unittest.cc", | |
710 "resources/scoped_resource_unittest.cc", | |
711 "resources/task_graph_runner_unittest.cc", | |
712 "resources/texture_mailbox_deleter_unittest.cc", | |
713 "resources/texture_uploader_unittest.cc", | |
714 "resources/tile_manager_unittest.cc", | |
715 "resources/tile_priority_unittest.cc", | |
716 "resources/video_resource_updater_unittest.cc", | |
717 "scheduler/delay_based_time_source_unittest.cc", | |
718 "scheduler/scheduler_state_machine_unittest.cc", | |
719 "scheduler/scheduler_unittest.cc", | |
720 "test/layer_tree_json_parser_unittest.cc", | |
721 "test/test_web_graphics_context_3d_unittest.cc", | |
722 "trees/damage_tracker_unittest.cc", | |
723 "trees/layer_sorter_unittest.cc", | |
724 "trees/layer_tree_host_common_unittest.cc", | |
725 "trees/layer_tree_host_impl_unittest.cc", | |
726 "trees/layer_tree_host_pixeltest_blending.cc", | |
727 "trees/layer_tree_host_pixeltest_filters.cc", | |
728 "trees/layer_tree_host_pixeltest_masks.cc", | |
729 "trees/layer_tree_host_pixeltest_on_demand_raster.cc", | |
730 "trees/layer_tree_host_pixeltest_readback.cc", | |
731 "trees/layer_tree_host_unittest.cc", | |
732 "trees/layer_tree_host_unittest_animation.cc", | |
733 "trees/layer_tree_host_unittest_context.cc", | |
734 "trees/layer_tree_host_unittest_copyrequest.cc", | |
735 "trees/layer_tree_host_unittest_damage.cc", | |
736 "trees/layer_tree_host_unittest_delegated.cc", | |
737 "trees/layer_tree_host_unittest_occlusion.cc", | |
738 "trees/layer_tree_host_unittest_no_message_loop.cc", | |
739 "trees/layer_tree_host_unittest_picture.cc", | |
740 "trees/layer_tree_host_unittest_proxy.cc", | |
741 "trees/layer_tree_host_unittest_scroll.cc", | |
742 "trees/layer_tree_host_unittest_video.cc", | |
743 "trees/layer_tree_impl_unittest.cc", | |
744 "trees/occlusion_tracker_unittest.cc", | |
745 "trees/tree_synchronizer_unittest.cc", | |
746 | |
747 # Surfaces test files. | |
748 "surfaces/surface_aggregator_test_helpers.cc", | |
749 "surfaces/surface_aggregator_test_helpers.h", | |
750 "surfaces/surface_aggregator_unittest.cc", | |
751 "surfaces/surface_unittest.cc", | |
752 "surfaces/surfaces_pixeltest.cc", | |
753 | |
754 # Setup. | |
755 "test/run_all_unittests.cc", | |
756 "test/cc_test_suite.cc", | |
757 ] | |
758 | |
759 deps = [ | |
760 ":cc", | |
761 ":cc_surfaces", | |
762 ":test_support", | |
763 "//base/test:test_support", | |
764 "//gpu", | |
765 "//gpu:gpu_unittest_utils", | |
766 # TODO(GYP) | |
767 #"//media", | |
768 "//testing/gmock", | |
769 "//testing/gtest", | |
770 "//ui/events:events_base", | |
771 "//ui/gfx", | |
772 "//ui/gfx/geometry", | |
773 ] | |
774 } | |
775 | |
776 test("cc_perftests") { | |
777 # TODO(GYP) | |
778 } | |
779 | |
780 } # if false | |
OLD | NEW |