| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'nacl_win64_target': 0, | 7 'nacl_win64_target': 0, |
| 8 'build_angle_deqp_tests%': 0, | 8 'build_angle_deqp_tests%': 0, |
| 9 }, | 9 }, |
| 10 'includes': [ | 10 'includes': [ |
| (...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 ], | 294 ], |
| 295 'sources+': [ | 295 'sources+': [ |
| 296 'ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap_unittest.cc', | 296 'ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap_unittest.cc', |
| 297 ] | 297 ] |
| 298 }], | 298 }], |
| 299 ], | 299 ], |
| 300 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 300 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 301 'msvs_disabled_warnings': [ 4267, ], | 301 'msvs_disabled_warnings': [ 4267, ], |
| 302 }, | 302 }, |
| 303 { | 303 { |
| 304 # GN version: //gpu/ipc/service:gpu_ipc_service_unittests |
| 305 'target_name': 'gpu_ipc_service_unittests', |
| 306 'type': '<(gtest_target_type)', |
| 307 'dependencies': [ |
| 308 '../base/base.gyp:base', |
| 309 '../base/base.gyp:run_all_unittests', |
| 310 '../base/base.gyp:test_support_base', |
| 311 '../ipc/ipc.gyp:test_support_ipc', |
| 312 '../skia/skia.gyp:skia', |
| 313 '../testing/gtest.gyp:gtest', |
| 314 '../third_party/mesa/mesa.gyp:mesa_headers', |
| 315 '../ui/gfx/gfx.gyp:gfx_test_support', |
| 316 '../url/url.gyp:url_lib', |
| 317 'command_buffer_common', |
| 318 'command_buffer_service', |
| 319 'gpu_config', |
| 320 'gpu_ipc_common', |
| 321 'gpu_ipc_service', |
| 322 'gpu_ipc_service_test_support', |
| 323 ], |
| 324 'sources': [ |
| 325 'ipc/service/gpu_channel_manager_unittest.cc', |
| 326 'ipc/service/gpu_channel_test_common.cc', |
| 327 'ipc/service/gpu_channel_test_common.h', |
| 328 'ipc/service/gpu_channel_unittest.cc', |
| 329 ], |
| 330 'include_dirs': [ |
| 331 '../third_party/mesa/src/include', |
| 332 ], |
| 333 'conditions': [ |
| 334 ['OS == "android"', { |
| 335 'sources': [ |
| 336 'ipc/service/gpu_memory_buffer_factory_surface_texture_unittest.cc', |
| 337 ], |
| 338 }], |
| 339 ['OS == "mac"', { |
| 340 'sources': [ |
| 341 'ipc/service/ca_layer_tree_unittest_mac.mm', |
| 342 'ipc/service/gpu_memory_buffer_factory_io_surface_unittest.cc', |
| 343 ], |
| 344 'link_settings': { |
| 345 'libraries': [ |
| 346 '$(SDKROOT)/System/Library/Frameworks/CoreMedia.framework', |
| 347 '$(SDKROOT)/System/Library/Frameworks/AVFoundation.framework', |
| 348 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework', |
| 349 ], |
| 350 }, |
| 351 }], |
| 352 ['use_ozone == 1', { |
| 353 'sources': [ |
| 354 'ipc/service/gpu_memory_buffer_factory_ozone_native_pixmap_unittest.
cc', |
| 355 ], |
| 356 }], |
| 357 ], |
| 358 }, |
| 359 { |
| 304 # GN version: //gpu/gpu_perftests | 360 # GN version: //gpu/gpu_perftests |
| 305 'target_name': 'gpu_perftests', | 361 'target_name': 'gpu_perftests', |
| 306 'type': '<(gtest_target_type)', | 362 'type': '<(gtest_target_type)', |
| 307 'dependencies': [ | 363 'dependencies': [ |
| 308 '../base/base.gyp:base', | 364 '../base/base.gyp:base', |
| 309 '../base/base.gyp:test_support_base', | 365 '../base/base.gyp:test_support_base', |
| 310 '../testing/gmock.gyp:gmock', | 366 '../testing/gmock.gyp:gmock', |
| 311 '../testing/gtest.gyp:gtest', | 367 '../testing/gtest.gyp:gtest', |
| 312 '../testing/perf/perf_test.gyp:perf_test', | 368 '../testing/perf/perf_test.gyp:perf_test', |
| 313 '../ui/gfx/gfx.gyp:gfx_geometry', | 369 '../ui/gfx/gfx.gyp:gfx_geometry', |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 430 '..', | 486 '..', |
| 431 ], | 487 ], |
| 432 'sources': [ | 488 'sources': [ |
| 433 'command_buffer/client/gles2_interface_stub.cc', | 489 'command_buffer/client/gles2_interface_stub.cc', |
| 434 'command_buffer/client/gles2_interface_stub.h', | 490 'command_buffer/client/gles2_interface_stub.h', |
| 435 'command_buffer/service/error_state_mock.cc', | 491 'command_buffer/service/error_state_mock.cc', |
| 436 'command_buffer/service/gles2_cmd_decoder_mock.cc', | 492 'command_buffer/service/gles2_cmd_decoder_mock.cc', |
| 437 ], | 493 ], |
| 438 }, | 494 }, |
| 439 { | 495 { |
| 496 # GN version: //gpu/ipc/service:test_support |
| 497 'target_name': 'gpu_ipc_service_test_support', |
| 498 'type': 'static_library', |
| 499 'dependencies': [ |
| 500 ], |
| 501 'include_dirs': [ |
| 502 '..', |
| 503 ], |
| 504 'sources': [ |
| 505 'gpu/ipc/service/gpu_memory_buffer_factory_test_template.h', |
| 506 ], |
| 507 }, |
| 508 { |
| 440 # GN version: //gpu:command_buffer_gles2 | 509 # GN version: //gpu:command_buffer_gles2 |
| 441 'target_name': 'command_buffer_gles2', | 510 'target_name': 'command_buffer_gles2', |
| 442 'type': 'shared_library', | 511 'type': 'shared_library', |
| 443 'dependencies': [ | 512 'dependencies': [ |
| 444 '../base/base.gyp:base', | 513 '../base/base.gyp:base', |
| 445 '../gpu/command_buffer/command_buffer.gyp:gles2_utils', | 514 '../gpu/command_buffer/command_buffer.gyp:gles2_utils', |
| 446 '../gpu/gpu.gyp:command_buffer_service', | 515 '../gpu/gpu.gyp:command_buffer_service', |
| 447 '../ui/gfx/gfx.gyp:gfx_geometry', | 516 '../ui/gfx/gfx.gyp:gfx_geometry', |
| 448 '../ui/gl/gl.gyp:gl', | 517 '../ui/gl/gl.gyp:gl', |
| 449 'gles2_c_lib', | 518 'gles2_c_lib', |
| 450 'gles2_implementation', | 519 'gles2_implementation', |
| 451 ], | 520 ], |
| 452 'sources': [ | 521 'sources': [ |
| 453 # Note: sources list duplicated in GN build. | 522 # Note: sources list duplicated in GN build. |
| 454 # TODO(hendrikw): Move egl out of gles2_conform_support. | 523 # TODO(hendrikw): Move egl out of gles2_conform_support. |
| 455 'gles2_conform_support/egl/config.cc', | 524 'gles2_conform_support/egl/config.cc', |
| 456 'gles2_conform_support/egl/config.h', | 525 'gles2_conform_support/egl/config.h', |
| 457 'gles2_conform_support/egl/display.cc', | 526 'gles2_conform_support/egl/display.cc', |
| 458 'gles2_conform_support/egl/display.h', | 527 'gles2_conform_support/egl/display.h', |
| 459 'gles2_conform_support/egl/egl.cc', | 528 'gles2_conform_support/egl/egl.cc', |
| 460 'gles2_conform_support/egl/surface.cc', | 529 'gles2_conform_support/egl/surface.cc', |
| 461 'gles2_conform_support/egl/surface.h', | 530 'gles2_conform_support/egl/surface.h', |
| 462 'gles2_conform_support/egl/test_support.cc', | 531 'gles2_conform_support/egl/test_support.cc', |
| 463 'gles2_conform_support/egl/test_support.h', | 532 'gles2_conform_support/egl/test_support.h', |
| 464 ], | 533 ], |
| 465 » 'defines': [ | 534 'defines': [ |
| 466 'COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY', | 535 'COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY', |
| 467 'EGLAPIENTRY=', | 536 'EGLAPIENTRY=', |
| 468 » ], | 537 ], |
| 469 'conditions': [ | 538 'conditions': [ |
| 470 ['OS=="win"', { | 539 ['OS=="win"', { |
| 471 'defines': [ | 540 'defines': [ |
| 472 'EGLAPI=__declspec(dllexport)', | 541 'EGLAPI=__declspec(dllexport)', |
| 473 ], | 542 ], |
| 474 }, { # OS!="win" | 543 }, { # OS!="win" |
| 475 » » 'defines': [ | 544 'defines': [ |
| 476 'EGLAPI=__attribute__((visibility(\"default\")))' | 545 'EGLAPI=__attribute__((visibility(\"default\")))' |
| 477 ], | 546 ], |
| 478 }], | 547 }], |
| 479 ], | 548 ], |
| 480 }, | 549 }, |
| 481 { | 550 { |
| 482 # GN version: //gpu:command_buffer_gles2_tests | 551 # GN version: //gpu:command_buffer_gles2_tests |
| 483 'target_name': 'command_buffer_gles2_tests', | 552 'target_name': 'command_buffer_gles2_tests', |
| 484 'type': '<(gtest_target_type)', | 553 'type': '<(gtest_target_type)', |
| 485 'dependencies': [ | 554 'dependencies': [ |
| 486 '../base/base.gyp:base', | 555 '../base/base.gyp:base', |
| 487 '../base/base.gyp:test_support_base', | 556 '../base/base.gyp:test_support_base', |
| 488 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 557 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
| 489 '../testing/gmock.gyp:gmock', | 558 '../testing/gmock.gyp:gmock', |
| 490 '../testing/gtest.gyp:gtest', | 559 '../testing/gtest.gyp:gtest', |
| 491 'command_buffer_gles2', | 560 'command_buffer_gles2', |
| 492 ], | 561 ], |
| 493 'sources': [ | 562 'sources': [ |
| 494 # Note: sources list duplicated in GN build. | 563 # Note: sources list duplicated in GN build. |
| 495 'command_buffer/tests/command_buffer_gles2_tests_main.cc', | 564 'command_buffer/tests/command_buffer_gles2_tests_main.cc', |
| 496 'command_buffer/tests/egl_test.cc', | 565 'command_buffer/tests/egl_test.cc', |
| 497 ], | 566 ], |
| 498 » 'defines': [ | 567 'defines': [ |
| 499 'COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY', | 568 'COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY', |
| 500 'EGLAPIENTRY=', | 569 'EGLAPIENTRY=', |
| 501 ], | 570 ], |
| 502 'conditions': [ | 571 'conditions': [ |
| 503 ['OS=="win"', { | 572 ['OS=="win"', { |
| 504 'defines': [ | 573 'defines': [ |
| 505 'EGLAPI=__declspec(dllimport)', | 574 'EGLAPI=__declspec(dllimport)', |
| 506 ], | 575 ], |
| 507 }, { # OS!="win" | 576 }, { # OS!="win" |
| 508 » » 'defines': [ | 577 'defines': [ |
| 509 'EGLAPI=', | 578 'EGLAPI=', |
| 510 ], | 579 ], |
| 511 » » }], | 580 }], |
| 512 ['OS == "android"', { | 581 ['OS == "android"', { |
| 513 'dependencies': [ | 582 'dependencies': [ |
| 514 '../testing/android/native_test.gyp:native_test_native_code', | 583 '../testing/android/native_test.gyp:native_test_native_code', |
| 515 ], | 584 ], |
| 516 }], | 585 }], |
| 517 ], | 586 ], |
| 518 }, | 587 }, |
| 519 ], | 588 ], |
| 520 'conditions': [ | 589 'conditions': [ |
| 521 ['component=="static_library"', { | 590 ['component=="static_library"', { |
| (...skipping 14 matching lines...) Expand all Loading... |
| 536 'target_name': 'gpu', | 605 'target_name': 'gpu', |
| 537 'type': 'none', | 606 'type': 'none', |
| 538 'dependencies': [ | 607 'dependencies': [ |
| 539 'command_buffer_client', | 608 'command_buffer_client', |
| 540 'command_buffer_common', | 609 'command_buffer_common', |
| 541 'command_buffer_service', | 610 'command_buffer_service', |
| 542 'gles2_cmd_helper', | 611 'gles2_cmd_helper', |
| 543 'gpu_config', | 612 'gpu_config', |
| 544 'gpu_ipc_client', | 613 'gpu_ipc_client', |
| 545 'gpu_ipc_common', | 614 'gpu_ipc_common', |
| 615 'gpu_ipc_service', |
| 546 ], | 616 ], |
| 547 'sources': [ | 617 'sources': [ |
| 548 'gpu_export.h', | 618 'gpu_export.h', |
| 549 ], | 619 ], |
| 550 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 620 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 551 'msvs_disabled_warnings': [4267, ], | 621 'msvs_disabled_warnings': [4267, ], |
| 552 }, | 622 }, |
| 553 { | 623 { |
| 554 # GN version: //gpu/command_buffer/common | 624 # GN version: //gpu/command_buffer/common |
| 555 'target_name': 'command_buffer_common', | 625 'target_name': 'command_buffer_common', |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 635 'target_name': 'gpu_ipc_common', | 705 'target_name': 'gpu_ipc_common', |
| 636 'type': 'static_library', | 706 'type': 'static_library', |
| 637 'includes': [ | 707 'includes': [ |
| 638 'gpu_ipc_common.gypi', | 708 'gpu_ipc_common.gypi', |
| 639 ], | 709 ], |
| 640 'dependencies': [ | 710 'dependencies': [ |
| 641 'command_buffer_traits', | 711 'command_buffer_traits', |
| 642 ], | 712 ], |
| 643 }, | 713 }, |
| 644 { | 714 { |
| 715 # GN version: //gpu/ipc/service |
| 716 'target_name': 'gpu_ipc_service', |
| 717 'type': 'static_library', |
| 718 'includes': [ |
| 719 'gpu_ipc_service.gypi', |
| 720 ], |
| 721 'dependencies': [ |
| 722 'command_buffer_traits', |
| 723 ], |
| 724 }, |
| 725 { |
| 645 'target_name': 'gpu_config', | 726 'target_name': 'gpu_config', |
| 646 'type': 'static_library', | 727 'type': 'static_library', |
| 647 'includes': [ | 728 'includes': [ |
| 648 'gpu_config.gypi', | 729 'gpu_config.gypi', |
| 649 ], | 730 ], |
| 650 }, | 731 }, |
| 651 ], | 732 ], |
| 652 }, | 733 }, |
| 653 { # component != static_library | 734 { # component != static_library |
| 654 'targets': [ | 735 'targets': [ |
| (...skipping 14 matching lines...) Expand all Loading... |
| 669 'type': 'shared_library', | 750 'type': 'shared_library', |
| 670 'includes': [ | 751 'includes': [ |
| 671 'command_buffer_client.gypi', | 752 'command_buffer_client.gypi', |
| 672 'command_buffer_common.gypi', | 753 'command_buffer_common.gypi', |
| 673 'command_buffer_service.gypi', | 754 'command_buffer_service.gypi', |
| 674 'command_buffer_traits.gypi', | 755 'command_buffer_traits.gypi', |
| 675 'gles2_cmd_helper.gypi', | 756 'gles2_cmd_helper.gypi', |
| 676 'gpu_config.gypi', | 757 'gpu_config.gypi', |
| 677 'gpu_ipc_client.gypi', | 758 'gpu_ipc_client.gypi', |
| 678 'gpu_ipc_common.gypi', | 759 'gpu_ipc_common.gypi', |
| 760 'gpu_ipc_service.gypi', |
| 679 '../build/android/increase_size_for_speed.gypi', | 761 '../build/android/increase_size_for_speed.gypi', |
| 680 ], | 762 ], |
| 681 'defines': [ | 763 'defines': [ |
| 682 'GPU_IMPLEMENTATION', | 764 'GPU_IMPLEMENTATION', |
| 683 ], | 765 ], |
| 684 'sources': [ | 766 'sources': [ |
| 685 'gpu_export.h', | 767 'gpu_export.h', |
| 686 ], | 768 ], |
| 687 'dependencies': [ | 769 'dependencies': [ |
| 688 '../base/base.gyp:base', | 770 '../base/base.gyp:base', |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 744 ], | 826 ], |
| 745 }, | 827 }, |
| 746 { | 828 { |
| 747 # GN version: //gpu/ipc/common | 829 # GN version: //gpu/ipc/common |
| 748 'target_name': 'gpu_ipc_common', | 830 'target_name': 'gpu_ipc_common', |
| 749 'type': 'none', | 831 'type': 'none', |
| 750 'dependencies': [ | 832 'dependencies': [ |
| 751 'gpu', | 833 'gpu', |
| 752 ], | 834 ], |
| 753 }, | 835 }, |
| 836 { |
| 837 # GN version: //gpu/ipc/service |
| 838 'target_name': 'gpu_ipc_service', |
| 839 'type': 'none', |
| 840 'dependencies': [ |
| 841 'gpu', |
| 842 ], |
| 843 }, |
| 844 { |
| 845 'target_name': 'gpu_config', |
| 846 'type': 'none', |
| 847 'dependencies': [ |
| 848 'gpu', |
| 849 ], |
| 850 }, |
| 754 ], | 851 ], |
| 755 }], | 852 }], |
| 756 ['disable_nacl!=1 and OS=="win" and target_arch=="ia32"', { | 853 ['disable_nacl!=1 and OS=="win" and target_arch=="ia32"', { |
| 757 'targets': [ | 854 'targets': [ |
| 758 { | 855 { |
| 759 'target_name': 'command_buffer_common_win64', | 856 'target_name': 'command_buffer_common_win64', |
| 760 'type': 'static_library', | 857 'type': 'static_library', |
| 761 'variables': { | 858 'variables': { |
| 762 'nacl_win64_target': 1, | 859 'nacl_win64_target': 1, |
| 763 }, | 860 }, |
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1054 ], | 1151 ], |
| 1055 'sources': [ | 1152 'sources': [ |
| 1056 'gpu_unittests_apk.isolate', | 1153 'gpu_unittests_apk.isolate', |
| 1057 ], | 1154 ], |
| 1058 }, | 1155 }, |
| 1059 ], | 1156 ], |
| 1060 }, | 1157 }, |
| 1061 ], | 1158 ], |
| 1062 ], | 1159 ], |
| 1063 } | 1160 } |
| OLD | NEW |