Remove parts of //cc we aren't using

The only thing we're using //cc for in Mojo is as part of the
implementation of the surfaces service. Thus we only need the renderers
(in //cc/output), the resource counting system (part of //cc/resources)
and common code to support that. We don't need cc's animation, layers,
trees, input filtering or other systems.

R=tonyg@chromium.org

Review URL: https://codereview.chromium.org/1057283003
diff --git a/cc/BUILD.gn b/cc/BUILD.gn
index b4e5ffa..b6af2d5 100644
--- a/cc/BUILD.gn
+++ b/cc/BUILD.gn
@@ -4,191 +4,21 @@
 
 import("//testing/test.gni")
 
-component("cc") {
+source_set("cc") {
   sources = [
-    "animation/animation.cc",
-    "animation/animation.h",
-    "animation/animation_curve.cc",
-    "animation/animation_curve.h",
-    "animation/animation_delegate.h",
-    "animation/animation_events.cc",
-    "animation/animation_events.h",
-    "animation/animation_id_provider.cc",
-    "animation/animation_id_provider.h",
-    "animation/animation_registrar.cc",
-    "animation/animation_registrar.h",
-    "animation/keyframed_animation_curve.cc",
-    "animation/keyframed_animation_curve.h",
-    "animation/layer_animation_controller.cc",
-    "animation/layer_animation_controller.h",
-    "animation/layer_animation_event_observer.h",
-    "animation/layer_animation_value_observer.h",
-    "animation/layer_animation_value_provider.h",
-    "animation/scroll_offset_animation_curve.cc",
-    "animation/scroll_offset_animation_curve.h",
-    "animation/scrollbar_animation_controller.cc",
-    "animation/scrollbar_animation_controller.h",
-    "animation/scrollbar_animation_controller_linear_fade.cc",
-    "animation/scrollbar_animation_controller_linear_fade.h",
-    "animation/scrollbar_animation_controller_thinning.cc",
-    "animation/scrollbar_animation_controller_thinning.h",
-    "animation/timing_function.cc",
-    "animation/timing_function.h",
-    "animation/transform_operation.cc",
-    "animation/transform_operation.h",
-    "animation/transform_operations.cc",
-    "animation/transform_operations.h",
-    "debug/benchmark_instrumentation.cc",
-    "debug/benchmark_instrumentation.h",
-    "debug/debug_colors.cc",
-    "debug/debug_colors.h",
-    "debug/debug_rect_history.cc",
-    "debug/debug_rect_history.h",
-    "debug/devtools_instrumentation.h",
-    "debug/frame_rate_counter.cc",
-    "debug/frame_rate_counter.h",
     "debug/frame_timing_request.cc",
     "debug/frame_timing_request.h",
-    "debug/frame_timing_tracker.cc",
-    "debug/frame_timing_tracker.h",
-    "debug/frame_viewer_instrumentation.cc",
-    "debug/frame_viewer_instrumentation.h",
-    "debug/invalidation_benchmark.cc",
-    "debug/invalidation_benchmark.h",
     "debug/lap_timer.cc",
     "debug/lap_timer.h",
-    "debug/layer_tree_debug_state.cc",
-    "debug/layer_tree_debug_state.h",
-    "debug/micro_benchmark.cc",
-    "debug/micro_benchmark.h",
-    "debug/micro_benchmark_controller.cc",
-    "debug/micro_benchmark_controller.h",
-    "debug/micro_benchmark_controller_impl.cc",
-    "debug/micro_benchmark_controller_impl.h",
-    "debug/micro_benchmark_impl.cc",
-    "debug/micro_benchmark_impl.h",
     "debug/paint_time_counter.cc",
     "debug/paint_time_counter.h",
-    "debug/picture_debug_util.cc",
-    "debug/picture_debug_util.h",
-    "debug/picture_record_benchmark.cc",
-    "debug/picture_record_benchmark.h",
-    "debug/rasterize_and_record_benchmark.cc",
-    "debug/rasterize_and_record_benchmark.h",
-    "debug/rasterize_and_record_benchmark_impl.cc",
-    "debug/rasterize_and_record_benchmark_impl.h",
     "debug/rendering_stats.cc",
     "debug/rendering_stats.h",
     "debug/rendering_stats_instrumentation.cc",
     "debug/rendering_stats_instrumentation.h",
     "debug/ring_buffer.h",
-    "debug/traced_picture.cc",
-    "debug/traced_picture.h",
     "debug/traced_value.cc",
     "debug/traced_value.h",
-    "debug/unittest_only_benchmark.cc",
-    "debug/unittest_only_benchmark.h",
-    "debug/unittest_only_benchmark_impl.cc",
-    "debug/unittest_only_benchmark_impl.h",
-    "input/input_handler.cc",
-    "input/input_handler.h",
-    "input/layer_selection_bound.cc",
-    "input/layer_selection_bound.h",
-    "input/page_scale_animation.cc",
-    "input/page_scale_animation.h",
-    "input/scroll_elasticity_helper.cc",
-    "input/scroll_elasticity_helper.h",
-    "input/selection_bound_type.h",
-    "input/top_controls_manager.cc",
-    "input/top_controls_manager.h",
-    "input/top_controls_manager_client.h",
-    "layers/append_quads_data.h",
-    "layers/content_layer.cc",
-    "layers/content_layer.h",
-    "layers/content_layer_client.h",
-    "layers/contents_scaling_layer.cc",
-    "layers/contents_scaling_layer.h",
-    "layers/delegated_frame_provider.cc",
-    "layers/delegated_frame_provider.h",
-    "layers/delegated_frame_resource_collection.cc",
-    "layers/delegated_frame_resource_collection.h",
-    "layers/delegated_renderer_layer.cc",
-    "layers/delegated_renderer_layer.h",
-    "layers/delegated_renderer_layer_impl.cc",
-    "layers/delegated_renderer_layer_impl.h",
-    "layers/draw_properties.h",
-    "layers/heads_up_display_layer.cc",
-    "layers/heads_up_display_layer.h",
-    "layers/heads_up_display_layer_impl.cc",
-    "layers/heads_up_display_layer_impl.h",
-    "layers/image_layer.cc",
-    "layers/image_layer.h",
-    "layers/io_surface_layer.cc",
-    "layers/io_surface_layer.h",
-    "layers/io_surface_layer_impl.cc",
-    "layers/io_surface_layer_impl.h",
-    "layers/layer.cc",
-    "layers/layer.h",
-    "layers/layer_client.h",
-    "layers/layer_impl.cc",
-    "layers/layer_impl.h",
-    "layers/layer_iterator.h",
-    "layers/layer_lists.cc",
-    "layers/layer_lists.h",
-    "layers/layer_position_constraint.cc",
-    "layers/layer_position_constraint.h",
-    "layers/layer_utils.cc",
-    "layers/layer_utils.h",
-    "layers/nine_patch_layer.cc",
-    "layers/nine_patch_layer.h",
-    "layers/nine_patch_layer_impl.cc",
-    "layers/nine_patch_layer_impl.h",
-    "layers/paint_properties.h",
-    "layers/painted_scrollbar_layer.cc",
-    "layers/painted_scrollbar_layer.h",
-    "layers/painted_scrollbar_layer_impl.cc",
-    "layers/painted_scrollbar_layer_impl.h",
-    "layers/picture_image_layer.cc",
-    "layers/picture_image_layer.h",
-    "layers/picture_image_layer_impl.cc",
-    "layers/picture_image_layer_impl.h",
-    "layers/picture_layer.cc",
-    "layers/picture_layer.h",
-    "layers/picture_layer_impl.cc",
-    "layers/picture_layer_impl.h",
-    "layers/render_pass_sink.h",
-    "layers/render_surface.cc",
-    "layers/render_surface.h",
-    "layers/render_surface_impl.cc",
-    "layers/render_surface_impl.h",
-    "layers/scrollbar_layer_impl_base.cc",
-    "layers/scrollbar_layer_impl_base.h",
-    "layers/scrollbar_layer_interface.h",
-    "layers/solid_color_layer.cc",
-    "layers/solid_color_layer.h",
-    "layers/solid_color_layer_impl.cc",
-    "layers/solid_color_layer_impl.h",
-    "layers/solid_color_scrollbar_layer.cc",
-    "layers/solid_color_scrollbar_layer.h",
-    "layers/solid_color_scrollbar_layer_impl.cc",
-    "layers/solid_color_scrollbar_layer_impl.h",
-    "layers/surface_layer.cc",
-    "layers/surface_layer.h",
-    "layers/surface_layer_impl.cc",
-    "layers/surface_layer_impl.h",
-    "layers/texture_layer.cc",
-    "layers/texture_layer.h",
-    "layers/texture_layer_client.h",
-    "layers/texture_layer_impl.cc",
-    "layers/texture_layer_impl.h",
-    "layers/tiled_layer.cc",
-    "layers/tiled_layer.h",
-    "layers/tiled_layer_impl.cc",
-    "layers/tiled_layer_impl.h",
-    "layers/ui_resource_layer.cc",
-    "layers/ui_resource_layer.h",
-    "layers/ui_resource_layer_impl.cc",
-    "layers/ui_resource_layer_impl.h",
     "output/begin_frame_args.cc",
     "output/begin_frame_args.h",
     "output/bsp_tree.cc",
@@ -227,10 +57,6 @@
     "output/gl_renderer.h",
     "output/gl_renderer_draw_cache.cc",
     "output/gl_renderer_draw_cache.h",
-    "output/latency_info_swap_promise.cc",
-    "output/latency_info_swap_promise.h",
-    "output/managed_memory_policy.cc",
-    "output/managed_memory_policy.h",
     "output/output_surface.cc",
     "output/output_surface.h",
     "output/output_surface_client.h",
@@ -261,9 +87,6 @@
     "output/software_renderer.h",
     "output/static_geometry_binding.cc",
     "output/static_geometry_binding.h",
-    "output/swap_promise.h",
-    "output/viewport_selection_bound.cc",
-    "output/viewport_selection_bound.h",
     "output/vsync_parameter_observer.h",
     "quads/checkerboard_draw_quad.cc",
     "quads/checkerboard_draw_quad.h",
@@ -281,8 +104,6 @@
     "quads/largest_draw_quad.h",
     "quads/list_container.cc",
     "quads/list_container.h",
-    "quads/picture_draw_quad.cc",
-    "quads/picture_draw_quad.h",
     "quads/render_pass.cc",
     "quads/render_pass.h",
     "quads/render_pass_draw_quad.cc",
@@ -303,86 +124,10 @@
     "quads/tile_draw_quad.h",
     "quads/yuv_video_draw_quad.cc",
     "quads/yuv_video_draw_quad.h",
-    "resources/bitmap_content_layer_updater.cc",
-    "resources/bitmap_content_layer_updater.h",
-    "resources/bitmap_skpicture_content_layer_updater.cc",
-    "resources/bitmap_skpicture_content_layer_updater.h",
-    "resources/bitmap_tile_task_worker_pool.cc",
-    "resources/bitmap_tile_task_worker_pool.h",
-    "resources/clip_display_item.cc",
-    "resources/clip_display_item.h",
-    "resources/clip_path_display_item.cc",
-    "resources/clip_path_display_item.h",
-    "resources/compositing_display_item.cc",
-    "resources/compositing_display_item.h",
-    "resources/content_layer_updater.cc",
-    "resources/content_layer_updater.h",
-    "resources/display_item.cc",
-    "resources/display_item.h",
-    "resources/display_item_list.cc",
-    "resources/display_item_list.h",
-    "resources/display_list_raster_source.cc",
-    "resources/display_list_raster_source.h",
-    "resources/display_list_recording_source.cc",
-    "resources/display_list_recording_source.h",
-    "resources/drawing_display_item.cc",
-    "resources/drawing_display_item.h",
-    "resources/eviction_tile_priority_queue.cc",
-    "resources/eviction_tile_priority_queue.h",
-    "resources/filter_display_item.cc",
-    "resources/filter_display_item.h",
-    "resources/float_clip_display_item.cc",
-    "resources/float_clip_display_item.h",
-    "resources/gpu_rasterizer.cc",
-    "resources/gpu_rasterizer.h",
-    "resources/gpu_tile_task_worker_pool.cc",
-    "resources/gpu_tile_task_worker_pool.h",
-    "resources/image_layer_updater.cc",
-    "resources/image_layer_updater.h",
     "resources/layer_painter.h",
     "resources/layer_quad.cc",
     "resources/layer_quad.h",
-    "resources/layer_tiling_data.cc",
-    "resources/layer_tiling_data.h",
-    "resources/layer_updater.cc",
-    "resources/layer_updater.h",
-    "resources/memory_history.cc",
-    "resources/memory_history.h",
-    "resources/one_copy_tile_task_worker_pool.cc",
-    "resources/one_copy_tile_task_worker_pool.h",
-    "resources/picture.cc",
-    "resources/picture.h",
-    "resources/picture_layer_tiling.cc",
-    "resources/picture_layer_tiling.h",
-    "resources/picture_layer_tiling_set.cc",
-    "resources/picture_layer_tiling_set.h",
-    "resources/picture_pile.cc",
-    "resources/picture_pile.h",
-    "resources/picture_pile_impl.cc",
-    "resources/picture_pile_impl.h",
-    "resources/pixel_buffer_tile_task_worker_pool.cc",
-    "resources/pixel_buffer_tile_task_worker_pool.h",
-    "resources/pixel_ref_map.cc",
-    "resources/pixel_ref_map.h",
     "resources/platform_color.h",
-    "resources/prioritized_resource.cc",
-    "resources/prioritized_resource.h",
-    "resources/prioritized_resource_manager.cc",
-    "resources/prioritized_resource_manager.h",
-    "resources/priority_calculator.cc",
-    "resources/priority_calculator.h",
-    "resources/raster_buffer.cc",
-    "resources/raster_buffer.h",
-    "resources/raster_source.h",
-    "resources/raster_source_helper.cc",
-    "resources/raster_source_helper.h",
-    "resources/raster_tile_priority_queue.cc",
-    "resources/raster_tile_priority_queue.h",
-    "resources/raster_tile_priority_queue_all.cc",
-    "resources/raster_tile_priority_queue_all.h",
-    "resources/raster_tile_priority_queue_required.cc",
-    "resources/raster_tile_priority_queue_required.h",
-    "resources/rasterizer.h",
     "resources/release_callback.h",
     "resources/resource.cc",
     "resources/resource.h",
@@ -392,19 +137,9 @@
     "resources/resource_pool.h",
     "resources/resource_provider.cc",
     "resources/resource_provider.h",
-    "resources/resource_update.cc",
-    "resources/resource_update.h",
-    "resources/resource_update_controller.cc",
-    "resources/resource_update_controller.h",
-    "resources/resource_update_queue.cc",
-    "resources/resource_update_queue.h",
     "resources/returned_resource.h",
-    "resources/scoped_gpu_raster.cc",
-    "resources/scoped_gpu_raster.h",
     "resources/scoped_resource.cc",
     "resources/scoped_resource.h",
-    "resources/scoped_ui_resource.cc",
-    "resources/scoped_ui_resource.h",
     "resources/shared_bitmap.cc",
     "resources/shared_bitmap.h",
     "resources/shared_bitmap_manager.h",
@@ -412,12 +147,6 @@
     "resources/single_release_callback.h",
     "resources/single_release_callback_impl.cc",
     "resources/single_release_callback_impl.h",
-    "resources/skpicture_content_layer_updater.cc",
-    "resources/skpicture_content_layer_updater.h",
-    "resources/software_rasterizer.cc",
-    "resources/software_rasterizer.h",
-    "resources/task_graph_runner.cc",
-    "resources/task_graph_runner.h",
     "resources/texture_compressor.cc",
     "resources/texture_compressor.h",
     "resources/texture_compressor_etc1.cc",
@@ -428,35 +157,8 @@
     "resources/texture_mailbox_deleter.h",
     "resources/texture_uploader.cc",
     "resources/texture_uploader.h",
-    "resources/tile.cc",
-    "resources/tile.h",
-    "resources/tile_draw_info.cc",
-    "resources/tile_draw_info.h",
-    "resources/tile_manager.cc",
-    "resources/tile_manager.h",
-    "resources/tile_priority.cc",
-    "resources/tile_priority.h",
-    "resources/tile_task_runner.cc",
-    "resources/tile_task_runner.h",
-    "resources/tile_task_worker_pool.cc",
-    "resources/tile_task_worker_pool.h",
-    "resources/tiling_set_eviction_queue.cc",
-    "resources/tiling_set_eviction_queue.h",
-    "resources/tiling_set_raster_queue_all.cc",
-    "resources/tiling_set_raster_queue_all.h",
-    "resources/tiling_set_raster_queue_required.cc",
-    "resources/tiling_set_raster_queue_required.h",
     "resources/transferable_resource.cc",
     "resources/transferable_resource.h",
-    "resources/transform_display_item.cc",
-    "resources/transform_display_item.h",
-    "resources/ui_resource_bitmap.cc",
-    "resources/ui_resource_bitmap.h",
-    "resources/ui_resource_client.h",
-    "resources/ui_resource_request.cc",
-    "resources/ui_resource_request.h",
-    "resources/zero_copy_tile_task_worker_pool.cc",
-    "resources/zero_copy_tile_task_worker_pool.h",
     "scheduler/begin_frame_source.cc",
     "scheduler/begin_frame_source.h",
     "scheduler/commit_earlyout_reason.h",
@@ -469,47 +171,6 @@
     "scheduler/scheduler_settings.h",
     "scheduler/scheduler_state_machine.cc",
     "scheduler/scheduler_state_machine.h",
-    "trees/blocking_task_runner.cc",
-    "trees/blocking_task_runner.h",
-    "trees/damage_tracker.cc",
-    "trees/damage_tracker.h",
-    "trees/draw_property_utils.cc",
-    "trees/draw_property_utils.h",
-    "trees/latency_info_swap_promise_monitor.cc",
-    "trees/latency_info_swap_promise_monitor.h",
-    "trees/layer_tree_host.cc",
-    "trees/layer_tree_host.h",
-    "trees/layer_tree_host_client.h",
-    "trees/layer_tree_host_common.cc",
-    "trees/layer_tree_host_common.h",
-    "trees/layer_tree_host_impl.cc",
-    "trees/layer_tree_host_impl.h",
-    "trees/layer_tree_host_single_thread_client.h",
-    "trees/layer_tree_impl.cc",
-    "trees/layer_tree_impl.h",
-    "trees/layer_tree_settings.cc",
-    "trees/layer_tree_settings.h",
-    "trees/occlusion.cc",
-    "trees/occlusion.h",
-    "trees/occlusion_tracker.cc",
-    "trees/occlusion_tracker.h",
-    "trees/property_tree.cc",
-    "trees/property_tree.h",
-    "trees/property_tree_builder.cc",
-    "trees/property_tree_builder.h",
-    "trees/proxy.cc",
-    "trees/proxy.h",
-    "trees/proxy_timing_history.cc",
-    "trees/proxy_timing_history.h",
-    "trees/scoped_abort_remaining_swap_promises.h",
-    "trees/single_thread_proxy.cc",
-    "trees/single_thread_proxy.h",
-    "trees/swap_promise_monitor.cc",
-    "trees/swap_promise_monitor.h",
-    "trees/thread_proxy.cc",
-    "trees/thread_proxy.h",
-    "trees/tree_synchronizer.cc",
-    "trees/tree_synchronizer.h",
   ]
 
   # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
@@ -542,79 +203,20 @@
 source_set("test_support") {
   testonly = true
   sources = [
-    "test/animation_test_common.cc",
-    "test/animation_test_common.h",
     "test/begin_frame_args_test.cc",
     "test/begin_frame_args_test.h",
     "test/failure_output_surface.cc",
     "test/failure_output_surface.h",
-    "test/fake_content_layer.cc",
-    "test/fake_content_layer.h",
-    "test/fake_content_layer_client.cc",
-    "test/fake_content_layer_client.h",
-    "test/fake_content_layer_impl.cc",
-    "test/fake_content_layer_impl.h",
-    "test/fake_delegated_renderer_layer.cc",
-    "test/fake_delegated_renderer_layer.h",
-    "test/fake_delegated_renderer_layer_impl.cc",
-    "test/fake_delegated_renderer_layer_impl.h",
     "test/fake_external_begin_frame_source.cc",
     "test/fake_external_begin_frame_source.h",
-    "test/fake_impl_proxy.h",
-    "test/fake_layer_tree_host.cc",
-    "test/fake_layer_tree_host.h",
-    "test/fake_layer_tree_host_client.cc",
-    "test/fake_layer_tree_host_client.h",
-    "test/fake_layer_tree_host_impl.cc",
-    "test/fake_layer_tree_host_impl.h",
-    "test/fake_layer_tree_host_impl_client.cc",
-    "test/fake_layer_tree_host_impl_client.h",
     "test/fake_output_surface.cc",
     "test/fake_output_surface.h",
     "test/fake_output_surface_client.cc",
     "test/fake_output_surface_client.h",
-    "test/fake_painted_scrollbar_layer.cc",
-    "test/fake_painted_scrollbar_layer.h",
-    "test/fake_picture_layer.cc",
-    "test/fake_picture_layer.h",
-    "test/fake_picture_layer_impl.cc",
-    "test/fake_picture_layer_impl.h",
-    "test/fake_picture_layer_tiling_client.cc",
-    "test/fake_picture_layer_tiling_client.h",
-    "test/fake_picture_pile.cc",
-    "test/fake_picture_pile.h",
-    "test/fake_picture_pile_impl.cc",
-    "test/fake_picture_pile_impl.h",
-    "test/fake_proxy.cc",
-    "test/fake_proxy.h",
     "test/fake_renderer_client.cc",
     "test/fake_renderer_client.h",
-    "test/fake_rendering_stats_instrumentation.h",
-    "test/fake_scoped_ui_resource.cc",
-    "test/fake_scoped_ui_resource.h",
-    "test/fake_scrollbar.cc",
-    "test/fake_scrollbar.h",
-    "test/fake_tile_manager.cc",
-    "test/fake_tile_manager.h",
-    "test/fake_tile_manager_client.cc",
-    "test/fake_tile_manager_client.h",
-    "test/fake_ui_resource_layer_tree_host_impl.cc",
-    "test/fake_ui_resource_layer_tree_host_impl.h",
     "test/geometry_test_utils.cc",
     "test/geometry_test_utils.h",
-    "test/impl_side_painting_settings.h",
-    "test/layer_test_common.cc",
-    "test/layer_test_common.h",
-    "test/layer_tree_host_common_test.cc",
-    "test/layer_tree_host_common_test.h",
-    "test/layer_tree_json_parser.cc",
-    "test/layer_tree_json_parser.h",
-    "test/layer_tree_pixel_resource_test.cc",
-    "test/layer_tree_pixel_resource_test.h",
-    "test/layer_tree_pixel_test.cc",
-    "test/layer_tree_pixel_test.h",
-    "test/layer_tree_test.cc",
-    "test/layer_tree_test.h",
     "test/mock_occlusion_tracker.h",
     "test/ordered_simple_task_runner.cc",
     "test/ordered_simple_task_runner.h",
@@ -640,8 +242,6 @@
     "test/scheduler_test_common.h",
     "test/skia_common.cc",
     "test/skia_common.h",
-    "test/solid_color_content_layer_client.cc",
-    "test/solid_color_content_layer_client.h",
     "test/test_context_provider.cc",
     "test/test_context_provider.h",
     "test/test_context_support.cc",
@@ -663,12 +263,6 @@
     "test/test_task_graph_runner.h",
     "test/test_texture.cc",
     "test/test_texture.h",
-    "test/test_tile_priorities.cc",
-    "test/test_tile_priorities.h",
-    "test/test_web_graphics_context_3d.cc",
-    "test/test_web_graphics_context_3d.h",
-    "test/tiled_layer_test_common.cc",
-    "test/tiled_layer_test_common.h",
   ]
 
   configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
@@ -708,57 +302,10 @@
 
 test("cc_unittests") {
   sources = [
-    "animation/animation_unittest.cc",
-    "animation/keyframed_animation_curve_unittest.cc",
-    "animation/layer_animation_controller_unittest.cc",
-    "animation/scroll_offset_animation_curve_unittest.cc",
-    "animation/scrollbar_animation_controller_linear_fade_unittest.cc",
-    "animation/scrollbar_animation_controller_thinning_unittest.cc",
-    "animation/transform_operations_unittest.cc",
     "base/float_quad_unittest.cc",
     "base/math_util_unittest.cc",
-    "base/region_unittest.cc",
-    "base/rolling_time_delta_history_unittest.cc",
     "base/scoped_ptr_vector_unittest.cc",
-    "base/simple_enclosed_region_unittest.cc",
-    "base/tiling_data_unittest.cc",
     "base/util_unittest.cc",
-    "debug/frame_timing_tracker_unittest.cc",
-    "debug/micro_benchmark_controller_unittest.cc",
-    "input/top_controls_manager_unittest.cc",
-    "layers/contents_scaling_layer_unittest.cc",
-    "layers/delegated_frame_provider_unittest.cc",
-    "layers/delegated_frame_resource_collection_unittest.cc",
-    "layers/delegated_renderer_layer_impl_unittest.cc",
-    "layers/delegated_renderer_layer_unittest.cc",
-    "layers/heads_up_display_layer_impl_unittest.cc",
-    "layers/heads_up_display_unittest.cc",
-    "layers/io_surface_layer_impl_unittest.cc",
-    "layers/layer_impl_unittest.cc",
-    "layers/layer_iterator_unittest.cc",
-    "layers/layer_position_constraint_unittest.cc",
-    "layers/layer_unittest.cc",
-    "layers/layer_utils_unittest.cc",
-    "layers/nine_patch_layer_impl_unittest.cc",
-    "layers/nine_patch_layer_unittest.cc",
-    "layers/painted_scrollbar_layer_impl_unittest.cc",
-    "layers/picture_image_layer_impl_unittest.cc",
-    "layers/picture_image_layer_unittest.cc",
-    "layers/picture_layer_impl_unittest.cc",
-    "layers/picture_layer_unittest.cc",
-    "layers/render_surface_impl_unittest.cc",
-    "layers/render_surface_unittest.cc",
-    "layers/scrollbar_layer_unittest.cc",
-    "layers/solid_color_layer_impl_unittest.cc",
-    "layers/solid_color_scrollbar_layer_impl_unittest.cc",
-    "layers/surface_layer_impl_unittest.cc",
-    "layers/surface_layer_unittest.cc",
-    "layers/texture_layer_impl_unittest.cc",
-    "layers/texture_layer_unittest.cc",
-    "layers/tiled_layer_impl_unittest.cc",
-    "layers/tiled_layer_unittest.cc",
-    "layers/ui_resource_layer_impl_unittest.cc",
-    "layers/ui_resource_layer_unittest.cc",
     "output/begin_frame_args_unittest.cc",
     "output/delegating_renderer_unittest.cc",
     "output/filter_operations_unittest.cc",
@@ -772,58 +319,12 @@
     "quads/draw_quad_unittest.cc",
     "quads/list_container_unittest.cc",
     "quads/render_pass_unittest.cc",
-    "resources/display_item_list_unittest.cc",
-    "resources/layer_quad_unittest.cc",
-    "resources/picture_layer_tiling_set_unittest.cc",
-    "resources/picture_layer_tiling_unittest.cc",
-    "resources/picture_pile_impl_unittest.cc",
-    "resources/picture_pile_unittest.cc",
-    "resources/picture_unittest.cc",
-    "resources/pixel_ref_map_unittest.cc",
     "resources/platform_color_unittest.cc",
-    "resources/prioritized_resource_unittest.cc",
     "resources/resource_provider_unittest.cc",
-    "resources/resource_update_controller_unittest.cc",
-    "resources/scoped_gpu_raster_unittest.cc",
-    "resources/scoped_resource_unittest.cc",
-    "resources/task_graph_runner_unittest.cc",
-    "resources/texture_mailbox_deleter_unittest.cc",
-    "resources/texture_uploader_unittest.cc",
-    "resources/tile_manager_unittest.cc",
-    "resources/tile_priority_unittest.cc",
-    "resources/tile_task_worker_pool_unittest.cc",
-    "resources/video_resource_updater_unittest.cc",
     "scheduler/begin_frame_source_unittest.cc",
     "scheduler/delay_based_time_source_unittest.cc",
     "scheduler/scheduler_state_machine_unittest.cc",
     "scheduler/scheduler_unittest.cc",
-    "test/layer_tree_json_parser_unittest.cc",
-    "test/test_web_graphics_context_3d_unittest.cc",
-    "trees/blocking_task_runner_unittest.cc",
-    "trees/damage_tracker_unittest.cc",
-    "trees/layer_tree_host_common_unittest.cc",
-    "trees/layer_tree_host_impl_unittest.cc",
-    "trees/layer_tree_host_pixeltest_blending.cc",
-    "trees/layer_tree_host_pixeltest_filters.cc",
-    "trees/layer_tree_host_pixeltest_masks.cc",
-    "trees/layer_tree_host_pixeltest_readback.cc",
-    "trees/layer_tree_host_pixeltest_synchronous.cc",
-    "trees/layer_tree_host_unittest.cc",
-    "trees/layer_tree_host_unittest_animation.cc",
-    "trees/layer_tree_host_unittest_context.cc",
-    "trees/layer_tree_host_unittest_copyrequest.cc",
-    "trees/layer_tree_host_unittest_damage.cc",
-    "trees/layer_tree_host_unittest_delegated.cc",
-    "trees/layer_tree_host_unittest_no_message_loop.cc",
-    "trees/layer_tree_host_unittest_occlusion.cc",
-    "trees/layer_tree_host_unittest_picture.cc",
-    "trees/layer_tree_host_unittest_proxy.cc",
-    "trees/layer_tree_host_unittest_scroll.cc",
-    "trees/layer_tree_impl_unittest.cc",
-    "trees/occlusion_tracker_unittest.cc",
-    "trees/occlusion_unittest.cc",
-    "trees/property_tree_unittest.cc",
-    "trees/tree_synchronizer_unittest.cc",
 
     # Surfaces test files.
     "surfaces/surface_aggregator_test_helpers.cc",
@@ -861,8 +362,6 @@
 
 test("cc_perftests") {
   sources = [
-    "layers/layer_perftest.cc",
-    "layers/picture_layer_impl_perftest.cc",
     "resources/picture_layer_tiling_perftest.cc",
     "resources/picture_pile_impl_perftest.cc",
     "resources/task_graph_runner_perftest.cc",
@@ -871,9 +370,6 @@
     "resources/tile_task_worker_pool_perftest.cc",
     "test/cc_test_suite.cc",
     "test/run_all_perftests.cc",
-    "trees/layer_tree_host_common_perftest.cc",
-    "trees/layer_tree_host_perftest.cc",
-    "trees/occlusion_tracker_perftest.cc",
   ]
 
   configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
@@ -895,5 +391,3 @@
     "//ui/gl",
   ]
 }
-# When adding support for isolates, please have a look at run-time dependencies
-# in the cc_unittests_run target in cc_tests.gyp.