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 }, 9 'includes': [ 10 'gpu_common.gypi', 11 ], 12 'targets': [ 13 { 14 # Library emulates GLES2 using command_buffers. 15 # GN version: //gpu/command_buffer/client:gles2_implementation 16 'target_name': 'gles2_implementation', 17 'type': '<(component)', 18 'dependencies': [ 19 '../base/base.gyp:base', 20 '../third_party/khronos/khronos.gyp:khronos_headers', 21 '../ui/gfx/gfx.gyp:gfx_geometry', 22 '../ui/gl/gl.gyp:gl', 23 'command_buffer/command_buffer.gyp:gles2_utils', 24 'gles2_cmd_helper', 25 ], 26 'defines': [ 27 'GLES2_IMPL_IMPLEMENTATION', 28 ], 29 'sources': [ 30 '<@(gles2_implementation_source_files)', 31 ], 32 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 33 'msvs_disabled_warnings': [4267, ], 34 }, 35 { 36 # GN version: //gpu/command_buffer/client:gl_in_process_context 37 'target_name': 'gl_in_process_context', 38 'type': '<(component)', 39 'dependencies': [ 40 'command_buffer/command_buffer.gyp:gles2_utils', 41 'gles2_implementation', 42 'gpu', 43 '../base/base.gyp:base', 44 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', 45 '../ui/gfx/gfx.gyp:gfx_geometry', 46 '../ui/gl/gl.gyp:gl', 47 ], 48 'defines': [ 49 'GL_IN_PROCESS_CONTEXT_IMPLEMENTATION', 50 ], 51 'sources': [ 52 'command_buffer/client/gl_in_process_context.h', 53 'command_buffer/client/gl_in_process_context.cc', 54 'command_buffer/client/gl_in_process_context_export.h', 55 ], 56 }, 57 { 58 # Library emulates GLES2 using command_buffers. 59 # GN version: //gpu/command_buffer/client:gles2_implementation_client_side_arrays 60 'target_name': 'gles2_implementation_client_side_arrays', 61 'type': '<(component)', 62 'defines': [ 63 'GLES2_IMPL_IMPLEMENTATION', 64 'GLES2_SUPPORT_CLIENT_SIDE_ARRAYS=1', 65 ], 66 'dependencies': [ 67 '../base/base.gyp:base', 68 '../third_party/khronos/khronos.gyp:khronos_headers', 69 '../ui/gl/gl.gyp:gl', 70 '../ui/gfx/gfx.gyp:gfx_geometry', 71 '../ui/gfx/gfx.gyp:gfx', 72 'command_buffer/command_buffer.gyp:gles2_utils', 73 'gles2_cmd_helper', 74 ], 75 'sources': [ 76 '<@(gles2_implementation_source_files)', 77 ], 78 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 79 'msvs_disabled_warnings': [ 4267, ], 80 }, 81 { 82 # Library emulates GLES2 using command_buffers. 83 'target_name': 'gles2_implementation_client_side_arrays_no_check', 84 'type': '<(component)', 85 'defines': [ 86 'GLES2_IMPL_IMPLEMENTATION', 87 'GLES2_SUPPORT_CLIENT_SIDE_ARRAYS=1', 88 'GLES2_CONFORMANCE_TESTS=1', 89 ], 90 'dependencies': [ 91 '../base/base.gyp:base', 92 '../third_party/khronos/khronos.gyp:khronos_headers', 93 '../ui/gfx/gfx.gyp:gfx', 94 '../ui/gfx/gfx.gyp:gfx_geometry', 95 'command_buffer/command_buffer.gyp:gles2_utils', 96 'gles2_cmd_helper', 97 ], 98 'sources': [ 99 '<@(gles2_implementation_source_files)', 100 ], 101 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 102 'msvs_disabled_warnings': [ 4267, ], 103 }, 104 { 105 # Stub to expose gles2_implemenation in C instead of C++. 106 # so GLES2 C programs can work with no changes. 107 # GN version: //gpu/command_buffer/client:gles2_c_lib 108 'target_name': 'gles2_c_lib', 109 'type': '<(component)', 110 'dependencies': [ 111 '../base/base.gyp:base', 112 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', 113 'command_buffer/command_buffer.gyp:gles2_utils', 114 'command_buffer_client', 115 ], 116 'defines': [ 117 'GLES2_C_LIB_IMPLEMENTATION', 118 ], 119 'sources': [ 120 '<@(gles2_c_lib_source_files)', 121 ], 122 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 123 'msvs_disabled_warnings': [4267, ], 124 }, 125 { 126 # Same as gles2_c_lib except with no parameter checking. Required for 127 # OpenGL ES 2.0 conformance tests. 128 'target_name': 'gles2_c_lib_nocheck', 129 'type': '<(component)', 130 'defines': [ 131 'GLES2_C_LIB_IMPLEMENTATION', 132 'GLES2_CONFORMANCE_TESTS=1', 133 ], 134 'dependencies': [ 135 '../base/base.gyp:base', 136 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', 137 'command_buffer/command_buffer.gyp:gles2_utils', 138 'command_buffer_client', 139 'gles2_implementation_client_side_arrays_no_check', 140 ], 141 'sources': [ 142 '<@(gles2_c_lib_source_files)', 143 ], 144 }, 145 { 146 # GN version: //gpu:angle_unittests 147 'target_name': 'angle_unittests', 148 'type': '<(gtest_target_type)', 149 'dependencies': [ 150 '../base/base.gyp:base', 151 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', 152 '../testing/gmock.gyp:gmock', 153 '../testing/gtest.gyp:gtest', 154 '<(angle_path)/src/build_angle.gyp:translator_static', 155 ], 156 'variables': { 157 'ANGLE_DIR': '<(angle_path)', 158 }, 159 'includes': [ 160 '../third_party/angle/tests/preprocessor_tests/preprocessor_tests.gypi', 161 '../third_party/angle/tests/compiler_tests/compiler_tests.gypi', 162 ], 163 'include_dirs': [ 164 '..', 165 '<(angle_path)/include', 166 '<(angle_path)/src', 167 '<(angle_path)/src/compiler/preprocessor', 168 '<(angle_path)/tests', 169 ], 170 'sources': [ 171 'angle_unittest_main.cc', 172 ], 173 }, 174 { 175 # GN version: //gpu:gpu_unittests 176 'target_name': 'gpu_unittests', 177 'type': '<(gtest_target_type)', 178 'dependencies': [ 179 '../base/base.gyp:base', 180 '../base/base.gyp:test_support_base', 181 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', 182 '../testing/gmock.gyp:gmock', 183 '../testing/gtest.gyp:gtest', 184 '<(angle_path)/src/build_angle.gyp:translator', 185 '../ui/gl/gl.gyp:gl', 186 '../ui/gfx/gfx.gyp:gfx', 187 '../ui/gfx/gfx.gyp:gfx_geometry', 188 '../ui/gfx/gfx.gyp:gfx_test_support', 189 'command_buffer/command_buffer.gyp:gles2_utils', 190 'command_buffer_client', 191 'command_buffer_common', 192 'command_buffer_service', 193 'gpu', 194 'gpu_unittest_utils', 195 'gles2_implementation_client_side_arrays', 196 'gles2_cmd_helper', 197 'gles2_c_lib', 198 ], 199 'sources': [ 200 # Note: sources list duplicated in GN build. 201 'command_buffer/client/buffer_tracker_unittest.cc', 202 'command_buffer/client/client_test_helper.cc', 203 'command_buffer/client/client_test_helper.h', 204 'command_buffer/client/cmd_buffer_helper_test.cc', 205 'command_buffer/client/fenced_allocator_test.cc', 206 'command_buffer/client/gles2_implementation_unittest.cc', 207 'command_buffer/client/mapped_memory_unittest.cc', 208 'command_buffer/client/query_tracker_unittest.cc', 209 'command_buffer/client/program_info_manager_unittest.cc', 210 'command_buffer/client/ring_buffer_test.cc', 211 'command_buffer/client/transfer_buffer_unittest.cc', 212 'command_buffer/client/vertex_array_object_manager_unittest.cc', 213 'command_buffer/common/bitfield_helpers_test.cc', 214 'command_buffer/common/command_buffer_mock.cc', 215 'command_buffer/common/command_buffer_mock.h', 216 'command_buffer/common/command_buffer_shared_test.cc', 217 'command_buffer/common/debug_marker_manager_unittest.cc', 218 'command_buffer/common/gles2_cmd_format_test.cc', 219 'command_buffer/common/gles2_cmd_format_test_autogen.h', 220 'command_buffer/common/gles2_cmd_utils_unittest.cc', 221 'command_buffer/common/id_allocator_test.cc', 222 'command_buffer/common/trace_event.h', 223 'command_buffer/common/unittest_main.cc', 224 'command_buffer/service/async_pixel_transfer_delegate_mock.h', 225 'command_buffer/service/async_pixel_transfer_delegate_mock.cc', 226 'command_buffer/service/async_pixel_transfer_manager_mock.h', 227 'command_buffer/service/async_pixel_transfer_manager_mock.cc', 228 'command_buffer/service/buffer_manager_unittest.cc', 229 'command_buffer/service/cmd_parser_test.cc', 230 'command_buffer/service/command_buffer_service_unittest.cc', 231 'command_buffer/service/common_decoder_unittest.cc', 232 'command_buffer/service/context_group_unittest.cc', 233 'command_buffer/service/feature_info_unittest.cc', 234 'command_buffer/service/framebuffer_manager_unittest.cc', 235 'command_buffer/service/gles2_cmd_decoder_unittest.cc', 236 'command_buffer/service/gles2_cmd_decoder_unittest.h', 237 'command_buffer/service/gles2_cmd_decoder_unittest_0_autogen.h', 238 'command_buffer/service/gles2_cmd_decoder_unittest_1.cc', 239 'command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h', 240 'command_buffer/service/gles2_cmd_decoder_unittest_2.cc', 241 'command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h', 242 'command_buffer/service/gles2_cmd_decoder_unittest_3.cc', 243 'command_buffer/service/gles2_cmd_decoder_unittest_3_autogen.h', 244 'command_buffer/service/gles2_cmd_decoder_unittest_async_pixel.cc', 245 'command_buffer/service/gles2_cmd_decoder_unittest_base.cc', 246 'command_buffer/service/gles2_cmd_decoder_unittest_base.h', 247 'command_buffer/service/gles2_cmd_decoder_unittest_context_state.cc', 248 'command_buffer/service/gles2_cmd_decoder_unittest_drawing.cc', 249 'command_buffer/service/gles2_cmd_decoder_unittest_extensions.cc', 250 'command_buffer/service/gles2_cmd_decoder_unittest_extensions_autogen.h', 251 'command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc', 252 'command_buffer/service/gles2_cmd_decoder_unittest_programs.cc', 253 'command_buffer/service/gles2_cmd_decoder_unittest_textures.cc', 254 'command_buffer/service/gles2_cmd_decoder_unittest_attribs.cc', 255 'command_buffer/service/gl_surface_mock.cc', 256 'command_buffer/service/gl_surface_mock.h', 257 'command_buffer/service/gpu_scheduler_unittest.cc', 258 'command_buffer/service/gpu_service_test.cc', 259 'command_buffer/service/gpu_service_test.h', 260 'command_buffer/service/id_manager_unittest.cc', 261 'command_buffer/service/mailbox_manager_unittest.cc', 262 'command_buffer/service/memory_program_cache_unittest.cc', 263 'command_buffer/service/mocks.cc', 264 'command_buffer/service/mocks.h', 265 'command_buffer/service/program_manager_unittest.cc', 266 'command_buffer/service/query_manager_unittest.cc', 267 'command_buffer/service/renderbuffer_manager_unittest.cc', 268 'command_buffer/service/program_cache_unittest.cc', 269 'command_buffer/service/shader_manager_unittest.cc', 270 'command_buffer/service/shader_translator_unittest.cc', 271 'command_buffer/service/test_helper.cc', 272 'command_buffer/service/test_helper.h', 273 'command_buffer/service/texture_manager_unittest.cc', 274 'command_buffer/service/transfer_buffer_manager_unittest.cc', 275 'command_buffer/service/vertex_attrib_manager_unittest.cc', 276 'command_buffer/service/vertex_array_manager_unittest.cc', 277 'command_buffer/service/gpu_tracer_unittest.cc', 278 'config/gpu_blacklist_unittest.cc', 279 'config/gpu_control_list_entry_unittest.cc', 280 'config/gpu_control_list_number_info_unittest.cc', 281 'config/gpu_control_list_os_info_unittest.cc', 282 'config/gpu_control_list_unittest.cc', 283 'config/gpu_control_list_version_info_unittest.cc', 284 'config/gpu_driver_bug_list_unittest.cc', 285 'config/gpu_info_collector_unittest.cc', 286 'config/gpu_info_unittest.cc', 287 'config/gpu_test_config_unittest.cc', 288 'config/gpu_test_expectations_parser_unittest.cc', 289 'config/gpu_util_unittest.cc', 290 ], 291 'conditions': [ 292 ['OS == "android"', { 293 'dependencies': [ 294 '../testing/android/native_test.gyp:native_test_native_code', 295 ], 296 }], 297 # See http://crbug.com/162998#c4 for why this is needed. 298 ['OS=="linux" and use_allocator!="none"', { 299 'dependencies': [ 300 '../base/allocator/allocator.gyp:allocator', 301 ], 302 }], 303 ], 304 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 305 'msvs_disabled_warnings': [ 4267, ], 306 }, 307 { 308 # GN version: //gpu:gl_tests 309 'target_name': 'gl_tests', 310 'type': '<(gtest_target_type)', 311 'dependencies': [ 312 '../base/base.gyp:base', 313 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', 314 '../testing/gmock.gyp:gmock', 315 '../testing/gtest.gyp:gtest', 316 '<(angle_path)/src/build_angle.gyp:translator', 317 '../ui/gfx/gfx.gyp:gfx', 318 '../ui/gfx/gfx.gyp:gfx_test_support', 319 '../ui/gfx/gfx.gyp:gfx_geometry', 320 '../ui/gl/gl.gyp:gl', 321 'command_buffer/command_buffer.gyp:gles2_utils', 322 'command_buffer_client', 323 'command_buffer_common', 324 'command_buffer_service', 325 'gpu', 326 'gpu_unittest_utils', 327 'gles2_implementation_client_side_arrays', 328 'gles2_cmd_helper', 329 'gles2_c_lib', 330 #'gl_unittests', 331 ], 332 'defines': [ 333 'GL_GLEXT_PROTOTYPES', 334 ], 335 'sources': [ 336 # Note: sources list duplicated in GN build. 337 'command_buffer/tests/compressed_texture_test.cc', 338 'command_buffer/tests/gl_bind_uniform_location_unittest.cc', 339 'command_buffer/tests/gl_chromium_framebuffer_multisample_unittest.cc', 340 'command_buffer/tests/gl_chromium_path_rendering_unittest.cc', 341 'command_buffer/tests/gl_copy_texture_CHROMIUM_unittest.cc', 342 'command_buffer/tests/gl_depth_texture_unittest.cc', 343 'command_buffer/tests/gl_gpu_memory_buffer_unittest.cc', 344 'command_buffer/tests/gl_lose_context_chromium_unittest.cc', 345 'command_buffer/tests/gl_manager.cc', 346 'command_buffer/tests/gl_manager.h', 347 'command_buffer/tests/gl_pointcoord_unittest.cc', 348 'command_buffer/tests/gl_program_unittest.cc', 349 'command_buffer/tests/gl_query_unittest.cc', 350 'command_buffer/tests/gl_readback_unittest.cc', 351 'command_buffer/tests/gl_shared_resources_unittest.cc', 352 'command_buffer/tests/gl_stream_draw_unittest.cc', 353 'command_buffer/tests/gl_test_utils.cc', 354 'command_buffer/tests/gl_test_utils.h', 355 'command_buffer/tests/gl_tests_main.cc', 356 'command_buffer/tests/gl_texture_mailbox_unittest.cc', 357 'command_buffer/tests/gl_texture_storage_unittest.cc', 358 'command_buffer/tests/gl_unittest.cc', 359 'command_buffer/tests/gl_unittests_android.cc', 360 'command_buffer/tests/gl_virtual_contexts_unittest.cc', 361 'command_buffer/tests/occlusion_query_unittest.cc', 362 ], 363 'conditions': [ 364 ['OS == "android"', { 365 'dependencies': [ 366 '../testing/android/native_test.gyp:native_test_native_code', 367 ], 368 }], 369 ['OS == "win"', { 370 'dependencies': [ 371 '../third_party/angle/src/build_angle.gyp:libEGL', 372 '../third_party/angle/src/build_angle.gyp:libGLESv2', 373 ], 374 }], 375 ], 376 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 377 'msvs_disabled_warnings': [ 4267, ], 378 }, 379 { 380 # GN version: //gpu:test_support 381 'target_name': 'gpu_unittest_utils', 382 'type': 'static_library', 383 'dependencies': [ 384 '../testing/gmock.gyp:gmock', 385 '../testing/gtest.gyp:gtest', 386 '../third_party/khronos/khronos.gyp:khronos_headers', 387 '../ui/gl/gl.gyp:gl_unittest_utils', 388 'gpu', 389 ], 390 'include_dirs': [ 391 '..', 392 ], 393 'sources': [ 394 'command_buffer/service/gles2_cmd_decoder_mock.cc', 395 'command_buffer/service/error_state_mock.cc', 396 'command_buffer/client/gles2_interface_stub.cc', 397 'command_buffer/client/gles2_interface_stub.h', 398 ], 399 }, 400 ], 401 'conditions': [ 402 ['component=="static_library"', { 403 'targets': [ 404 { 405 # GN version: //gpu/command_buffer/service:disk_cache_proto 406 'target_name': 'disk_cache_proto', 407 'type': 'static_library', 408 'sources': [ 'command_buffer/service/disk_cache_proto.proto' ], 409 'variables': { 410 'proto_in_dir': 'command_buffer/service', 411 'proto_out_dir': 'gpu/command_buffer/service', 412 }, 413 'includes': [ '../build/protoc.gypi' ], 414 }, 415 { 416 # GN version: //gpu 417 'target_name': 'gpu', 418 'type': 'none', 419 'dependencies': [ 420 'command_buffer_client', 421 'command_buffer_common', 422 'command_buffer_service', 423 'gles2_cmd_helper', 424 'gpu_config', 425 'gpu_ipc', 426 ], 427 'sources': [ 428 'gpu_export.h', 429 ], 430 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 431 'msvs_disabled_warnings': [4267, ], 432 }, 433 { 434 # GN version: //gpu/command_buffer/common 435 'target_name': 'command_buffer_common', 436 'type': 'static_library', 437 'includes': [ 438 'command_buffer_common.gypi', 439 ], 440 'dependencies': [ 441 '../base/base.gyp:base', 442 'command_buffer/command_buffer.gyp:gles2_utils', 443 ], 444 'export_dependent_settings': [ 445 '../base/base.gyp:base', 446 ], 447 }, 448 { 449 # Library helps make GLES2 command buffers. 450 # GN version: //gpu/command_buffer/client:gles2_cmd_helper 451 'target_name': 'gles2_cmd_helper', 452 'type': 'static_library', 453 'includes': [ 454 'gles2_cmd_helper.gypi', 455 ], 456 'dependencies': [ 457 'command_buffer_client', 458 ], 459 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 460 'msvs_disabled_warnings': [4267, ], 461 }, 462 { 463 # GN version: //gpu/command_buffer/client 464 'target_name': 'command_buffer_client', 465 'type': 'static_library', 466 'includes': [ 467 'command_buffer_client.gypi', 468 ], 469 'dependencies': [ 470 'command_buffer_common', 471 ], 472 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 473 'msvs_disabled_warnings': [4267, ], 474 }, 475 { 476 # GN version: //gpu/command_buffer/service 477 'target_name': 'command_buffer_service', 478 'type': 'static_library', 479 'includes': [ 480 'command_buffer_service.gypi', 481 '../build/android/increase_size_for_speed.gypi', 482 ], 483 'dependencies': [ 484 'command_buffer_common', 485 'disk_cache_proto', 486 ], 487 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 488 'msvs_disabled_warnings': [4267, ], 489 }, 490 { 491 # GN version: //gpu/ipc 492 'target_name': 'gpu_ipc', 493 'type': 'static_library', 494 'includes': [ 495 'gpu_ipc.gypi', 496 ], 497 'dependencies': [ 498 'command_buffer_common', 499 ], 500 }, 501 { 502 'target_name': 'gpu_config', 503 'type': 'static_library', 504 'includes': [ 505 'gpu_config.gypi', 506 ], 507 }, 508 ], 509 }, 510 { # component != static_library 511 'targets': [ 512 { 513 # GN version: //gpu/command_buffer/service:disk_cache_proto 514 'target_name': 'disk_cache_proto', 515 'type': 'static_library', 516 'sources': [ 'command_buffer/service/disk_cache_proto.proto' ], 517 'variables': { 518 'proto_in_dir': 'command_buffer/service', 519 'proto_out_dir': 'gpu/command_buffer/service', 520 }, 521 'includes': [ '../build/protoc.gypi' ], 522 }, 523 { 524 # GN version: //gpu 525 'target_name': 'gpu', 526 'type': 'shared_library', 527 'includes': [ 528 'command_buffer_client.gypi', 529 'command_buffer_common.gypi', 530 'command_buffer_service.gypi', 531 'gles2_cmd_helper.gypi', 532 'gpu_config.gypi', 533 'gpu_ipc.gypi', 534 '../build/android/increase_size_for_speed.gypi', 535 ], 536 'defines': [ 537 'GPU_IMPLEMENTATION', 538 ], 539 'sources': [ 540 'gpu_export.h', 541 ], 542 'dependencies': [ 543 '../base/base.gyp:base', 544 'command_buffer/command_buffer.gyp:gles2_utils', 545 'disk_cache_proto', 546 ], 547 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 548 'msvs_disabled_warnings': [4267, ], 549 }, 550 { 551 # GN version: //gpu/command_buffer/common 552 'target_name': 'command_buffer_common', 553 'type': 'none', 554 'dependencies': [ 555 'gpu', 556 ], 557 }, 558 { 559 # Library helps make GLES2 command buffers. 560 # GN version: //gpu/command_buffer/client:gles2_cmd_helper 561 'target_name': 'gles2_cmd_helper', 562 'type': 'none', 563 'dependencies': [ 564 'gpu', 565 ], 566 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 567 'msvs_disabled_warnings': [4267, ], 568 }, 569 { 570 # GN version: //gpu/command_buffer/client 571 'target_name': 'command_buffer_client', 572 'type': 'none', 573 'dependencies': [ 574 'gpu', 575 ], 576 }, 577 { 578 # GN version: //gpu/command_buffer/service 579 'target_name': 'command_buffer_service', 580 'type': 'none', 581 'dependencies': [ 582 'gpu', 583 ], 584 }, 585 { 586 # GN version: //gpu/ipc 587 'target_name': 'gpu_ipc', 588 'type': 'none', 589 'dependencies': [ 590 'gpu', 591 ], 592 }, 593 ], 594 }], 595 ['disable_nacl!=1 and OS=="win" and target_arch=="ia32"', { 596 'targets': [ 597 { 598 'target_name': 'command_buffer_common_win64', 599 'type': 'static_library', 600 'variables': { 601 'nacl_win64_target': 1, 602 }, 603 'includes': [ 604 'command_buffer_common.gypi', 605 ], 606 'dependencies': [ 607 '../base/base.gyp:base_win64', 608 ], 609 'defines': [ 610 '<@(nacl_win64_defines)', 611 'GPU_IMPLEMENTATION', 612 ], 613 'configurations': { 614 'Common_Base': { 615 'msvs_target_platform': 'x64', 616 }, 617 }, 618 }, 619 { 620 'target_name': 'gpu_ipc_win64', 621 'type': 'static_library', 622 'variables': { 623 'nacl_win64_target': 1, 624 }, 625 'includes': [ 626 'gpu_ipc.gypi', 627 ], 628 'dependencies': [ 629 '../base/base.gyp:base_win64', 630 '../ipc/ipc.gyp:ipc_win64', 631 'command_buffer_common_win64', 632 ], 633 'defines': [ 634 '<@(nacl_win64_defines)', 635 'GPU_IMPLEMENTATION', 636 ], 637 'configurations': { 638 'Common_Base': { 639 'msvs_target_platform': 'x64', 640 }, 641 }, 642 }, 643 ], 644 }], 645 ['OS == "android"', { 646 'targets': [ 647 { 648 'target_name': 'gl_tests_apk', 649 'type': 'none', 650 'dependencies': [ 651 'gl_tests', 652 ], 653 'variables': { 654 'test_suite_name': 'gl_tests', 655 }, 656 'includes': [ 657 '../build/apk_test.gypi', 658 ], 659 }, 660 { 661 'target_name': 'gpu_unittests_apk', 662 'type': 'none', 663 'dependencies': [ 664 'gpu_unittests', 665 ], 666 'variables': { 667 'test_suite_name': 'gpu_unittests', 668 }, 669 'includes': [ '../build/apk_test.gypi' ], 670 }, 671 ], 672 }], 673 ], 674} 675