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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 ['use_ozone == 1', { | 291 ['use_ozone == 1', { |
292 'sources+': [ | 292 'sources+': [ |
293 'ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap_unittest.cc', | 293 'ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap_unittest.cc', |
294 ] | 294 ] |
295 }], | 295 }], |
296 ], | 296 ], |
297 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 297 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
298 'msvs_disabled_warnings': [ 4267, ], | 298 'msvs_disabled_warnings': [ 4267, ], |
299 }, | 299 }, |
300 { | 300 { |
301 # GN version: //gpu/ipc/service:gpu_ipc_service_unittests | |
302 'target_name': 'gpu_ipc_service_unittests', | |
303 'type': '<(gtest_target_type)', | |
304 'dependencies': [ | |
305 '../url/url.gyp:url_lib', | |
306 '../base/base.gyp:base', | |
307 '../base/base.gyp:run_all_unittests', | |
308 '../base/base.gyp:test_support_base', | |
309 '../ipc/ipc.gyp:test_support_ipc', | |
310 '../testing/gtest.gyp:gtest', | |
311 'gpu_ipc_service', | |
312 ], | |
313 'sources': [ | |
314 'ipc/service/gpu_channel_manager_unittest.cc', | |
315 'ipc/service/gpu_channel_test_common.cc', | |
316 'ipc/service/gpu_channel_test_common.h', | |
317 'ipc/service/gpu_channel_unittest.cc', | |
318 ], | |
319 'conditions': [ | |
320 ['OS == "android"', { | |
321 'sources': [ | |
322 'ipc/service/gpu_memory_buffer_factory_surface_texture_unittest.cc', | |
323 ], | |
324 }], | |
325 ['OS == "mac"', { | |
326 'sources': [ | |
327 'ipc/service/ca_layer_tree_unittest_mac.mm', | |
328 'ipc/service/gpu_memory_buffer_factory_io_surface_unittest.cc', | |
329 ], | |
330 'link_settings': { | |
331 'libraries': [ | |
332 '$(SDKROOT)/System/Library/Frameworks/CoreMedia.framework', | |
333 '$(SDKROOT)/System/Library/Frameworks/AVFoundation.framework', | |
334 ], | |
335 }, | |
336 }], | |
337 ['use_ozone == 1', { | |
338 'sources': [ | |
339 'ipc/service/gpu_memory_buffer_factory_ozone_native_pixmap_unittest.
cc', | |
340 ], | |
341 }], | |
342 ], | |
343 }, | |
344 { | |
345 # GN version: //gpu/gpu_perftests | 301 # GN version: //gpu/gpu_perftests |
346 'target_name': 'gpu_perftests', | 302 'target_name': 'gpu_perftests', |
347 'type': '<(gtest_target_type)', | 303 'type': '<(gtest_target_type)', |
348 'dependencies': [ | 304 'dependencies': [ |
349 '../base/base.gyp:base', | 305 '../base/base.gyp:base', |
350 '../base/base.gyp:test_support_base', | 306 '../base/base.gyp:test_support_base', |
351 '../testing/gmock.gyp:gmock', | 307 '../testing/gmock.gyp:gmock', |
352 '../testing/gtest.gyp:gtest', | 308 '../testing/gtest.gyp:gtest', |
353 '../testing/perf/perf_test.gyp:perf_test', | 309 '../testing/perf/perf_test.gyp:perf_test', |
354 '../ui/gfx/gfx.gyp:gfx_geometry', | 310 '../ui/gfx/gfx.gyp:gfx_geometry', |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
471 '..', | 427 '..', |
472 ], | 428 ], |
473 'sources': [ | 429 'sources': [ |
474 'command_buffer/client/gles2_interface_stub.cc', | 430 'command_buffer/client/gles2_interface_stub.cc', |
475 'command_buffer/client/gles2_interface_stub.h', | 431 'command_buffer/client/gles2_interface_stub.h', |
476 'command_buffer/service/error_state_mock.cc', | 432 'command_buffer/service/error_state_mock.cc', |
477 'command_buffer/service/gles2_cmd_decoder_mock.cc', | 433 'command_buffer/service/gles2_cmd_decoder_mock.cc', |
478 ], | 434 ], |
479 }, | 435 }, |
480 { | 436 { |
481 # GN version: //gpu/ipc/service:test_support | |
482 'target_name': 'gpu_ipc_service_test_support', | |
483 'type': 'static_library', | |
484 'dependencies': [ | |
485 ], | |
486 'include_dirs': [ | |
487 '..', | |
488 ], | |
489 'sources': [ | |
490 'gpu/ipc/service/gpu_memory_buffer_factory_test_template.h', | |
491 ], | |
492 }, | |
493 { | |
494 # GN version: //gpu:command_buffer_gles2 | 437 # GN version: //gpu:command_buffer_gles2 |
495 'target_name': 'command_buffer_gles2', | 438 'target_name': 'command_buffer_gles2', |
496 'type': 'shared_library', | 439 'type': 'shared_library', |
497 'dependencies': [ | 440 'dependencies': [ |
498 '../base/base.gyp:base', | 441 '../base/base.gyp:base', |
499 '../gpu/command_buffer/command_buffer.gyp:gles2_utils', | 442 '../gpu/command_buffer/command_buffer.gyp:gles2_utils', |
500 '../gpu/gpu.gyp:command_buffer_service', | 443 '../gpu/gpu.gyp:command_buffer_service', |
501 '../ui/gfx/gfx.gyp:gfx_geometry', | 444 '../ui/gfx/gfx.gyp:gfx_geometry', |
502 '../ui/gl/gl.gyp:gl', | 445 '../ui/gl/gl.gyp:gl', |
503 'gles2_c_lib', | 446 'gles2_c_lib', |
504 'gles2_implementation', | 447 'gles2_implementation', |
505 ], | 448 ], |
506 'sources': [ | 449 'sources': [ |
507 # Note: sources list duplicated in GN build. | 450 # Note: sources list duplicated in GN build. |
508 # TODO(hendrikw): Move egl out of gles2_conform_support. | 451 # TODO(hendrikw): Move egl out of gles2_conform_support. |
509 'gles2_conform_support/egl/config.cc', | 452 'gles2_conform_support/egl/config.cc', |
510 'gles2_conform_support/egl/config.h', | 453 'gles2_conform_support/egl/config.h', |
511 'gles2_conform_support/egl/display.cc', | 454 'gles2_conform_support/egl/display.cc', |
512 'gles2_conform_support/egl/display.h', | 455 'gles2_conform_support/egl/display.h', |
513 'gles2_conform_support/egl/egl.cc', | 456 'gles2_conform_support/egl/egl.cc', |
514 'gles2_conform_support/egl/surface.cc', | 457 'gles2_conform_support/egl/surface.cc', |
515 'gles2_conform_support/egl/surface.h', | 458 'gles2_conform_support/egl/surface.h', |
516 'gles2_conform_support/egl/test_support.cc', | 459 'gles2_conform_support/egl/test_support.cc', |
517 'gles2_conform_support/egl/test_support.h', | 460 'gles2_conform_support/egl/test_support.h', |
518 ], | 461 ], |
519 'defines': [ | 462 » 'defines': [ |
520 'COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY', | 463 'COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY', |
521 'EGLAPIENTRY=', | 464 'EGLAPIENTRY=', |
522 ], | 465 » ], |
523 'conditions': [ | 466 'conditions': [ |
524 ['OS=="win"', { | 467 ['OS=="win"', { |
525 'defines': [ | 468 'defines': [ |
526 'EGLAPI=__declspec(dllexport)', | 469 'EGLAPI=__declspec(dllexport)', |
527 ], | 470 ], |
528 }, { # OS!="win" | 471 }, { # OS!="win" |
529 'defines': [ | 472 » » 'defines': [ |
530 'EGLAPI=__attribute__((visibility(\"default\")))' | 473 'EGLAPI=__attribute__((visibility(\"default\")))' |
531 ], | 474 ], |
532 }], | 475 }], |
533 ], | 476 ], |
534 }, | 477 }, |
535 { | 478 { |
536 # GN version: //gpu:command_buffer_gles2_tests | 479 # GN version: //gpu:command_buffer_gles2_tests |
537 'target_name': 'command_buffer_gles2_tests', | 480 'target_name': 'command_buffer_gles2_tests', |
538 'type': '<(gtest_target_type)', | 481 'type': '<(gtest_target_type)', |
539 'dependencies': [ | 482 'dependencies': [ |
540 '../base/base.gyp:base', | 483 '../base/base.gyp:base', |
541 '../base/base.gyp:test_support_base', | 484 '../base/base.gyp:test_support_base', |
542 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 485 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
543 '../testing/gmock.gyp:gmock', | 486 '../testing/gmock.gyp:gmock', |
544 '../testing/gtest.gyp:gtest', | 487 '../testing/gtest.gyp:gtest', |
545 'command_buffer_gles2', | 488 'command_buffer_gles2', |
546 ], | 489 ], |
547 'sources': [ | 490 'sources': [ |
548 # Note: sources list duplicated in GN build. | 491 # Note: sources list duplicated in GN build. |
549 'command_buffer/tests/command_buffer_gles2_tests_main.cc', | 492 'command_buffer/tests/command_buffer_gles2_tests_main.cc', |
550 'command_buffer/tests/egl_test.cc', | 493 'command_buffer/tests/egl_test.cc', |
551 ], | 494 ], |
552 'defines': [ | 495 » 'defines': [ |
553 'COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY', | 496 'COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY', |
554 'EGLAPIENTRY=', | 497 'EGLAPIENTRY=', |
555 ], | 498 ], |
556 'conditions': [ | 499 'conditions': [ |
557 ['OS=="win"', { | 500 ['OS=="win"', { |
558 'defines': [ | 501 'defines': [ |
559 'EGLAPI=__declspec(dllimport)', | 502 'EGLAPI=__declspec(dllimport)', |
560 ], | 503 ], |
561 }, { # OS!="win" | 504 }, { # OS!="win" |
562 'defines': [ | 505 » » 'defines': [ |
563 'EGLAPI=', | 506 'EGLAPI=', |
564 ], | 507 ], |
565 }], | 508 » » }], |
566 ['OS == "android"', { | 509 ['OS == "android"', { |
567 'dependencies': [ | 510 'dependencies': [ |
568 '../testing/android/native_test.gyp:native_test_native_code', | 511 '../testing/android/native_test.gyp:native_test_native_code', |
569 ], | 512 ], |
570 }], | 513 }], |
571 ], | 514 ], |
572 }, | 515 }, |
573 ], | 516 ], |
574 'conditions': [ | 517 'conditions': [ |
575 ['component=="static_library"', { | 518 ['component=="static_library"', { |
(...skipping 14 matching lines...) Expand all Loading... |
590 'target_name': 'gpu', | 533 'target_name': 'gpu', |
591 'type': 'none', | 534 'type': 'none', |
592 'dependencies': [ | 535 'dependencies': [ |
593 'command_buffer_client', | 536 'command_buffer_client', |
594 'command_buffer_common', | 537 'command_buffer_common', |
595 'command_buffer_service', | 538 'command_buffer_service', |
596 'gles2_cmd_helper', | 539 'gles2_cmd_helper', |
597 'gpu_config', | 540 'gpu_config', |
598 'gpu_ipc_client', | 541 'gpu_ipc_client', |
599 'gpu_ipc_common', | 542 'gpu_ipc_common', |
600 'gpu_ipc_service', | |
601 ], | 543 ], |
602 'sources': [ | 544 'sources': [ |
603 'gpu_export.h', | 545 'gpu_export.h', |
604 ], | 546 ], |
605 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 547 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
606 'msvs_disabled_warnings': [4267, ], | 548 'msvs_disabled_warnings': [4267, ], |
607 }, | 549 }, |
608 { | 550 { |
609 # GN version: //gpu/command_buffer/common | 551 # GN version: //gpu/command_buffer/common |
610 'target_name': 'command_buffer_common', | 552 'target_name': 'command_buffer_common', |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
687 }, | 629 }, |
688 { | 630 { |
689 # GN version: //gpu/ipc/common | 631 # GN version: //gpu/ipc/common |
690 'target_name': 'gpu_ipc_common', | 632 'target_name': 'gpu_ipc_common', |
691 'type': 'static_library', | 633 'type': 'static_library', |
692 'includes': [ | 634 'includes': [ |
693 'gpu_ipc_common.gypi', | 635 'gpu_ipc_common.gypi', |
694 ], | 636 ], |
695 'dependencies': [ | 637 'dependencies': [ |
696 'command_buffer_traits', | 638 'command_buffer_traits', |
697 ], | |
698 }, | |
699 { | |
700 # GN version: //gpu/ipc/service | |
701 'target_name': 'gpu_ipc_service', | |
702 'type': 'static_library', | |
703 'includes': [ | |
704 'gpu_ipc_service.gypi', | |
705 ], | |
706 'dependencies': [ | |
707 'command_buffer_traits', | |
708 ], | 639 ], |
709 }, | 640 }, |
710 { | 641 { |
711 'target_name': 'gpu_config', | 642 'target_name': 'gpu_config', |
712 'type': 'static_library', | 643 'type': 'static_library', |
713 'includes': [ | 644 'includes': [ |
714 'gpu_config.gypi', | 645 'gpu_config.gypi', |
715 ], | 646 ], |
716 }, | 647 }, |
717 ], | 648 ], |
(...skipping 17 matching lines...) Expand all Loading... |
735 'type': 'shared_library', | 666 'type': 'shared_library', |
736 'includes': [ | 667 'includes': [ |
737 'command_buffer_client.gypi', | 668 'command_buffer_client.gypi', |
738 'command_buffer_common.gypi', | 669 'command_buffer_common.gypi', |
739 'command_buffer_service.gypi', | 670 'command_buffer_service.gypi', |
740 'command_buffer_traits.gypi', | 671 'command_buffer_traits.gypi', |
741 'gles2_cmd_helper.gypi', | 672 'gles2_cmd_helper.gypi', |
742 'gpu_config.gypi', | 673 'gpu_config.gypi', |
743 'gpu_ipc_client.gypi', | 674 'gpu_ipc_client.gypi', |
744 'gpu_ipc_common.gypi', | 675 'gpu_ipc_common.gypi', |
745 'gpu_ipc_service.gypi', | |
746 '../build/android/increase_size_for_speed.gypi', | 676 '../build/android/increase_size_for_speed.gypi', |
747 ], | 677 ], |
748 'defines': [ | 678 'defines': [ |
749 'GPU_IMPLEMENTATION', | 679 'GPU_IMPLEMENTATION', |
750 ], | 680 ], |
751 'sources': [ | 681 'sources': [ |
752 'gpu_export.h', | 682 'gpu_export.h', |
753 ], | 683 ], |
754 'dependencies': [ | 684 'dependencies': [ |
755 '../base/base.gyp:base', | 685 '../base/base.gyp:base', |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
809 'dependencies': [ | 739 'dependencies': [ |
810 'gpu', | 740 'gpu', |
811 ], | 741 ], |
812 }, | 742 }, |
813 { | 743 { |
814 # GN version: //gpu/ipc/common | 744 # GN version: //gpu/ipc/common |
815 'target_name': 'gpu_ipc_common', | 745 'target_name': 'gpu_ipc_common', |
816 'type': 'none', | 746 'type': 'none', |
817 'dependencies': [ | 747 'dependencies': [ |
818 'gpu', | 748 'gpu', |
819 ], | |
820 }, | |
821 { | |
822 # GN version: //gpu/ipc/service | |
823 'target_name': 'gpu_ipc_service', | |
824 'type': 'none', | |
825 'dependencies': [ | |
826 'gpu', | |
827 ], | 749 ], |
828 }, | 750 }, |
829 ], | 751 ], |
830 }], | 752 }], |
831 ['disable_nacl!=1 and OS=="win" and target_arch=="ia32"', { | 753 ['disable_nacl!=1 and OS=="win" and target_arch=="ia32"', { |
832 'targets': [ | 754 'targets': [ |
833 { | 755 { |
834 'target_name': 'command_buffer_common_win64', | 756 'target_name': 'command_buffer_common_win64', |
835 'type': 'static_library', | 757 'type': 'static_library', |
836 'variables': { | 758 'variables': { |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1129 ], | 1051 ], |
1130 'sources': [ | 1052 'sources': [ |
1131 'gpu_unittests_apk.isolate', | 1053 'gpu_unittests_apk.isolate', |
1132 ], | 1054 ], |
1133 }, | 1055 }, |
1134 ], | 1056 ], |
1135 }, | 1057 }, |
1136 ], | 1058 ], |
1137 ], | 1059 ], |
1138 } | 1060 } |
OLD | NEW |