James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 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 | |
James Robinson | 5e66a79 | 2015-01-21 17:02:08 -0800 | [diff] [blame] | 5 | import("//testing/test.gni") |
| 6 | |
James Robinson | 41b80ab | 2015-04-03 16:10:47 -0700 | [diff] [blame] | 7 | source_set("cc") { |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 8 | sources = [ |
Elliot Glaysher | eae4929 | 2015-01-28 10:47:32 -0800 | [diff] [blame] | 9 | "debug/frame_timing_request.cc", |
| 10 | "debug/frame_timing_request.h", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 11 | "debug/lap_timer.cc", |
| 12 | "debug/lap_timer.h", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 13 | "debug/paint_time_counter.cc", |
| 14 | "debug/paint_time_counter.h", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 15 | "debug/rendering_stats.cc", |
| 16 | "debug/rendering_stats.h", |
| 17 | "debug/rendering_stats_instrumentation.cc", |
| 18 | "debug/rendering_stats_instrumentation.h", |
| 19 | "debug/ring_buffer.h", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 20 | "debug/traced_value.cc", |
| 21 | "debug/traced_value.h", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 22 | "output/begin_frame_args.cc", |
| 23 | "output/begin_frame_args.h", |
| 24 | "output/bsp_tree.cc", |
| 25 | "output/bsp_tree.h", |
| 26 | "output/bsp_walk_action.cc", |
| 27 | "output/bsp_walk_action.h", |
| 28 | "output/compositor_frame.cc", |
| 29 | "output/compositor_frame.h", |
| 30 | "output/compositor_frame_ack.cc", |
| 31 | "output/compositor_frame_ack.h", |
| 32 | "output/compositor_frame_metadata.cc", |
| 33 | "output/compositor_frame_metadata.h", |
| 34 | "output/context_provider.cc", |
| 35 | "output/context_provider.h", |
| 36 | "output/copy_output_request.cc", |
| 37 | "output/copy_output_request.h", |
| 38 | "output/copy_output_result.cc", |
| 39 | "output/copy_output_result.h", |
| 40 | "output/delegated_frame_data.cc", |
| 41 | "output/delegated_frame_data.h", |
| 42 | "output/delegating_renderer.cc", |
| 43 | "output/delegating_renderer.h", |
| 44 | "output/direct_renderer.cc", |
| 45 | "output/direct_renderer.h", |
Nick Bray | 0bcbd3b | 2015-03-12 16:29:36 -0700 | [diff] [blame] | 46 | "output/dynamic_geometry_binding.cc", |
| 47 | "output/dynamic_geometry_binding.h", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 48 | "output/filter_operation.cc", |
| 49 | "output/filter_operation.h", |
| 50 | "output/filter_operations.cc", |
| 51 | "output/filter_operations.h", |
| 52 | "output/geometry_binding.cc", |
| 53 | "output/geometry_binding.h", |
| 54 | "output/gl_frame_data.cc", |
| 55 | "output/gl_frame_data.h", |
| 56 | "output/gl_renderer.cc", |
| 57 | "output/gl_renderer.h", |
| 58 | "output/gl_renderer_draw_cache.cc", |
| 59 | "output/gl_renderer_draw_cache.h", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 60 | "output/output_surface.cc", |
| 61 | "output/output_surface.h", |
| 62 | "output/output_surface_client.h", |
| 63 | "output/overlay_candidate.cc", |
| 64 | "output/overlay_candidate.h", |
| 65 | "output/overlay_candidate_validator.h", |
| 66 | "output/overlay_processor.cc", |
| 67 | "output/overlay_processor.h", |
| 68 | "output/overlay_strategy_single_on_top.cc", |
| 69 | "output/overlay_strategy_single_on_top.h", |
| 70 | "output/program_binding.cc", |
| 71 | "output/program_binding.h", |
| 72 | "output/render_surface_filters.cc", |
| 73 | "output/render_surface_filters.h", |
| 74 | "output/renderer.cc", |
| 75 | "output/renderer.h", |
Dave Moore | 0ae79f4 | 2015-03-17 12:56:46 -0700 | [diff] [blame] | 76 | "output/renderer_capabilities.cc", |
| 77 | "output/renderer_capabilities.h", |
James Robinson | c4c1c59 | 2014-11-21 18:27:04 -0800 | [diff] [blame] | 78 | "output/renderer_settings.cc", |
| 79 | "output/renderer_settings.h", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 80 | "output/shader.cc", |
| 81 | "output/shader.h", |
| 82 | "output/software_frame_data.cc", |
| 83 | "output/software_frame_data.h", |
| 84 | "output/software_output_device.cc", |
| 85 | "output/software_output_device.h", |
| 86 | "output/software_renderer.cc", |
| 87 | "output/software_renderer.h", |
Nick Bray | 0bcbd3b | 2015-03-12 16:29:36 -0700 | [diff] [blame] | 88 | "output/static_geometry_binding.cc", |
| 89 | "output/static_geometry_binding.h", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 90 | "output/vsync_parameter_observer.h", |
| 91 | "quads/checkerboard_draw_quad.cc", |
| 92 | "quads/checkerboard_draw_quad.h", |
| 93 | "quads/content_draw_quad_base.cc", |
| 94 | "quads/content_draw_quad_base.h", |
| 95 | "quads/debug_border_draw_quad.cc", |
| 96 | "quads/debug_border_draw_quad.h", |
| 97 | "quads/draw_polygon.cc", |
| 98 | "quads/draw_polygon.h", |
| 99 | "quads/draw_quad.cc", |
| 100 | "quads/draw_quad.h", |
| 101 | "quads/io_surface_draw_quad.cc", |
| 102 | "quads/io_surface_draw_quad.h", |
Eric Seidel | 101a533 | 2015-02-23 14:42:04 -0800 | [diff] [blame] | 103 | "quads/largest_draw_quad.cc", |
Benjamin Lerman | e8ca9b7 | 2015-02-24 16:42:13 +0100 | [diff] [blame] | 104 | "quads/largest_draw_quad.h", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 105 | "quads/list_container.cc", |
| 106 | "quads/list_container.h", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 107 | "quads/render_pass.cc", |
| 108 | "quads/render_pass.h", |
| 109 | "quads/render_pass_draw_quad.cc", |
| 110 | "quads/render_pass_draw_quad.h", |
| 111 | "quads/render_pass_id.cc", |
| 112 | "quads/render_pass_id.h", |
| 113 | "quads/shared_quad_state.cc", |
| 114 | "quads/shared_quad_state.h", |
| 115 | "quads/solid_color_draw_quad.cc", |
| 116 | "quads/solid_color_draw_quad.h", |
| 117 | "quads/stream_video_draw_quad.cc", |
| 118 | "quads/stream_video_draw_quad.h", |
| 119 | "quads/surface_draw_quad.cc", |
| 120 | "quads/surface_draw_quad.h", |
| 121 | "quads/texture_draw_quad.cc", |
| 122 | "quads/texture_draw_quad.h", |
| 123 | "quads/tile_draw_quad.cc", |
| 124 | "quads/tile_draw_quad.h", |
| 125 | "quads/yuv_video_draw_quad.cc", |
| 126 | "quads/yuv_video_draw_quad.h", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 127 | "resources/layer_quad.cc", |
| 128 | "resources/layer_quad.h", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 129 | "resources/platform_color.h", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 130 | "resources/release_callback.h", |
| 131 | "resources/resource.cc", |
| 132 | "resources/resource.h", |
| 133 | "resources/resource_format.cc", |
| 134 | "resources/resource_format.h", |
| 135 | "resources/resource_pool.cc", |
| 136 | "resources/resource_pool.h", |
| 137 | "resources/resource_provider.cc", |
| 138 | "resources/resource_provider.h", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 139 | "resources/returned_resource.h", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 140 | "resources/scoped_resource.cc", |
| 141 | "resources/scoped_resource.h", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 142 | "resources/shared_bitmap.cc", |
| 143 | "resources/shared_bitmap.h", |
| 144 | "resources/shared_bitmap_manager.h", |
| 145 | "resources/single_release_callback.cc", |
| 146 | "resources/single_release_callback.h", |
| 147 | "resources/single_release_callback_impl.cc", |
| 148 | "resources/single_release_callback_impl.h", |
Alhaad Gokhale | 4f51307 | 2015-03-24 10:49:34 -0700 | [diff] [blame] | 149 | "resources/texture_compressor.cc", |
| 150 | "resources/texture_compressor.h", |
| 151 | "resources/texture_compressor_etc1.cc", |
| 152 | "resources/texture_compressor_etc1.h", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 153 | "resources/texture_mailbox.cc", |
| 154 | "resources/texture_mailbox.h", |
| 155 | "resources/texture_mailbox_deleter.cc", |
| 156 | "resources/texture_mailbox_deleter.h", |
| 157 | "resources/texture_uploader.cc", |
| 158 | "resources/texture_uploader.h", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 159 | "resources/transferable_resource.cc", |
| 160 | "resources/transferable_resource.h", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 161 | "scheduler/begin_frame_source.cc", |
| 162 | "scheduler/begin_frame_source.h", |
Etienne Membrives | 175837a | 2014-12-19 15:45:38 +0100 | [diff] [blame] | 163 | "scheduler/commit_earlyout_reason.h", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 164 | "scheduler/delay_based_time_source.cc", |
| 165 | "scheduler/delay_based_time_source.h", |
| 166 | "scheduler/draw_result.h", |
| 167 | "scheduler/scheduler.cc", |
| 168 | "scheduler/scheduler.h", |
| 169 | "scheduler/scheduler_settings.cc", |
| 170 | "scheduler/scheduler_settings.h", |
| 171 | "scheduler/scheduler_state_machine.cc", |
| 172 | "scheduler/scheduler_state_machine.h", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 173 | ] |
| 174 | |
Benjamin Lerman | e8ca9b7 | 2015-02-24 16:42:13 +0100 | [diff] [blame] | 175 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 176 | configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 177 | |
| 178 | public_deps = [ |
Dave Moore | 0ae79f4 | 2015-03-17 12:56:46 -0700 | [diff] [blame] | 179 | "//cc/base", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 180 | "//skia", |
| 181 | ] |
| 182 | deps = [ |
| 183 | "//base", |
| 184 | "//base/third_party/dynamic_annotations", |
James Robinson | 6a64b81 | 2014-12-03 13:38:42 -0800 | [diff] [blame] | 185 | "//cc/surfaces:surface_id", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 186 | "//gpu", |
| 187 | "//gpu/command_buffer/client:gles2_interface", |
James Robinson | 53b7758 | 2014-10-28 17:00:48 -0700 | [diff] [blame] | 188 | "//gpu/command_buffer/client:gpu_memory_buffer_manager", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 189 | "//ui/events:events_base", |
| 190 | "//ui/gfx", |
| 191 | "//ui/gfx/geometry", |
| 192 | ] |
| 193 | |
| 194 | defines = [ "CC_IMPLEMENTATION=1" ] |
| 195 | |
| 196 | if (!is_debug && (is_win || is_android)) { |
| 197 | configs -= [ "//build/config/compiler:optimize" ] |
| 198 | configs += [ "//build/config/compiler:optimize_max" ] |
| 199 | } |
| 200 | } |
| 201 | |
| 202 | source_set("test_support") { |
| 203 | testonly = true |
| 204 | sources = [ |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 205 | "test/begin_frame_args_test.cc", |
| 206 | "test/begin_frame_args_test.h", |
Benjamin Lerman | e8ca9b7 | 2015-02-24 16:42:13 +0100 | [diff] [blame] | 207 | "test/failure_output_surface.cc", |
| 208 | "test/failure_output_surface.h", |
Etienne Membrives | 175837a | 2014-12-19 15:45:38 +0100 | [diff] [blame] | 209 | "test/fake_external_begin_frame_source.cc", |
| 210 | "test/fake_external_begin_frame_source.h", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 211 | "test/fake_output_surface.cc", |
| 212 | "test/fake_output_surface.h", |
| 213 | "test/fake_output_surface_client.cc", |
| 214 | "test/fake_output_surface_client.h", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 215 | "test/fake_renderer_client.cc", |
| 216 | "test/fake_renderer_client.h", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 217 | "test/geometry_test_utils.cc", |
| 218 | "test/geometry_test_utils.h", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 219 | "test/mock_occlusion_tracker.h", |
| 220 | "test/ordered_simple_task_runner.cc", |
| 221 | "test/ordered_simple_task_runner.h", |
| 222 | "test/ordered_texture_map.cc", |
| 223 | "test/ordered_texture_map.h", |
| 224 | "test/paths.cc", |
| 225 | "test/paths.h", |
| 226 | "test/pixel_comparator.cc", |
| 227 | "test/pixel_comparator.h", |
| 228 | "test/pixel_test.cc", |
| 229 | "test/pixel_test.h", |
| 230 | "test/pixel_test_output_surface.cc", |
| 231 | "test/pixel_test_output_surface.h", |
| 232 | "test/pixel_test_software_output_device.cc", |
| 233 | "test/pixel_test_software_output_device.h", |
| 234 | "test/pixel_test_utils.cc", |
| 235 | "test/pixel_test_utils.h", |
| 236 | "test/render_pass_test_common.cc", |
| 237 | "test/render_pass_test_common.h", |
| 238 | "test/render_pass_test_utils.cc", |
| 239 | "test/render_pass_test_utils.h", |
| 240 | "test/scheduler_test_common.cc", |
| 241 | "test/scheduler_test_common.h", |
| 242 | "test/skia_common.cc", |
| 243 | "test/skia_common.h", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 244 | "test/test_context_provider.cc", |
| 245 | "test/test_context_provider.h", |
| 246 | "test/test_context_support.cc", |
| 247 | "test/test_context_support.h", |
| 248 | "test/test_gles2_interface.cc", |
| 249 | "test/test_gles2_interface.h", |
James Robinson | e2ac7e8 | 2014-10-15 13:21:59 -0700 | [diff] [blame] | 250 | "test/test_gpu_memory_buffer_manager.cc", |
| 251 | "test/test_gpu_memory_buffer_manager.h", |
James Robinson | 7f48021 | 2014-10-31 10:28:08 -0700 | [diff] [blame] | 252 | "test/test_image_factory.cc", |
| 253 | "test/test_image_factory.h", |
Benjamin Lerman | e8ca9b7 | 2015-02-24 16:42:13 +0100 | [diff] [blame] | 254 | "test/test_in_process_context_provider.cc", |
| 255 | "test/test_in_process_context_provider.h", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 256 | "test/test_now_source.cc", |
| 257 | "test/test_now_source.h", |
| 258 | "test/test_occlusion_tracker.h", |
| 259 | "test/test_shared_bitmap_manager.cc", |
| 260 | "test/test_shared_bitmap_manager.h", |
Alhaad Gokhale | 4f51307 | 2015-03-24 10:49:34 -0700 | [diff] [blame] | 261 | "test/test_task_graph_runner.cc", |
| 262 | "test/test_task_graph_runner.h", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 263 | "test/test_texture.cc", |
| 264 | "test/test_texture.h", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 265 | ] |
| 266 | |
Benjamin Lerman | e8ca9b7 | 2015-02-24 16:42:13 +0100 | [diff] [blame] | 267 | configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 268 | |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 269 | include_dirs = [ |
| 270 | ".", |
| 271 | "test", |
| 272 | ] |
| 273 | |
| 274 | public_deps = [ |
| 275 | ":cc", |
| 276 | "//gpu:test_support", |
| 277 | ] |
| 278 | deps = [ |
| 279 | "//base", |
James Robinson | 6a64b81 | 2014-12-03 13:38:42 -0800 | [diff] [blame] | 280 | "//base/test:test_support", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 281 | "//base/third_party/dynamic_annotations", |
| 282 | "//gpu/command_buffer/client:gles2_c_lib", |
| 283 | "//gpu/command_buffer/client:gles2_implementation", |
James Robinson | 53b7758 | 2014-10-28 17:00:48 -0700 | [diff] [blame] | 284 | "//gpu/command_buffer/client:gpu_memory_buffer_manager", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 285 | "//gpu/command_buffer/client:gl_in_process_context", |
| 286 | "//gpu/command_buffer/common:gles2_utils", |
| 287 | "//gpu/skia_bindings", |
| 288 | "//skia", |
| 289 | "//testing/gmock", |
| 290 | "//testing/gtest", |
| 291 | "//ui/gfx", |
| 292 | "//ui/gfx/geometry", |
| 293 | "//ui/gfx:test_support", |
| 294 | "//ui/gl", |
| 295 | ] |
| 296 | |
| 297 | if (!is_android) { # TODO(GYP) Enable on Android when osmesa links. |
| 298 | deps += [ "//third_party/mesa:osmesa" ] |
| 299 | } |
| 300 | } |
| 301 | |
Dave Moore | cc0e4f9 | 2015-03-10 15:23:04 -0700 | [diff] [blame] | 302 | test("cc_unittests") { |
| 303 | sources = [ |
Dave Moore | cc0e4f9 | 2015-03-10 15:23:04 -0700 | [diff] [blame] | 304 | "base/float_quad_unittest.cc", |
| 305 | "base/math_util_unittest.cc", |
Dave Moore | cc0e4f9 | 2015-03-10 15:23:04 -0700 | [diff] [blame] | 306 | "base/scoped_ptr_vector_unittest.cc", |
Dave Moore | cc0e4f9 | 2015-03-10 15:23:04 -0700 | [diff] [blame] | 307 | "base/util_unittest.cc", |
Dave Moore | cc0e4f9 | 2015-03-10 15:23:04 -0700 | [diff] [blame] | 308 | "output/begin_frame_args_unittest.cc", |
| 309 | "output/delegating_renderer_unittest.cc", |
| 310 | "output/filter_operations_unittest.cc", |
| 311 | "output/gl_renderer_unittest.cc", |
| 312 | "output/output_surface_unittest.cc", |
| 313 | "output/overlay_unittest.cc", |
| 314 | "output/renderer_pixeltest.cc", |
| 315 | "output/renderer_unittest.cc", |
| 316 | "output/shader_unittest.cc", |
| 317 | "output/software_renderer_unittest.cc", |
| 318 | "quads/draw_quad_unittest.cc", |
| 319 | "quads/list_container_unittest.cc", |
| 320 | "quads/render_pass_unittest.cc", |
Dave Moore | cc0e4f9 | 2015-03-10 15:23:04 -0700 | [diff] [blame] | 321 | "resources/platform_color_unittest.cc", |
Dave Moore | cc0e4f9 | 2015-03-10 15:23:04 -0700 | [diff] [blame] | 322 | "resources/resource_provider_unittest.cc", |
Dave Moore | cc0e4f9 | 2015-03-10 15:23:04 -0700 | [diff] [blame] | 323 | "scheduler/begin_frame_source_unittest.cc", |
| 324 | "scheduler/delay_based_time_source_unittest.cc", |
| 325 | "scheduler/scheduler_state_machine_unittest.cc", |
| 326 | "scheduler/scheduler_unittest.cc", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 327 | |
Dave Moore | cc0e4f9 | 2015-03-10 15:23:04 -0700 | [diff] [blame] | 328 | # Surfaces test files. |
| 329 | "surfaces/surface_aggregator_test_helpers.cc", |
| 330 | "surfaces/surface_aggregator_test_helpers.h", |
| 331 | "surfaces/surface_aggregator_unittest.cc", |
| 332 | "surfaces/surface_unittest.cc", |
| 333 | "surfaces/surfaces_pixeltest.cc", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 334 | |
Dave Moore | cc0e4f9 | 2015-03-10 15:23:04 -0700 | [diff] [blame] | 335 | # Setup. |
| 336 | "test/cc_test_suite.cc", |
| 337 | "test/run_all_unittests.cc", |
| 338 | ] |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 339 | |
Dave Moore | cc0e4f9 | 2015-03-10 15:23:04 -0700 | [diff] [blame] | 340 | configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
Benjamin Lerman | e8ca9b7 | 2015-02-24 16:42:13 +0100 | [diff] [blame] | 341 | |
Dave Moore | cc0e4f9 | 2015-03-10 15:23:04 -0700 | [diff] [blame] | 342 | deps = [ |
| 343 | ":cc", |
| 344 | ":test_support", |
| 345 | "//base/test:test_support", |
| 346 | "//cc/surfaces", |
| 347 | "//cc/surfaces:surface_id", |
| 348 | "//gpu", |
| 349 | "//gpu:test_support", |
| 350 | "//gpu/command_buffer/client:gles2_interface", |
| 351 | "//gpu/command_buffer/common:gles2_utils", |
| 352 | "//testing/gmock", |
| 353 | "//testing/gtest", |
| 354 | "//ui/events:events_base", |
| 355 | "//ui/gfx", |
| 356 | "//ui/gfx/geometry", |
| 357 | "//ui/gfx:test_support", |
| 358 | "//ui/gl", |
| 359 | ] |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 360 | } |
| 361 | |
| 362 | test("cc_perftests") { |
| 363 | sources = [ |
Alhaad Gokhale | 4f51307 | 2015-03-24 10:49:34 -0700 | [diff] [blame] | 364 | "resources/texture_compressor_perftest.cc", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 365 | "test/cc_test_suite.cc", |
| 366 | "test/run_all_perftests.cc", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 367 | ] |
| 368 | |
Benjamin Lerman | e8ca9b7 | 2015-02-24 16:42:13 +0100 | [diff] [blame] | 369 | configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 370 | |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 371 | deps = [ |
| 372 | ":cc", |
| 373 | ":test_support", |
| 374 | "//base", |
James Robinson | 6a64b81 | 2014-12-03 13:38:42 -0800 | [diff] [blame] | 375 | "//base/test:test_support", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 376 | "//gpu", |
| 377 | "//gpu:test_support", |
| 378 | "//gpu/command_buffer/common:gles2_utils", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 379 | "//skia", |
| 380 | "//testing/gmock", |
| 381 | "//testing/gtest", |
| 382 | "//testing/perf", |
| 383 | "//ui/gfx", |
| 384 | "//ui/gfx/geometry", |
James Robinson | 6a64b81 | 2014-12-03 13:38:42 -0800 | [diff] [blame] | 385 | "//ui/gl", |
James Robinson | 646469d | 2014-10-03 15:33:28 -0700 | [diff] [blame] | 386 | ] |
| 387 | } |