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 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 'gpu_common.gypi', | 10 'gpu_common.gypi', |
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
430 'sources': [ | 430 'sources': [ |
431 # Note: sources list duplicated in GN build. | 431 # Note: sources list duplicated in GN build. |
432 # TODO(hendrikw): Move egl out of gles2_conform_support. | 432 # TODO(hendrikw): Move egl out of gles2_conform_support. |
433 'gles2_conform_support/egl/config.cc', | 433 'gles2_conform_support/egl/config.cc', |
434 'gles2_conform_support/egl/config.h', | 434 'gles2_conform_support/egl/config.h', |
435 'gles2_conform_support/egl/display.cc', | 435 'gles2_conform_support/egl/display.cc', |
436 'gles2_conform_support/egl/display.h', | 436 'gles2_conform_support/egl/display.h', |
437 'gles2_conform_support/egl/egl.cc', | 437 'gles2_conform_support/egl/egl.cc', |
438 'gles2_conform_support/egl/surface.cc', | 438 'gles2_conform_support/egl/surface.cc', |
439 'gles2_conform_support/egl/surface.h', | 439 'gles2_conform_support/egl/surface.h', |
440 'gles2_conform_support/egl/test_support.cc', | |
441 'gles2_conform_support/egl/test_support.h', | |
442 ], | 440 ], |
443 'conditions': [ | 441 'conditions': [ |
444 ['OS=="win"', { | 442 ['OS=="win"', { |
445 'defines': [ | 443 'defines': [ |
446 'COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY', | 444 'COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY', |
447 'EGLAPIENTRY=', | 445 'EGLAPIENTRY=', |
448 'EGLAPI=__declspec(dllexport)', | 446 'EGLAPI=__declspec(dllexport)', |
449 ], | 447 ], |
450 }, { # OS!="win" | 448 }, { # OS!="win" |
451 'defines': [ | 449 'defines': [ |
452 'COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY', | 450 'COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY', |
453 'EGLAPIENTRY=', | 451 'EGLAPIENTRY=', |
454 'EGLAPI=__attribute__((visibility(\"default\")))' | 452 'EGLAPI=__attribute__((visibility(\"default\")))' |
455 ], | 453 ], |
456 }, ], | 454 }, ], |
457 ], | 455 ], |
458 }, | 456 } |
459 { | |
460 # GN version: //gpu:command_buffer_gles2_tests | |
461 'target_name': 'command_buffer_gles2_tests', | |
462 'type': '<(gtest_target_type)', | |
463 'dependencies': [ | |
464 '../base/base.gyp:base', | |
465 '../base/base.gyp:test_support_base', | |
466 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | |
467 '../testing/gmock.gyp:gmock', | |
468 '../testing/gtest.gyp:gtest', | |
469 'command_buffer_gles2', | |
470 ], | |
471 'sources': [ | |
472 # Note: sources list duplicated in GN build. | |
473 'command_buffer/tests/command_buffer_gles2_tests_main.cc', | |
474 'command_buffer/tests/egl_test.cc', | |
475 ], | |
476 'defines': [ | |
477 'COMMAND_BUFFER_GLES_LIB_SUPPORT_ONLY', | |
478 'EGLAPIENTRY=', | |
479 'EGLAPI=' | |
480 ], | |
481 'conditions': [ | |
482 ['OS == "android"', { | |
483 'dependencies': [ | |
484 '../testing/android/native_test.gyp:native_test_native_code', | |
485 ], | |
486 }], | |
487 ], | |
488 }, | |
489 ], | 457 ], |
490 'conditions': [ | 458 'conditions': [ |
491 ['component=="static_library"', { | 459 ['component=="static_library"', { |
492 'targets': [ | 460 'targets': [ |
493 { | 461 { |
494 # GN version: //gpu/command_buffer/service:disk_cache_proto | 462 # GN version: //gpu/command_buffer/service:disk_cache_proto |
495 'target_name': 'disk_cache_proto', | 463 'target_name': 'disk_cache_proto', |
496 'type': 'static_library', | 464 'type': 'static_library', |
497 'sources': [ 'command_buffer/service/disk_cache_proto.proto' ], | 465 'sources': [ 'command_buffer/service/disk_cache_proto.proto' ], |
498 'variables': { | 466 'variables': { |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
778 'target_name': 'gpu_perftests_apk', | 746 'target_name': 'gpu_perftests_apk', |
779 'type': 'none', | 747 'type': 'none', |
780 'dependencies': [ | 748 'dependencies': [ |
781 'gpu_perftests', | 749 'gpu_perftests', |
782 ], | 750 ], |
783 'variables': { | 751 'variables': { |
784 'test_suite_name': 'gpu_perftests', | 752 'test_suite_name': 'gpu_perftests', |
785 }, | 753 }, |
786 'includes': [ '../build/apk_test.gypi' ], | 754 'includes': [ '../build/apk_test.gypi' ], |
787 }, | 755 }, |
788 { | |
789 'target_name': 'command_buffer_gles2_tests_apk', | |
790 'type': 'none', | |
791 'dependencies': [ | |
792 'command_buffer_gles2_tests', | |
793 ], | |
794 'variables': { | |
795 'test_suite_name': 'command_buffer_gles2_tests', | |
796 }, | |
797 'includes': [ | |
798 '../build/apk_test.gypi', | |
799 ], | |
800 }, | |
801 ], | 756 ], |
802 }], | 757 }], |
803 ['OS == "win" or (OS == "linux" and use_x11==1) or OS == "mac"', { | 758 ['OS == "win" or (OS == "linux" and use_x11==1) or OS == "mac"', { |
804 'targets': [ | 759 'targets': [ |
805 { | 760 { |
806 'target_name': 'angle_end2end_tests', | 761 'target_name': 'angle_end2end_tests', |
807 'type': '<(gtest_target_type)', | 762 'type': '<(gtest_target_type)', |
808 'dependencies': [ | 763 'dependencies': [ |
809 '../base/base.gyp:base', | 764 '../base/base.gyp:base', |
810 '../base/base.gyp:test_support_base', | 765 '../base/base.gyp:test_support_base', |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
918 'sources': [ | 873 'sources': [ |
919 'angle_deqp_tests_main.cc', | 874 'angle_deqp_tests_main.cc', |
920 ], | 875 ], |
921 }, | 876 }, |
922 ], | 877 ], |
923 }], | 878 }], |
924 ['OS == "android" and test_isolation_mode != "noop"', | 879 ['OS == "android" and test_isolation_mode != "noop"', |
925 { | 880 { |
926 'targets': [ | 881 'targets': [ |
927 { | 882 { |
928 'target_name': 'command_buffer_gles2_tests_apk_run', | |
929 'type': 'none', | |
930 'dependencies': [ | |
931 'command_buffer_gles2_tests_apk', | |
932 ], | |
933 'includes': [ | |
934 '../build/isolate.gypi', | |
935 ], | |
936 'sources': [ | |
937 'command_buffer_gles2_apk.isolate', | |
938 ], | |
939 }, | |
940 { | |
941 'target_name': 'gl_tests_apk_run', | 883 'target_name': 'gl_tests_apk_run', |
942 'type': 'none', | 884 'type': 'none', |
943 'dependencies': [ | 885 'dependencies': [ |
944 'gl_tests_apk', | 886 'gl_tests_apk', |
945 ], | 887 ], |
946 'includes': [ | 888 'includes': [ |
947 '../build/isolate.gypi', | 889 '../build/isolate.gypi', |
948 ], | 890 ], |
949 'sources': [ | 891 'sources': [ |
950 'gl_tests_apk.isolate', | 892 'gl_tests_apk.isolate', |
(...skipping 10 matching lines...) Expand all Loading... |
961 ], | 903 ], |
962 'sources': [ | 904 'sources': [ |
963 'gpu_unittests_apk.isolate', | 905 'gpu_unittests_apk.isolate', |
964 ], | 906 ], |
965 }, | 907 }, |
966 ], | 908 ], |
967 }, | 909 }, |
968 ], | 910 ], |
969 ], | 911 ], |
970 } | 912 } |
OLD | NEW |