| OLD | NEW |
| (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 'nacl_win64_target': 0, | |
| 8 'build_angle_deqp_tests%': 0, | |
| 9 }, | |
| 10 'includes': [ | |
| 11 'gpu_common.gypi', | |
| 12 ], | |
| 13 'targets': [ | |
| 14 { | |
| 15 # Library emulates GLES2 using command_buffers. | |
| 16 # GN version: //gpu/command_buffer/client:gles2_implementation | |
| 17 'target_name': 'gles2_implementation', | |
| 18 'type': '<(component)', | |
| 19 'dependencies': [ | |
| 20 '../base/base.gyp:base', | |
| 21 '../third_party/khronos/khronos.gyp:khronos_headers', | |
| 22 '../ui/gfx/gfx.gyp:gfx_geometry', | |
| 23 '../ui/gl/gl.gyp:gl', | |
| 24 '../ui/gl/init/gl_init.gyp:gl_init', | |
| 25 'command_buffer/command_buffer.gyp:gles2_utils', | |
| 26 'gles2_cmd_helper', | |
| 27 ], | |
| 28 'defines': [ | |
| 29 'GLES2_IMPL_IMPLEMENTATION', | |
| 30 ], | |
| 31 'sources': [ | |
| 32 '<@(gles2_implementation_source_files)', | |
| 33 ], | |
| 34 'includes': [ | |
| 35 # Disable LTO due to ELF section name out of range | |
| 36 # crbug.com/422251 | |
| 37 '../build/android/disable_gcc_lto.gypi', | |
| 38 ], | |
| 39 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 40 'msvs_disabled_warnings': [4267, ], | |
| 41 }, | |
| 42 { | |
| 43 # GN version: //gpu/command_buffer/client:gl_in_process_context | |
| 44 'target_name': 'gl_in_process_context', | |
| 45 'type': '<(component)', | |
| 46 'dependencies': [ | |
| 47 'command_buffer/command_buffer.gyp:gles2_utils', | |
| 48 'gles2_implementation', | |
| 49 'gpu', | |
| 50 '../base/base.gyp:base', | |
| 51 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | |
| 52 '../ui/gfx/gfx.gyp:gfx_geometry', | |
| 53 '../ui/gl/gl.gyp:gl', | |
| 54 '../ui/gl/init/gl_init.gyp:gl_init', | |
| 55 ], | |
| 56 'defines': [ | |
| 57 'GL_IN_PROCESS_CONTEXT_IMPLEMENTATION', | |
| 58 ], | |
| 59 'sources': [ | |
| 60 'command_buffer/client/gl_in_process_context.cc', | |
| 61 'command_buffer/client/gl_in_process_context.h', | |
| 62 'command_buffer/client/gl_in_process_context_export.h', | |
| 63 ], | |
| 64 }, | |
| 65 { | |
| 66 # Library emulates GLES2 using command_buffers. | |
| 67 'target_name': 'gles2_implementation_no_check', | |
| 68 'type': '<(component)', | |
| 69 'defines': [ | |
| 70 'GLES2_IMPL_IMPLEMENTATION', | |
| 71 'GLES2_CONFORMANCE_TESTS=1', | |
| 72 ], | |
| 73 'dependencies': [ | |
| 74 '../base/base.gyp:base', | |
| 75 '../third_party/khronos/khronos.gyp:khronos_headers', | |
| 76 '../ui/gfx/gfx.gyp:gfx', | |
| 77 '../ui/gfx/gfx.gyp:gfx_geometry', | |
| 78 'command_buffer/command_buffer.gyp:gles2_utils', | |
| 79 'gles2_cmd_helper', | |
| 80 ], | |
| 81 'sources': [ | |
| 82 '<@(gles2_implementation_source_files)', | |
| 83 ], | |
| 84 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 85 'msvs_disabled_warnings': [ 4267, ], | |
| 86 }, | |
| 87 { | |
| 88 # Stub to expose gles2_implemenation in C instead of C++. | |
| 89 # so GLES2 C programs can work with no changes. | |
| 90 # GN version: //gpu/command_buffer/client:gles2_c_lib | |
| 91 'target_name': 'gles2_c_lib', | |
| 92 'type': '<(component)', | |
| 93 'dependencies': [ | |
| 94 '../base/base.gyp:base', | |
| 95 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | |
| 96 'command_buffer/command_buffer.gyp:gles2_utils', | |
| 97 'command_buffer_client', | |
| 98 ], | |
| 99 'defines': [ | |
| 100 'GLES2_C_LIB_IMPLEMENTATION', | |
| 101 ], | |
| 102 'sources': [ | |
| 103 '<@(gles2_c_lib_source_files)', | |
| 104 ], | |
| 105 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 106 'msvs_disabled_warnings': [4267, ], | |
| 107 }, | |
| 108 { | |
| 109 # GN version: //gpu/command_buffer/client:gles2_c_lib_nocheck | |
| 110 # Same as gles2_c_lib except with no parameter checking. Required for | |
| 111 # OpenGL ES 2.0 conformance tests. | |
| 112 'target_name': 'gles2_c_lib_nocheck', | |
| 113 'type': '<(component)', | |
| 114 'defines': [ | |
| 115 'GLES2_C_LIB_IMPLEMENTATION', | |
| 116 'GLES2_CONFORMANCE_TESTS=1', | |
| 117 ], | |
| 118 'dependencies': [ | |
| 119 '../base/base.gyp:base', | |
| 120 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | |
| 121 'command_buffer/command_buffer.gyp:gles2_utils', | |
| 122 'command_buffer_client', | |
| 123 'gles2_implementation_no_check', | |
| 124 ], | |
| 125 'sources': [ | |
| 126 '<@(gles2_c_lib_source_files)', | |
| 127 ], | |
| 128 }, | |
| 129 { | |
| 130 # GN version: //third_party/angle/src/tests:angle_unittests | |
| 131 'target_name': 'angle_unittests', | |
| 132 'type': '<(gtest_target_type)', | |
| 133 'includes': [ | |
| 134 '../third_party/angle/build/common_defines.gypi', | |
| 135 '../third_party/angle/src/tests/angle_unittests.gypi', | |
| 136 ], | |
| 137 'dependencies': [ | |
| 138 '../base/base.gyp:base', | |
| 139 '../base/base.gyp:test_support_base', | |
| 140 ], | |
| 141 'include_dirs': [ | |
| 142 '..', | |
| 143 '../third_party/angle/include', | |
| 144 ], | |
| 145 'sources': [ | |
| 146 'angle_unittest_main.cc', | |
| 147 ], | |
| 148 'conditions': [ | |
| 149 ['OS=="android"', { | |
| 150 'dependencies': [ | |
| 151 '../testing/android/native_test.gyp:native_test_native_code', | |
| 152 ], | |
| 153 }], | |
| 154 ], | |
| 155 }, | |
| 156 { | |
| 157 # GN version: //gpu:gpu_unittests | |
| 158 'target_name': 'gpu_unittests', | |
| 159 'type': '<(gtest_target_type)', | |
| 160 'dependencies': [ | |
| 161 '../base/base.gyp:base', | |
| 162 '../base/base.gyp:test_support_base', | |
| 163 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | |
| 164 '../mojo/mojo_edk.gyp:mojo_common_test_support', | |
| 165 '../mojo/mojo_public.gyp:mojo_cpp_bindings', | |
| 166 '../testing/gmock.gyp:gmock', | |
| 167 '../testing/gtest.gyp:gtest', | |
| 168 '<(angle_path)/src/angle.gyp:translator', | |
| 169 '../ui/gfx/gfx.gyp:gfx', | |
| 170 '../ui/gfx/gfx.gyp:gfx_geometry', | |
| 171 '../ui/gfx/gfx.gyp:gfx_test_support', | |
| 172 '../ui/gl/gl.gyp:gl', | |
| 173 '../ui/gl/init/gl_init.gyp:gl_init', | |
| 174 '../ui/gl/gl.gyp:gl_test_support', | |
| 175 'command_buffer/command_buffer.gyp:gles2_utils', | |
| 176 'command_buffer_client', | |
| 177 'command_buffer_common', | |
| 178 'command_buffer_service', | |
| 179 'gpu', | |
| 180 'gpu_unittest_utils', | |
| 181 'gl_in_process_context', | |
| 182 'gles2_implementation', | |
| 183 'gles2_cmd_helper', | |
| 184 'gles2_c_lib', | |
| 185 ], | |
| 186 'sources': [ | |
| 187 # Note: sources list duplicated in GN build. | |
| 188 'command_buffer/client/buffer_tracker_unittest.cc', | |
| 189 'command_buffer/client/client_test_helper.cc', | |
| 190 'command_buffer/client/client_test_helper.h', | |
| 191 'command_buffer/client/cmd_buffer_helper_test.cc', | |
| 192 'command_buffer/client/fenced_allocator_test.cc', | |
| 193 'command_buffer/client/gles2_implementation_unittest.cc', | |
| 194 'command_buffer/client/mapped_memory_unittest.cc', | |
| 195 'command_buffer/client/program_info_manager_unittest.cc', | |
| 196 'command_buffer/client/query_tracker_unittest.cc', | |
| 197 'command_buffer/client/ring_buffer_test.cc', | |
| 198 'command_buffer/client/transfer_buffer_unittest.cc', | |
| 199 'command_buffer/client/vertex_array_object_manager_unittest.cc', | |
| 200 'command_buffer/common/bitfield_helpers_test.cc', | |
| 201 'command_buffer/common/command_buffer_mock.cc', | |
| 202 'command_buffer/common/command_buffer_mock.h', | |
| 203 'command_buffer/common/command_buffer_shared_test.cc', | |
| 204 'command_buffer/common/debug_marker_manager_unittest.cc', | |
| 205 'command_buffer/common/gles2_cmd_format_test.cc', | |
| 206 'command_buffer/common/gles2_cmd_format_test_autogen.h', | |
| 207 'command_buffer/common/gles2_cmd_utils_unittest.cc', | |
| 208 'command_buffer/common/id_allocator_test.cc', | |
| 209 'command_buffer/common/id_type_unittest.cc', | |
| 210 'command_buffer/common/unittest_main.cc', | |
| 211 'command_buffer/service/buffer_manager_unittest.cc', | |
| 212 'command_buffer/service/cmd_parser_test.cc', | |
| 213 'command_buffer/service/command_buffer_service_unittest.cc', | |
| 214 'command_buffer/service/command_executor_unittest.cc', | |
| 215 'command_buffer/service/common_decoder_unittest.cc', | |
| 216 'command_buffer/service/context_group_unittest.cc', | |
| 217 'command_buffer/service/context_state_unittest.cc', | |
| 218 'command_buffer/service/feature_info_unittest.cc', | |
| 219 'command_buffer/service/framebuffer_manager_unittest.cc', | |
| 220 'command_buffer/service/gl_context_mock.cc', | |
| 221 'command_buffer/service/gl_context_mock.h', | |
| 222 'command_buffer/service/gl_context_virtual_unittest.cc', | |
| 223 'command_buffer/service/gl_surface_mock.cc', | |
| 224 'command_buffer/service/gl_surface_mock.h', | |
| 225 'command_buffer/service/gles2_cmd_decoder_unittest.cc', | |
| 226 'command_buffer/service/gles2_cmd_decoder_unittest.h', | |
| 227 'command_buffer/service/gles2_cmd_decoder_unittest_0_autogen.h', | |
| 228 'command_buffer/service/gles2_cmd_decoder_unittest_1.cc', | |
| 229 'command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h', | |
| 230 'command_buffer/service/gles2_cmd_decoder_unittest_2.cc', | |
| 231 'command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h', | |
| 232 'command_buffer/service/gles2_cmd_decoder_unittest_3.cc', | |
| 233 'command_buffer/service/gles2_cmd_decoder_unittest_3_autogen.h', | |
| 234 'command_buffer/service/gles2_cmd_decoder_unittest_attribs.cc', | |
| 235 'command_buffer/service/gles2_cmd_decoder_unittest_base.cc', | |
| 236 'command_buffer/service/gles2_cmd_decoder_unittest_base.h', | |
| 237 'command_buffer/service/gles2_cmd_decoder_unittest_buffers.cc', | |
| 238 'command_buffer/service/gles2_cmd_decoder_unittest_context_lost.cc', | |
| 239 'command_buffer/service/gles2_cmd_decoder_unittest_context_state.cc', | |
| 240 'command_buffer/service/gles2_cmd_decoder_unittest_drawing.cc', | |
| 241 'command_buffer/service/gles2_cmd_decoder_unittest_extensions.cc', | |
| 242 'command_buffer/service/gles2_cmd_decoder_unittest_extensions_autogen.h'
, | |
| 243 'command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc', | |
| 244 'command_buffer/service/gles2_cmd_decoder_unittest_programs.cc', | |
| 245 'command_buffer/service/gles2_cmd_decoder_unittest_textures.cc', | |
| 246 'command_buffer/service/gpu_service_test.cc', | |
| 247 'command_buffer/service/gpu_service_test.h', | |
| 248 'command_buffer/service/gpu_tracer_unittest.cc', | |
| 249 'command_buffer/service/id_manager_unittest.cc', | |
| 250 'command_buffer/service/indexed_buffer_binding_host_unittest.cc', | |
| 251 'command_buffer/service/mailbox_manager_unittest.cc', | |
| 252 'command_buffer/service/memory_program_cache_unittest.cc', | |
| 253 'command_buffer/service/mocks.cc', | |
| 254 'command_buffer/service/mocks.h', | |
| 255 'command_buffer/service/path_manager_unittest.cc', | |
| 256 'command_buffer/service/program_cache_unittest.cc', | |
| 257 'command_buffer/service/program_manager_unittest.cc', | |
| 258 'command_buffer/service/query_manager_unittest.cc', | |
| 259 'command_buffer/service/renderbuffer_manager_unittest.cc', | |
| 260 'command_buffer/service/shader_manager_unittest.cc', | |
| 261 'command_buffer/service/shader_translator_cache_unittest.cc', | |
| 262 'command_buffer/service/shader_translator_unittest.cc', | |
| 263 'command_buffer/service/sync_point_manager_unittest.cc', | |
| 264 'command_buffer/service/test_helper.cc', | |
| 265 'command_buffer/service/test_helper.h', | |
| 266 'command_buffer/service/texture_manager_unittest.cc', | |
| 267 'command_buffer/service/transfer_buffer_manager_unittest.cc', | |
| 268 'command_buffer/service/transform_feedback_manager_unittest.cc', | |
| 269 'command_buffer/service/vertex_array_manager_unittest.cc', | |
| 270 'command_buffer/service/vertex_attrib_manager_unittest.cc', | |
| 271 'config/gpu_blacklist_unittest.cc', | |
| 272 'config/gpu_control_list_entry_unittest.cc', | |
| 273 'config/gpu_control_list_number_info_unittest.cc', | |
| 274 'config/gpu_control_list_os_info_unittest.cc', | |
| 275 'config/gpu_control_list_unittest.cc', | |
| 276 'config/gpu_control_list_version_info_unittest.cc', | |
| 277 'config/gpu_driver_bug_list_unittest.cc', | |
| 278 'config/gpu_info_collector_unittest.cc', | |
| 279 'config/gpu_info_unittest.cc', | |
| 280 'config/gpu_test_config_unittest.cc', | |
| 281 'config/gpu_test_expectations_parser_unittest.cc', | |
| 282 'config/gpu_util_unittest.cc', | |
| 283 'ipc/client/gpu_memory_buffer_impl_shared_memory_unittest.cc', | |
| 284 'ipc/client/gpu_memory_buffer_impl_test_template.h', | |
| 285 ], | |
| 286 'conditions': [ | |
| 287 ['OS == "android"', { | |
| 288 'dependencies': [ | |
| 289 '../testing/android/native_test.gyp:native_test_native_code', | |
| 290 ], | |
| 291 'sources+': [ | |
| 292 'ipc/client/gpu_memory_buffer_impl_surface_texture_unittest.cc', | |
| 293 ], | |
| 294 }], | |
| 295 ['OS == "mac"', { | |
| 296 'sources+': [ | |
| 297 'ipc/client/gpu_memory_buffer_impl_io_surface_unittest.cc', | |
| 298 ] | |
| 299 }], | |
| 300 ['use_ozone == 1', { | |
| 301 'dependencies': [ | |
| 302 '../ui/ozone/ozone.gyp:ozone', | |
| 303 ], | |
| 304 'sources+': [ | |
| 305 'ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap_unittest.cc', | |
| 306 ] | |
| 307 }], | |
| 308 ], | |
| 309 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 310 'msvs_disabled_warnings': [ 4267, ], | |
| 311 }, | |
| 312 { | |
| 313 # GN version: //gpu/ipc/service:gpu_ipc_service_unittests | |
| 314 'target_name': 'gpu_ipc_service_unittests', | |
| 315 'type': '<(gtest_target_type)', | |
| 316 'dependencies': [ | |
| 317 '../base/base.gyp:base', | |
| 318 '../base/base.gyp:test_support_base', | |
| 319 '../ipc/ipc.gyp:ipc_run_all_unittests', | |
| 320 '../ipc/ipc.gyp:test_support_ipc', | |
| 321 '../skia/skia.gyp:skia', | |
| 322 '../testing/gtest.gyp:gtest', | |
| 323 '../testing/gmock.gyp:gmock', | |
| 324 '../third_party/mesa/mesa.gyp:mesa_headers', | |
| 325 '../ui/gfx/gfx.gyp:gfx_test_support', | |
| 326 '../ui/gl/gl.gyp:gl', | |
| 327 '../ui/gl/init/gl_init.gyp:gl_init', | |
| 328 '../ui/gl/gl.gyp:gl_unittest_utils', | |
| 329 '../ui/gl/gl.gyp:gl_test_support', | |
| 330 '../url/url.gyp:url_lib', | |
| 331 'command_buffer/command_buffer.gyp:gles2_utils', | |
| 332 'command_buffer_common', | |
| 333 'command_buffer_service', | |
| 334 'gpu_config', | |
| 335 'gpu_ipc_common', | |
| 336 'gpu_ipc_service', | |
| 337 'gpu_ipc_service_test_support', | |
| 338 ], | |
| 339 'sources': [ | |
| 340 'ipc/service/gpu_channel_manager_unittest.cc', | |
| 341 'ipc/service/gpu_channel_test_common.cc', | |
| 342 'ipc/service/gpu_channel_test_common.h', | |
| 343 'ipc/service/gpu_channel_unittest.cc', | |
| 344 ], | |
| 345 'include_dirs': [ | |
| 346 '../third_party/mesa/src/include', | |
| 347 ], | |
| 348 'conditions': [ | |
| 349 ['OS == "android"', { | |
| 350 'dependencies': [ | |
| 351 '../testing/android/native_test.gyp:native_test_native_code', | |
| 352 ], | |
| 353 'sources': [ | |
| 354 'ipc/service/gpu_memory_buffer_factory_surface_texture_unittest.cc', | |
| 355 ], | |
| 356 }], | |
| 357 ['OS == "mac"', { | |
| 358 'sources': [ | |
| 359 'ipc/service/gpu_memory_buffer_factory_io_surface_unittest.cc', | |
| 360 ], | |
| 361 }], | |
| 362 ['use_ozone == 1', { | |
| 363 'sources': [ | |
| 364 'ipc/service/gpu_memory_buffer_factory_ozone_native_pixmap_unittest.
cc', | |
| 365 ], | |
| 366 }], | |
| 367 ], | |
| 368 }, | |
| 369 { | |
| 370 # GN version: //gpu/gpu_perftests | |
| 371 'target_name': 'gpu_perftests', | |
| 372 'type': '<(gtest_target_type)', | |
| 373 'dependencies': [ | |
| 374 '../base/base.gyp:base', | |
| 375 '../base/base.gyp:test_support_base', | |
| 376 '../testing/gmock.gyp:gmock', | |
| 377 '../testing/gtest.gyp:gtest', | |
| 378 '../testing/perf/perf_test.gyp:perf_test', | |
| 379 '../ui/gfx/gfx.gyp:gfx_geometry', | |
| 380 '../ui/gl/gl.gyp:gl', | |
| 381 '../ui/gl/init/gl_init.gyp:gl_init', | |
| 382 'command_buffer_service', | |
| 383 ], | |
| 384 'sources': [ | |
| 385 'perftests/measurements.cc', | |
| 386 'perftests/run_all_tests.cc', | |
| 387 'perftests/texture_upload_perftest.cc', | |
| 388 ], | |
| 389 'conditions': [ | |
| 390 ['OS == "android"', | |
| 391 { | |
| 392 'dependencies': [ | |
| 393 '../testing/android/native_test.gyp:native_test_native_code', | |
| 394 ], | |
| 395 } | |
| 396 ], | |
| 397 ], | |
| 398 }, | |
| 399 { | |
| 400 # GN version: //gpu:gl_tests | |
| 401 'target_name': 'gl_tests', | |
| 402 'type': '<(gtest_target_type)', | |
| 403 'dependencies': [ | |
| 404 '../base/base.gyp:base', | |
| 405 '../base/base.gyp:test_support_base', | |
| 406 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | |
| 407 '../testing/gmock.gyp:gmock', | |
| 408 '../testing/gtest.gyp:gtest', | |
| 409 '<(angle_path)/src/angle.gyp:translator', | |
| 410 '../ui/gfx/gfx.gyp:gfx', | |
| 411 '../ui/gfx/gfx.gyp:gfx_test_support', | |
| 412 '../ui/gfx/gfx.gyp:gfx_geometry', | |
| 413 '../ui/gl/gl.gyp:gl', | |
| 414 '../ui/gl/init/gl_init.gyp:gl_init', | |
| 415 'command_buffer/command_buffer.gyp:gles2_utils', | |
| 416 'command_buffer_client', | |
| 417 'command_buffer_common', | |
| 418 'command_buffer_service', | |
| 419 'gpu', | |
| 420 'gpu_unittest_utils', | |
| 421 'gles2_implementation', | |
| 422 'gles2_cmd_helper', | |
| 423 'gles2_c_lib', | |
| 424 #'gl_unittests', | |
| 425 ], | |
| 426 'defines': [ | |
| 427 'GL_GLEXT_PROTOTYPES', | |
| 428 ], | |
| 429 'sources': [ | |
| 430 # Note: sources list duplicated in GN build. | |
| 431 'command_buffer/tests/compressed_texture_test.cc', | |
| 432 'command_buffer/tests/es3_misc_functions_unittest.cc', | |
| 433 'command_buffer/tests/gl_bgra_mipmap_unittest.cc', | |
| 434 'command_buffer/tests/gl_bind_uniform_location_unittest.cc', | |
| 435 'command_buffer/tests/gl_chromium_framebuffer_mixed_samples_unittest.cc'
, | |
| 436 'command_buffer/tests/gl_chromium_framebuffer_multisample_unittest.cc', | |
| 437 'command_buffer/tests/gl_chromium_path_rendering_unittest.cc', | |
| 438 'command_buffer/tests/gl_clear_framebuffer_unittest.cc', | |
| 439 'command_buffer/tests/gl_compressed_copy_texture_CHROMIUM_unittest.cc', | |
| 440 'command_buffer/tests/gl_copy_tex_image_2d_workaround_unittest.cc', | |
| 441 'command_buffer/tests/gl_copy_texture_CHROMIUM_unittest.cc', | |
| 442 'command_buffer/tests/gl_cube_map_texture_unittest.cc', | |
| 443 'command_buffer/tests/gl_depth_texture_unittest.cc', | |
| 444 'command_buffer/tests/gl_deschedule_unittest.cc', | |
| 445 'command_buffer/tests/gl_dynamic_config_unittest.cc', | |
| 446 'command_buffer/tests/gl_ext_blend_func_extended_unittest.cc', | |
| 447 'command_buffer/tests/gl_ext_multisample_compatibility_unittest.cc', | |
| 448 'command_buffer/tests/gl_ext_srgb_unittest.cc', | |
| 449 'command_buffer/tests/gl_fence_sync_unittest.cc', | |
| 450 'command_buffer/tests/gl_gpu_memory_buffer_unittest.cc', | |
| 451 'command_buffer/tests/gl_iosurface_readback_workaround_unittest.cc', | |
| 452 'command_buffer/tests/gl_lose_context_chromium_unittest.cc', | |
| 453 'command_buffer/tests/gl_manager.cc', | |
| 454 'command_buffer/tests/gl_manager.h', | |
| 455 'command_buffer/tests/gl_native_gmb_backbuffer_unittest.cc', | |
| 456 'command_buffer/tests/gl_pointcoord_unittest.cc', | |
| 457 'command_buffer/tests/gl_program_unittest.cc', | |
| 458 'command_buffer/tests/gl_query_unittest.cc', | |
| 459 'command_buffer/tests/gl_readback_unittest.cc', | |
| 460 'command_buffer/tests/gl_request_extension_unittest.cc', | |
| 461 'command_buffer/tests/gl_shared_resources_unittest.cc', | |
| 462 'command_buffer/tests/gl_stream_draw_unittest.cc', | |
| 463 'command_buffer/tests/gl_test_utils.cc', | |
| 464 'command_buffer/tests/gl_test_utils.h', | |
| 465 'command_buffer/tests/gl_tests_main.cc', | |
| 466 'command_buffer/tests/gl_texture_mailbox_unittest.cc', | |
| 467 'command_buffer/tests/gl_texture_storage_unittest.cc', | |
| 468 'command_buffer/tests/gl_unittest.cc', | |
| 469 'command_buffer/tests/gl_unittests_android.cc', | |
| 470 'command_buffer/tests/gl_virtual_contexts_unittest.cc', | |
| 471 'command_buffer/tests/occlusion_query_unittest.cc', | |
| 472 'command_buffer/tests/texture_image_factory.cc', | |
| 473 'command_buffer/tests/texture_image_factory.h', | |
| 474 ], | |
| 475 'conditions': [ | |
| 476 ['OS == "android"', { | |
| 477 'dependencies': [ | |
| 478 '../testing/android/native_test.gyp:native_test_native_code', | |
| 479 ], | |
| 480 }], | |
| 481 ['OS == "win"', { | |
| 482 'dependencies': [ | |
| 483 '../third_party/angle/src/angle.gyp:libEGL', | |
| 484 '../third_party/angle/src/angle.gyp:libGLESv2', | |
| 485 ], | |
| 486 }], | |
| 487 ], | |
| 488 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 489 'msvs_disabled_warnings': [ 4267, ], | |
| 490 }, | |
| 491 { | |
| 492 # GN version: //gpu:test_support | |
| 493 'target_name': 'gpu_unittest_utils', | |
| 494 'type': 'static_library', | |
| 495 'dependencies': [ | |
| 496 '../testing/gmock.gyp:gmock', | |
| 497 '../testing/gtest.gyp:gtest', | |
| 498 '../third_party/khronos/khronos.gyp:khronos_headers', | |
| 499 '../ui/gl/gl.gyp:gl_unittest_utils', | |
| 500 'gpu', | |
| 501 ], | |
| 502 'include_dirs': [ | |
| 503 '..', | |
| 504 ], | |
| 505 'sources': [ | |
| 506 'command_buffer/client/gles2_interface_stub.cc', | |
| 507 'command_buffer/client/gles2_interface_stub.h', | |
| 508 'command_buffer/service/error_state_mock.cc', | |
| 509 'command_buffer/service/gles2_cmd_decoder_mock.cc', | |
| 510 ], | |
| 511 }, | |
| 512 { | |
| 513 # GN version: //gpu/ipc/service:test_support | |
| 514 'target_name': 'gpu_ipc_service_test_support', | |
| 515 'type': 'static_library', | |
| 516 'dependencies': [ | |
| 517 # TODO(markdittmer): Shouldn't depend on client code for server tests. | |
| 518 # See crbug.com/608800. | |
| 519 'gpu_ipc_client', | |
| 520 ], | |
| 521 'include_dirs': [ | |
| 522 '..', | |
| 523 ], | |
| 524 'sources': [ | |
| 525 'gpu/ipc/service/gpu_memory_buffer_factory_test_template.h', | |
| 526 ], | |
| 527 }, | |
| 528 { | |
| 529 # GN version: //gpu:command_buffer_gles2 | |
| 530 'target_name': 'command_buffer_gles2', | |
| 531 'type': 'shared_library', | |
| 532 'dependencies': [ | |
| 533 '../base/base.gyp:base', | |
| 534 '../gpu/command_buffer/command_buffer.gyp:gles2_utils', | |
| 535 '../gpu/gpu.gyp:command_buffer_service', | |
| 536 '../ui/gfx/gfx.gyp:gfx_geometry', | |
| 537 '../ui/gl/gl.gyp:gl', | |
| 538 '../ui/gl/init/gl_init.gyp:gl_init', | |
| 539 'command_buffer/command_buffer.gyp:gles2_utils', | |
| 540 'gles2_c_lib', | |
| 541 'gles2_implementation', | |
| 542 ], | |
| 543 'sources': [ | |
| 544 # Note: sources list duplicated in GN build. | |
| 545 # TODO(hendrikw): Move egl out of gles2_conform_support. | |
| 546 'gles2_conform_support/egl/config.cc', | |
| 547 'gles2_conform_support/egl/config.h', | |
| 548 'gles2_conform_support/egl/context.cc', | |
| 549 'gles2_conform_support/egl/context.h', | |
| 550 'gles2_conform_support/egl/display.cc', | |
| 551 'gles2_conform_support/egl/display.h', | |
| 552 'gles2_conform_support/egl/egl.cc', | |
| 553 'gles2_conform_support/egl/surface.cc', | |
| 554 'gles2_conform_support/egl/surface.h', | |
| 555 'gles2_conform_support/egl/test_support.cc', | |
| 556 'gles2_conform_support/egl/test_support.h', | |
| 557 'gles2_conform_support/egl/thread_state.cc', | |
| 558 'gles2_conform_support/egl/thread_state.h', | |
| 559 ], | |
| 560 'defines': [ | |
| 561 'COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY', | |
| 562 'EGLAPIENTRY=', | |
| 563 ], | |
| 564 'conditions': [ | |
| 565 ['OS=="win"', { | |
| 566 'defines': [ | |
| 567 'EGLAPI=__declspec(dllexport)', | |
| 568 ], | |
| 569 }, { # OS!="win" | |
| 570 'defines': [ | |
| 571 'EGLAPI=__attribute__((visibility(\"default\")))' | |
| 572 ], | |
| 573 }], | |
| 574 ], | |
| 575 }, | |
| 576 { | |
| 577 # GN version: //gpu:command_buffer_gles2_tests | |
| 578 'target_name': 'command_buffer_gles2_tests', | |
| 579 'type': '<(gtest_target_type)', | |
| 580 'dependencies': [ | |
| 581 '../base/base.gyp:base', | |
| 582 '../base/base.gyp:test_support_base', | |
| 583 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | |
| 584 '../testing/gmock.gyp:gmock', | |
| 585 '../testing/gtest.gyp:gtest', | |
| 586 'command_buffer_gles2', | |
| 587 ], | |
| 588 'sources': [ | |
| 589 # Note: sources list duplicated in GN build. | |
| 590 'command_buffer/tests/command_buffer_gles2_tests_main.cc', | |
| 591 'command_buffer/tests/egl_test.cc', | |
| 592 ], | |
| 593 'defines': [ | |
| 594 'COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY', | |
| 595 'EGLAPIENTRY=', | |
| 596 ], | |
| 597 'conditions': [ | |
| 598 ['OS=="win"', { | |
| 599 'defines': [ | |
| 600 'EGLAPI=__declspec(dllimport)', | |
| 601 ], | |
| 602 }, { # OS!="win" | |
| 603 'defines': [ | |
| 604 'EGLAPI=', | |
| 605 ], | |
| 606 }], | |
| 607 ['OS == "android"', { | |
| 608 'dependencies': [ | |
| 609 '../testing/android/native_test.gyp:native_test_native_code', | |
| 610 ], | |
| 611 }], | |
| 612 ], | |
| 613 }, | |
| 614 ], | |
| 615 'conditions': [ | |
| 616 ['component=="static_library"', { | |
| 617 'targets': [ | |
| 618 { | |
| 619 # GN version: //gpu/command_buffer/service:disk_cache_proto | |
| 620 'target_name': 'disk_cache_proto', | |
| 621 'type': 'static_library', | |
| 622 'sources': [ 'command_buffer/service/disk_cache_proto.proto' ], | |
| 623 'variables': { | |
| 624 'proto_in_dir': 'command_buffer/service', | |
| 625 'proto_out_dir': 'gpu/command_buffer/service', | |
| 626 }, | |
| 627 'includes': [ '../build/protoc.gypi' ], | |
| 628 }, | |
| 629 { | |
| 630 # GN version: //gpu | |
| 631 'target_name': 'gpu', | |
| 632 'type': 'none', | |
| 633 'dependencies': [ | |
| 634 'command_buffer_client', | |
| 635 'command_buffer_common', | |
| 636 'command_buffer_service', | |
| 637 'gles2_cmd_helper', | |
| 638 'gpu_config', | |
| 639 'gpu_ipc_client', | |
| 640 'gpu_ipc_common', | |
| 641 'gpu_ipc_service', | |
| 642 ], | |
| 643 'sources': [ | |
| 644 'gpu_export.h', | |
| 645 ], | |
| 646 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 647 'msvs_disabled_warnings': [4267, ], | |
| 648 }, | |
| 649 { | |
| 650 # GN version: //gpu/command_buffer/common | |
| 651 'target_name': 'command_buffer_common', | |
| 652 'type': 'static_library', | |
| 653 'includes': [ | |
| 654 'command_buffer_common.gypi', | |
| 655 ], | |
| 656 'dependencies': [ | |
| 657 '../base/base.gyp:base', | |
| 658 'command_buffer/command_buffer.gyp:gles2_utils', | |
| 659 ], | |
| 660 'export_dependent_settings': [ | |
| 661 '../base/base.gyp:base', | |
| 662 ], | |
| 663 }, | |
| 664 { | |
| 665 # Library helps make GLES2 command buffers. | |
| 666 # GN version: //gpu/command_buffer/client:gles2_cmd_helper | |
| 667 'target_name': 'gles2_cmd_helper', | |
| 668 'type': 'static_library', | |
| 669 'includes': [ | |
| 670 'gles2_cmd_helper.gypi', | |
| 671 ], | |
| 672 'dependencies': [ | |
| 673 'command_buffer_client', | |
| 674 ], | |
| 675 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 676 'msvs_disabled_warnings': [4267, ], | |
| 677 }, | |
| 678 { | |
| 679 # GN version: //gpu/command_buffer/client | |
| 680 'target_name': 'command_buffer_client', | |
| 681 'type': 'static_library', | |
| 682 'includes': [ | |
| 683 'command_buffer_client.gypi', | |
| 684 ], | |
| 685 'dependencies': [ | |
| 686 'command_buffer_common', | |
| 687 ], | |
| 688 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 689 'msvs_disabled_warnings': [4267, ], | |
| 690 }, | |
| 691 { | |
| 692 # GN version: //gpu/command_buffer/service | |
| 693 'target_name': 'command_buffer_service', | |
| 694 'type': 'static_library', | |
| 695 'includes': [ | |
| 696 'command_buffer_service.gypi', | |
| 697 '../build/android/increase_size_for_speed.gypi', | |
| 698 # Disable LTO due to ELF section name out of range | |
| 699 # crbug.com/422251 | |
| 700 '../build/android/disable_gcc_lto.gypi', | |
| 701 ], | |
| 702 'dependencies': [ | |
| 703 '../third_party/angle/src/angle.gyp:angle_image_util', | |
| 704 'command_buffer_common', | |
| 705 'disk_cache_proto', | |
| 706 'gpu_config', | |
| 707 ], | |
| 708 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 709 'msvs_disabled_warnings': [4267, ], | |
| 710 }, | |
| 711 { | |
| 712 # GN version: //gpu/ipc/common:command_buffer_traits | |
| 713 'target_name': 'command_buffer_traits', | |
| 714 'type': 'static_library', | |
| 715 'includes': [ | |
| 716 'command_buffer_traits.gypi', | |
| 717 ], | |
| 718 }, | |
| 719 { | |
| 720 # GN version: //gpu/ipc/client | |
| 721 'target_name': 'gpu_ipc_client', | |
| 722 'type': 'static_library', | |
| 723 'includes': [ | |
| 724 'gpu_ipc_client.gypi', | |
| 725 ], | |
| 726 'dependencies': [ | |
| 727 'command_buffer_traits', | |
| 728 ], | |
| 729 }, | |
| 730 { | |
| 731 # GN version: //gpu/ipc/common | |
| 732 'target_name': 'gpu_ipc_common', | |
| 733 'type': 'static_library', | |
| 734 'includes': [ | |
| 735 'gpu_ipc_common.gypi', | |
| 736 ], | |
| 737 'dependencies': [ | |
| 738 'command_buffer_traits', | |
| 739 ], | |
| 740 }, | |
| 741 { | |
| 742 # GN version: //gpu/ipc/service | |
| 743 'target_name': 'gpu_ipc_service', | |
| 744 'type': 'static_library', | |
| 745 'includes': [ | |
| 746 'gpu_ipc_service.gypi', | |
| 747 ], | |
| 748 'dependencies': [ | |
| 749 'command_buffer_traits', | |
| 750 ], | |
| 751 }, | |
| 752 { | |
| 753 'target_name': 'gpu_config', | |
| 754 'type': 'static_library', | |
| 755 'includes': [ | |
| 756 'gpu_config.gypi', | |
| 757 ], | |
| 758 }, | |
| 759 ], | |
| 760 }, | |
| 761 { # component != static_library | |
| 762 'targets': [ | |
| 763 { | |
| 764 # GN version: //gpu/command_buffer/service:disk_cache_proto | |
| 765 'target_name': 'disk_cache_proto', | |
| 766 'type': 'static_library', | |
| 767 'sources': [ 'command_buffer/service/disk_cache_proto.proto' ], | |
| 768 'variables': { | |
| 769 'proto_in_dir': 'command_buffer/service', | |
| 770 'proto_out_dir': 'gpu/command_buffer/service', | |
| 771 }, | |
| 772 'includes': [ '../build/protoc.gypi' ], | |
| 773 }, | |
| 774 { | |
| 775 # GN version: //gpu | |
| 776 'target_name': 'gpu', | |
| 777 'type': 'shared_library', | |
| 778 'includes': [ | |
| 779 'command_buffer_client.gypi', | |
| 780 'command_buffer_common.gypi', | |
| 781 'command_buffer_service.gypi', | |
| 782 'command_buffer_traits.gypi', | |
| 783 'gles2_cmd_helper.gypi', | |
| 784 'gpu_config.gypi', | |
| 785 'gpu_ipc_client.gypi', | |
| 786 'gpu_ipc_common.gypi', | |
| 787 'gpu_ipc_service.gypi', | |
| 788 '../build/android/increase_size_for_speed.gypi', | |
| 789 ], | |
| 790 'defines': [ | |
| 791 'GPU_IMPLEMENTATION', | |
| 792 ], | |
| 793 'sources': [ | |
| 794 'gpu_export.h', | |
| 795 ], | |
| 796 'dependencies': [ | |
| 797 '../base/base.gyp:base', | |
| 798 '../third_party/angle/src/angle.gyp:angle_image_util', | |
| 799 'command_buffer/command_buffer.gyp:gles2_utils', | |
| 800 'disk_cache_proto', | |
| 801 ], | |
| 802 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 803 'msvs_disabled_warnings': [4267, ], | |
| 804 }, | |
| 805 { | |
| 806 # GN version: //gpu/command_buffer/common | |
| 807 'target_name': 'command_buffer_common', | |
| 808 'type': 'none', | |
| 809 'dependencies': [ | |
| 810 'gpu', | |
| 811 ], | |
| 812 }, | |
| 813 { | |
| 814 # Library helps make GLES2 command buffers. | |
| 815 # GN version: //gpu/command_buffer/client:gles2_cmd_helper | |
| 816 'target_name': 'gles2_cmd_helper', | |
| 817 'type': 'none', | |
| 818 'dependencies': [ | |
| 819 'gpu', | |
| 820 ], | |
| 821 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 822 'msvs_disabled_warnings': [4267, ], | |
| 823 }, | |
| 824 { | |
| 825 # GN version: //gpu/command_buffer/client | |
| 826 'target_name': 'command_buffer_client', | |
| 827 'type': 'none', | |
| 828 'dependencies': [ | |
| 829 'gpu', | |
| 830 ], | |
| 831 }, | |
| 832 { | |
| 833 # GN version: //gpu/command_buffer/service | |
| 834 'target_name': 'command_buffer_service', | |
| 835 'type': 'none', | |
| 836 'dependencies': [ | |
| 837 'gpu', | |
| 838 ], | |
| 839 }, | |
| 840 { | |
| 841 # GN version: //gpu/ipc/common:command_buffer_traits | |
| 842 'target_name': 'command_buffer_traits', | |
| 843 'type': 'none', | |
| 844 'dependencies': [ | |
| 845 'gpu', | |
| 846 ], | |
| 847 }, | |
| 848 { | |
| 849 # GN version: //gpu/ipc/client | |
| 850 'target_name': 'gpu_ipc_client', | |
| 851 'type': 'none', | |
| 852 'dependencies': [ | |
| 853 'gpu', | |
| 854 ], | |
| 855 }, | |
| 856 { | |
| 857 # GN version: //gpu/ipc/common | |
| 858 'target_name': 'gpu_ipc_common', | |
| 859 'type': 'none', | |
| 860 'dependencies': [ | |
| 861 'gpu', | |
| 862 ], | |
| 863 }, | |
| 864 { | |
| 865 # GN version: //gpu/ipc/service | |
| 866 'target_name': 'gpu_ipc_service', | |
| 867 'type': 'none', | |
| 868 'dependencies': [ | |
| 869 'gpu', | |
| 870 ], | |
| 871 }, | |
| 872 { | |
| 873 'target_name': 'gpu_config', | |
| 874 'type': 'none', | |
| 875 'dependencies': [ | |
| 876 'gpu', | |
| 877 ], | |
| 878 }, | |
| 879 ], | |
| 880 }], | |
| 881 ['disable_nacl!=1 and OS=="win" and target_arch=="ia32"', { | |
| 882 'targets': [ | |
| 883 { | |
| 884 'target_name': 'command_buffer_common_win64', | |
| 885 'type': 'static_library', | |
| 886 'variables': { | |
| 887 'nacl_win64_target': 1, | |
| 888 }, | |
| 889 'includes': [ | |
| 890 'command_buffer_common.gypi', | |
| 891 ], | |
| 892 'dependencies': [ | |
| 893 '../base/base.gyp:base_win64', | |
| 894 ], | |
| 895 'defines': [ | |
| 896 '<@(nacl_win64_defines)', | |
| 897 'GPU_IMPLEMENTATION', | |
| 898 ], | |
| 899 'configurations': { | |
| 900 'Common_Base': { | |
| 901 'msvs_target_platform': 'x64', | |
| 902 }, | |
| 903 }, | |
| 904 }, | |
| 905 { | |
| 906 'target_name': 'command_buffer_traits_win64', | |
| 907 'type': 'static_library', | |
| 908 'variables': { | |
| 909 'nacl_win64_target': 1, | |
| 910 }, | |
| 911 'includes': [ | |
| 912 'command_buffer_traits.gypi', | |
| 913 ], | |
| 914 'dependencies': [ | |
| 915 '../base/base.gyp:base_win64', | |
| 916 '../ipc/ipc.gyp:ipc_win64', | |
| 917 '../ui/gfx/ipc/geometry/gfx_ipc_geometry.gyp:gfx_ipc_geometry_win64'
, | |
| 918 'command_buffer/command_buffer.gyp:gles2_utils_win64', | |
| 919 'command_buffer_common_win64', | |
| 920 ], | |
| 921 'defines': [ | |
| 922 '<@(nacl_win64_defines)', | |
| 923 'GPU_IMPLEMENTATION', | |
| 924 ], | |
| 925 'configurations': { | |
| 926 'Common_Base': { | |
| 927 'msvs_target_platform': 'x64', | |
| 928 }, | |
| 929 }, | |
| 930 }, | |
| 931 ], | |
| 932 }], | |
| 933 ['OS == "android"', { | |
| 934 'targets': [ | |
| 935 { | |
| 936 'target_name': 'angle_unittests_apk', | |
| 937 'type': 'none', | |
| 938 'dependencies': | |
| 939 [ | |
| 940 'angle_unittests', | |
| 941 ], | |
| 942 'variables': | |
| 943 { | |
| 944 'test_suite_name': 'angle_unittests', | |
| 945 }, | |
| 946 'includes': [ '../build/apk_test.gypi' ], | |
| 947 }, | |
| 948 { | |
| 949 'target_name': 'gl_tests_apk', | |
| 950 'type': 'none', | |
| 951 'dependencies': [ | |
| 952 'gl_tests', | |
| 953 ], | |
| 954 'variables': { | |
| 955 'test_suite_name': 'gl_tests', | |
| 956 }, | |
| 957 'includes': [ | |
| 958 '../build/apk_test.gypi', | |
| 959 ], | |
| 960 }, | |
| 961 { | |
| 962 'target_name': 'gpu_ipc_service_unittests_apk', | |
| 963 'type': 'none', | |
| 964 'dependencies': [ | |
| 965 'gpu_ipc_service_unittests', | |
| 966 ], | |
| 967 'variables': { | |
| 968 'test_suite_name': 'gpu_ipc_service_unittests', | |
| 969 }, | |
| 970 'includes': [ '../build/apk_test.gypi' ], | |
| 971 }, | |
| 972 { | |
| 973 'target_name': 'gpu_unittests_apk', | |
| 974 'type': 'none', | |
| 975 'dependencies': [ | |
| 976 'gpu_unittests', | |
| 977 ], | |
| 978 'variables': { | |
| 979 'test_suite_name': 'gpu_unittests', | |
| 980 }, | |
| 981 'includes': [ '../build/apk_test.gypi' ], | |
| 982 }, | |
| 983 { | |
| 984 'target_name': 'gpu_perftests_apk', | |
| 985 'type': 'none', | |
| 986 'dependencies': [ | |
| 987 'gpu_perftests', | |
| 988 ], | |
| 989 'variables': { | |
| 990 'test_suite_name': 'gpu_perftests', | |
| 991 }, | |
| 992 'includes': [ '../build/apk_test.gypi' ], | |
| 993 }, | |
| 994 { | |
| 995 'target_name': 'command_buffer_gles2_tests_apk', | |
| 996 'type': 'none', | |
| 997 'dependencies': [ | |
| 998 'command_buffer_gles2_tests', | |
| 999 ], | |
| 1000 'variables': { | |
| 1001 'test_suite_name': 'command_buffer_gles2_tests', | |
| 1002 }, | |
| 1003 'includes': [ | |
| 1004 '../build/apk_test.gypi', | |
| 1005 ], | |
| 1006 }, | |
| 1007 ], | |
| 1008 }], | |
| 1009 ['OS == "win" or (OS == "linux" and use_x11==1) or OS == "mac"', { | |
| 1010 'targets': [ | |
| 1011 { | |
| 1012 'target_name': 'angle_end2end_tests', | |
| 1013 'type': '<(gtest_target_type)', | |
| 1014 'dependencies': [ | |
| 1015 '../base/base.gyp:base', | |
| 1016 '../base/base.gyp:test_support_base', | |
| 1017 ], | |
| 1018 'includes': [ | |
| 1019 '../third_party/angle/build/common_defines.gypi', | |
| 1020 '../third_party/angle/src/tests/angle_end2end_tests.gypi', | |
| 1021 ], | |
| 1022 'sources': [ | |
| 1023 'angle_end2end_tests_main.cc', | |
| 1024 ], | |
| 1025 }, | |
| 1026 ], | |
| 1027 }], | |
| 1028 ['OS == "win"', { | |
| 1029 'targets': [ | |
| 1030 { | |
| 1031 # TODO(jmadill): port this target to the GN build. | |
| 1032 'target_name': 'angle_perftests', | |
| 1033 'type': '<(gtest_target_type)', | |
| 1034 'dependencies': [ | |
| 1035 '../base/base.gyp:base', | |
| 1036 '../base/base.gyp:test_support_base', | |
| 1037 ], | |
| 1038 'includes': [ | |
| 1039 '../third_party/angle/build/common_defines.gypi', | |
| 1040 '../third_party/angle/src/tests/angle_perftests.gypi', | |
| 1041 ], | |
| 1042 'sources': [ | |
| 1043 'angle_perftests_main.cc', | |
| 1044 ], | |
| 1045 }, | |
| 1046 ], | |
| 1047 }], | |
| 1048 ['test_isolation_mode != "noop"', { | |
| 1049 'targets': [ | |
| 1050 { | |
| 1051 'target_name': 'gpu_ipc_service_unittests_run', | |
| 1052 'type': 'none', | |
| 1053 'dependencies': [ | |
| 1054 'gpu_ipc_service_unittests', | |
| 1055 ], | |
| 1056 'includes': [ | |
| 1057 '../build/isolate.gypi', | |
| 1058 ], | |
| 1059 'sources': [ | |
| 1060 'gpu_ipc_service_unittests.isolate', | |
| 1061 ], | |
| 1062 }, | |
| 1063 { | |
| 1064 'target_name': 'gpu_unittests_run', | |
| 1065 'type': 'none', | |
| 1066 'dependencies': [ | |
| 1067 'gpu_unittests', | |
| 1068 ], | |
| 1069 'includes': [ | |
| 1070 '../build/isolate.gypi', | |
| 1071 ], | |
| 1072 'sources': [ | |
| 1073 'gpu_unittests.isolate', | |
| 1074 ], | |
| 1075 'conditions': [ | |
| 1076 ['use_x11==1', | |
| 1077 { | |
| 1078 'dependencies': [ | |
| 1079 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', | |
| 1080 ], | |
| 1081 } | |
| 1082 ], | |
| 1083 ], | |
| 1084 }, | |
| 1085 ], | |
| 1086 }], | |
| 1087 ['build_angle_deqp_tests==1', { | |
| 1088 'targets': [ | |
| 1089 { | |
| 1090 # Only build dEQP on test configs. Note that dEQP is test-only code, | |
| 1091 # and is only a part of the Chromium build to allow easy integration | |
| 1092 # with the GPU bot waterfall. (Note that dEQP uses exceptions, and | |
| 1093 # currently can't build with Clang on Windows) | |
| 1094 'target_name': 'angle_deqp_gles2_tests', | |
| 1095 'type': '<(gtest_target_type)', | |
| 1096 'dependencies': [ | |
| 1097 '../base/base.gyp:base', | |
| 1098 '../base/base.gyp:test_support_base', | |
| 1099 '../third_party/angle/src/tests/tests.gyp:angle_deqp_gtest_support', | |
| 1100 '../third_party/angle/src/tests/tests.gyp:angle_deqp_libgles2', | |
| 1101 ], | |
| 1102 'includes': [ | |
| 1103 '../third_party/angle/build/common_defines.gypi', | |
| 1104 ], | |
| 1105 'sources': [ | |
| 1106 'angle_deqp_tests_main.cc', | |
| 1107 ], | |
| 1108 }, | |
| 1109 { | |
| 1110 'target_name': 'angle_deqp_gles3_tests', | |
| 1111 'type': '<(gtest_target_type)', | |
| 1112 'dependencies': [ | |
| 1113 '../base/base.gyp:base', | |
| 1114 '../base/base.gyp:test_support_base', | |
| 1115 '../third_party/angle/src/tests/tests.gyp:angle_deqp_gtest_support', | |
| 1116 '../third_party/angle/src/tests/tests.gyp:angle_deqp_libgles3', | |
| 1117 ], | |
| 1118 'includes': [ | |
| 1119 '../third_party/angle/build/common_defines.gypi', | |
| 1120 ], | |
| 1121 'sources': [ | |
| 1122 'angle_deqp_tests_main.cc', | |
| 1123 ], | |
| 1124 }, | |
| 1125 { | |
| 1126 'target_name': 'angle_deqp_egl_tests', | |
| 1127 'type': '<(gtest_target_type)', | |
| 1128 'dependencies': [ | |
| 1129 '../base/base.gyp:base', | |
| 1130 '../base/base.gyp:test_support_base', | |
| 1131 '../third_party/angle/src/tests/tests.gyp:angle_deqp_gtest_support', | |
| 1132 '../third_party/angle/src/tests/tests.gyp:angle_deqp_libegl', | |
| 1133 ], | |
| 1134 'includes': [ | |
| 1135 '../third_party/angle/build/common_defines.gypi', | |
| 1136 ], | |
| 1137 'sources': [ | |
| 1138 'angle_deqp_tests_main.cc', | |
| 1139 ], | |
| 1140 }, | |
| 1141 ], | |
| 1142 }], | |
| 1143 ['OS == "android" and test_isolation_mode != "noop"', | |
| 1144 { | |
| 1145 'targets': [ | |
| 1146 { | |
| 1147 'target_name': 'command_buffer_gles2_tests_apk_run', | |
| 1148 'type': 'none', | |
| 1149 'dependencies': [ | |
| 1150 'command_buffer_gles2_tests_apk', | |
| 1151 ], | |
| 1152 'includes': [ | |
| 1153 '../build/isolate.gypi', | |
| 1154 ], | |
| 1155 'sources': [ | |
| 1156 'command_buffer_gles2_apk.isolate', | |
| 1157 ], | |
| 1158 }, | |
| 1159 { | |
| 1160 'target_name': 'gl_tests_apk_run', | |
| 1161 'type': 'none', | |
| 1162 'dependencies': [ | |
| 1163 'gl_tests_apk', | |
| 1164 ], | |
| 1165 'includes': [ | |
| 1166 '../build/isolate.gypi', | |
| 1167 ], | |
| 1168 'sources': [ | |
| 1169 'gl_tests_apk.isolate', | |
| 1170 ], | |
| 1171 }, | |
| 1172 { | |
| 1173 'target_name': 'gpu_ipc_service_unittests_apk_run', | |
| 1174 'type': 'none', | |
| 1175 'dependencies': [ | |
| 1176 'gpu_ipc_service_unittests_apk', | |
| 1177 ], | |
| 1178 'includes': [ | |
| 1179 '../build/isolate.gypi', | |
| 1180 ], | |
| 1181 'sources': [ | |
| 1182 'gpu_ipc_service_unittests_apk.isolate', | |
| 1183 ], | |
| 1184 }, | |
| 1185 { | |
| 1186 'target_name': 'gpu_unittests_apk_run', | |
| 1187 'type': 'none', | |
| 1188 'dependencies': [ | |
| 1189 'gpu_unittests_apk', | |
| 1190 ], | |
| 1191 'includes': [ | |
| 1192 '../build/isolate.gypi', | |
| 1193 ], | |
| 1194 'sources': [ | |
| 1195 'gpu_unittests_apk.isolate', | |
| 1196 ], | |
| 1197 }, | |
| 1198 ], | |
| 1199 }, | |
| 1200 ], | |
| 1201 ], | |
| 1202 } | |
| OLD | NEW |