Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Side by Side Diff: chrome/chrome_tests.gypi

Issue 9646027: Switch PPAPITests to run in browser_tests instead of ui_tests. The former is sharded and so tests r… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix race condition where we might miss the first notification Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/test/ui/ppapi_uitest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 'variables' : { 5 'variables' : {
6 'pyautolib_sources': [ 6 'pyautolib_sources': [
7 'app/chrome_command_ids.h', 7 'app/chrome_command_ids.h',
8 'app/chrome_dll_resource.h', 8 'app/chrome_dll_resource.h',
9 'common/automation_constants.h', 9 'common/automation_constants.h',
10 'common/pref_names.cc', 10 'common/pref_names.cc',
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after
766 'sources!': [ 766 'sources!': [
767 'browser/ui/views/constrained_window_views_browsertest.cc', 767 'browser/ui/views/constrained_window_views_browsertest.cc',
768 'browser/ui/views/ssl_client_certificate_selector_browsertest.cc', 768 'browser/ui/views/ssl_client_certificate_selector_browsertest.cc',
769 ], 769 ],
770 }], # OS != "win" 770 }], # OS != "win"
771 ], # conditions 771 ], # conditions
772 }, 772 },
773 { 773 {
774 'target_name': 'ui_tests', 774 'target_name': 'ui_tests',
775 'type': 'executable', 775 'type': 'executable',
776 'copies': [
777 {
778 'destination': '<(PRODUCT_DIR)',
779 'files': [
780 # Keep 'test_case.html.mock-http-headers' with 'test_case.html'.
781 '../ppapi/tests/test_case.html',
782 '../ppapi/tests/test_case.html.mock-http-headers',
783 '../ppapi/tests/test_page.css',
784 '../ppapi/native_client/tests/ppapi_tests/test_case.nmf',
785 ],
786 },
787 {
788 'destination': '<(PRODUCT_DIR)/test_url_loader_data',
789 'files': [
790 '../ppapi/tests/test_url_loader_data/hello.txt',
791 ],
792 },
793 ],
794 'dependencies': [ 776 'dependencies': [
795 'browser', 777 'browser',
796 'chrome', 778 'chrome',
797 'chrome_resources.gyp:chrome_resources', 779 'chrome_resources.gyp:chrome_resources',
798 'chrome_resources.gyp:chrome_strings', 780 'chrome_resources.gyp:chrome_strings',
799 'common', 781 'common',
800 'test_support_ui', 782 'test_support_ui',
801 '../base/base.gyp:base', 783 '../base/base.gyp:base',
802 '../net/net.gyp:net', 784 '../net/net.gyp:net',
803 '../net/net.gyp:net_test_support', 785 '../net/net.gyp:net_test_support',
804 '../build/temp_gyp/googleurl.gyp:googleurl', 786 '../build/temp_gyp/googleurl.gyp:googleurl',
805 '../skia/skia.gyp:skia', 787 '../skia/skia.gyp:skia',
806 '../testing/gmock.gyp:gmock', 788 '../testing/gmock.gyp:gmock',
807 '../testing/gtest.gyp:gtest', 789 '../testing/gtest.gyp:gtest',
808 '../third_party/icu/icu.gyp:icui18n', 790 '../third_party/icu/icu.gyp:icui18n',
809 '../third_party/icu/icu.gyp:icuuc', 791 '../third_party/icu/icu.gyp:icuuc',
810 '../third_party/libxml/libxml.gyp:libxml', 792 '../third_party/libxml/libxml.gyp:libxml',
811 # run time dependencies 793 # run time dependencies
812 '../ppapi/ppapi_internal.gyp:ppapi_tests',
813 '../third_party/mesa/mesa.gyp:osmesa', 794 '../third_party/mesa/mesa.gyp:osmesa',
814 '../webkit/webkit.gyp:pull_in_copy_TestNetscapePlugIn', 795 '../webkit/webkit.gyp:pull_in_copy_TestNetscapePlugIn',
815 ], 796 ],
816 'include_dirs': [ 797 'include_dirs': [
817 '..', 798 '..',
818 ], 799 ],
819 'sources': [ 800 'sources': [
801 # NOTE: DON'T ADD NEW TESTS HERE!
802 # New tests should be browser_tests. browser_tests are sharded and are
803 # less flakier.
820 'app/chrome_main_uitest.cc', 804 'app/chrome_main_uitest.cc',
821 'browser/audio_layout_uitest.cc', 805 'browser/audio_layout_uitest.cc',
822 'browser/browser_encoding_uitest.cc', 806 'browser/browser_encoding_uitest.cc',
823 'browser/custom_handlers/custom_handlers_uitest.cc', 807 'browser/custom_handlers/custom_handlers_uitest.cc',
824 'browser/download/save_page_uitest.cc', 808 'browser/download/save_page_uitest.cc',
825 'browser/fast_shutdown_uitest.cc', 809 'browser/fast_shutdown_uitest.cc',
826 'browser/history/multipart_uitest.cc', 810 'browser/history/multipart_uitest.cc',
827 'browser/history/redirect_uitest.cc', 811 'browser/history/redirect_uitest.cc',
828 'browser/iframe_uitest.cc', 812 'browser/iframe_uitest.cc',
829 'browser/images_uitest.cc', 813 'browser/images_uitest.cc',
(...skipping 27 matching lines...) Expand all
857 'renderer/loadtimes_extension_bindings_uitest.cc', 841 'renderer/loadtimes_extension_bindings_uitest.cc',
858 'test/automation/automation_proxy_uitest.cc', 842 'test/automation/automation_proxy_uitest.cc',
859 'test/automation/automation_proxy_uitest.h', 843 'test/automation/automation_proxy_uitest.h',
860 'test/automation/extension_proxy_uitest.cc', 844 'test/automation/extension_proxy_uitest.cc',
861 'test/base/chrome_process_util_uitest.cc', 845 'test/base/chrome_process_util_uitest.cc',
862 'test/reliability/automated_ui_test_test.cc', 846 'test/reliability/automated_ui_test_test.cc',
863 'test/ui/history_uitest.cc', 847 'test/ui/history_uitest.cc',
864 'test/ui/layout_plugin_uitest.cc', 848 'test/ui/layout_plugin_uitest.cc',
865 'test/ui/named_interface_uitest.cc', 849 'test/ui/named_interface_uitest.cc',
866 'test/ui/npapi_uitest.cc', 850 'test/ui/npapi_uitest.cc',
867 'test/ui/ppapi_uitest.cc',
868 'test/ui/sandbox_uitests.cc', 851 'test/ui/sandbox_uitests.cc',
869 '../content/browser/appcache/appcache_ui_test.cc', 852 '../content/browser/appcache/appcache_ui_test.cc',
870 '../content/browser/in_process_webkit/dom_storage_uitest.cc', 853 '../content/browser/in_process_webkit/dom_storage_uitest.cc',
871 '../content/browser/in_process_webkit/indexed_db_uitest.cc', 854 '../content/browser/in_process_webkit/indexed_db_uitest.cc',
872 '../content/browser/renderer_host/resource_dispatcher_host_uitest.cc', 855 '../content/browser/renderer_host/resource_dispatcher_host_uitest.cc',
873 '../content/worker/test/worker_uitest.cc', 856 '../content/worker/test/worker_uitest.cc',
857 # DON'T ADD NEW FILES! SEE NOTE AT TOP OF SECTION.
874 ], 858 ],
875 'conditions': [ 859 'conditions': [
876 ['disable_nacl==0 and disable_nacl_untrusted==0', {
877 'dependencies': [
878 '../ppapi/ppapi_untrusted.gyp:ppapi_nacl_tests',
879 ],
880 }],
881 ['target_arch!="arm"', { 860 ['target_arch!="arm"', {
882 'dependencies': [ 861 'dependencies': [
883 '../webkit/webkit.gyp:copy_npapi_test_plugin', 862 '../webkit/webkit.gyp:copy_npapi_test_plugin',
884 ], 863 ],
885 }], 864 }],
886 ['toolkit_uses_gtk == 1', { 865 ['toolkit_uses_gtk == 1', {
887 'dependencies': [ 866 'dependencies': [
888 '../build/linux/system.gyp:gtk', 867 '../build/linux/system.gyp:gtk',
889 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 868 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
890 ], 869 ],
(...skipping 1623 matching lines...) Expand 10 before | Expand all | Expand 10 after
2514 ]}, 2493 ]},
2515 ], 2494 ],
2516 ], 2495 ],
2517 }, 2496 },
2518 { 2497 {
2519 # Executable that runs each browser test in a new process. 2498 # Executable that runs each browser test in a new process.
2520 'target_name': 'browser_tests', 2499 'target_name': 'browser_tests',
2521 'type': 'executable', 2500 'type': 'executable',
2522 'msvs_cygwin_shell': 0, 2501 'msvs_cygwin_shell': 0,
2523 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], 2502 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'],
2503 'copies': [
2504 {
2505 'destination': '<(PRODUCT_DIR)',
2506 'files': [
2507 # Keep 'test_case.html.mock-http-headers' with 'test_case.html'.
2508 '../ppapi/tests/test_case.html',
2509 '../ppapi/tests/test_case.html.mock-http-headers',
2510 '../ppapi/tests/test_page.css',
2511 '../ppapi/native_client/tests/ppapi_tests/test_case.nmf',
2512 ],
2513 },
2514 {
2515 'destination': '<(PRODUCT_DIR)/test_url_loader_data',
2516 'files': [
2517 '../ppapi/tests/test_url_loader_data/hello.txt',
2518 ],
2519 },
2520 ],
2524 'dependencies': [ 2521 'dependencies': [
2525 'browser', 2522 'browser',
2526 '../sync/protocol/sync_proto.gyp:sync_proto', 2523 '../sync/protocol/sync_proto.gyp:sync_proto',
2527 'chrome', 2524 'chrome',
2528 'chrome_resources.gyp:chrome_resources', 2525 'chrome_resources.gyp:chrome_resources',
2529 'chrome_resources.gyp:chrome_strings', 2526 'chrome_resources.gyp:chrome_strings',
2530 'common/extensions/api/api.gyp:api', 2527 'common/extensions/api/api.gyp:api',
2531 'renderer', 2528 'renderer',
2532 'test_support_common', 2529 'test_support_common',
2533 '../base/base.gyp:base', 2530 '../base/base.gyp:base',
2534 '../base/base.gyp:base_i18n', 2531 '../base/base.gyp:base_i18n',
2535 '../base/base.gyp:test_support_base', 2532 '../base/base.gyp:test_support_base',
2536 '../net/net.gyp:net', 2533 '../net/net.gyp:net',
2537 '../net/net.gyp:net_test_support', 2534 '../net/net.gyp:net_test_support',
2538 '../skia/skia.gyp:skia', 2535 '../skia/skia.gyp:skia',
2539 '../testing/gmock.gyp:gmock', 2536 '../testing/gmock.gyp:gmock',
2540 '../testing/gtest.gyp:gtest', 2537 '../testing/gtest.gyp:gtest',
2541 '../third_party/cld/cld.gyp:cld', 2538 '../third_party/cld/cld.gyp:cld',
2542 '../third_party/icu/icu.gyp:icui18n', 2539 '../third_party/icu/icu.gyp:icui18n',
2543 '../third_party/icu/icu.gyp:icuuc', 2540 '../third_party/icu/icu.gyp:icuuc',
2544 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', 2541 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
2545 '../v8/tools/gyp/v8.gyp:v8', 2542 '../v8/tools/gyp/v8.gyp:v8',
2546 '../webkit/webkit.gyp:test_shell_test_support', 2543 '../webkit/webkit.gyp:test_shell_test_support',
2547 # Runtime dependencies 2544 # Runtime dependencies
2545 '../ppapi/ppapi_internal.gyp:ppapi_tests',
2548 '../third_party/mesa/mesa.gyp:osmesa', 2546 '../third_party/mesa/mesa.gyp:osmesa',
2549 '../webkit/webkit.gyp:pull_in_copy_TestNetscapePlugIn', 2547 '../webkit/webkit.gyp:pull_in_copy_TestNetscapePlugIn',
2550 ], 2548 ],
2551 'include_dirs': [ 2549 'include_dirs': [
2552 '..', 2550 '..',
2553 ], 2551 ],
2554 'defines': [ 2552 'defines': [
2555 'HAS_OUT_OF_PROC_TEST_RUNNER', 2553 'HAS_OUT_OF_PROC_TEST_RUNNER',
2556 'BROWSER_TESTS_HEADER_OVERRIDE="chrome/test/base/in_process_browser_test .h"', 2554 'BROWSER_TESTS_HEADER_OVERRIDE="chrome/test/base/in_process_browser_test .h"',
2557 ], 2555 ],
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
2884 'test/data/webui/net_internals/main.js', 2882 'test/data/webui/net_internals/main.js',
2885 'test/data/webui/net_internals/net_internals_test.js', 2883 'test/data/webui/net_internals/net_internals_test.js',
2886 'test/data/webui/net_internals/prerender_view.js', 2884 'test/data/webui/net_internals/prerender_view.js',
2887 'test/data/webui/net_internals/test_view.js', 2885 'test/data/webui/net_internals/test_view.js',
2888 'test/data/webui/net_internals/timeline_view.js', 2886 'test/data/webui/net_internals/timeline_view.js',
2889 'test/data/webui/ntp4.js', 2887 'test/data/webui/ntp4.js',
2890 'test/data/webui/print_preview.h', 2888 'test/data/webui/print_preview.h',
2891 'test/data/webui/print_preview.cc', 2889 'test/data/webui/print_preview.cc',
2892 'test/data/webui/print_preview.js', 2890 'test/data/webui/print_preview.js',
2893 'test/gpu/gpu_feature_browsertest.cc', 2891 'test/gpu/gpu_feature_browsertest.cc',
2892 'test/ui/ppapi_uitest.cc',
2894 # TODO(craig): Rename this and run from base_unittests when the test 2893 # TODO(craig): Rename this and run from base_unittests when the test
2895 # is safe to run there. See http://crbug.com/78722 for details. 2894 # is safe to run there. See http://crbug.com/78722 for details.
2896 '../base/files/file_path_watcher_browsertest.cc', 2895 '../base/files/file_path_watcher_browsertest.cc',
2897 '../content/app/startup_helper_win.cc', 2896 '../content/app/startup_helper_win.cc',
2898 '../content/browser/accessibility/dump_accessibility_tree_browsertest.cc ', 2897 '../content/browser/accessibility/dump_accessibility_tree_browsertest.cc ',
2899 '../content/browser/accessibility/dump_accessibility_tree_helper_mac.mm' , 2898 '../content/browser/accessibility/dump_accessibility_tree_helper_mac.mm' ,
2900 '../content/browser/accessibility/dump_accessibility_tree_helper_win.cc' , 2899 '../content/browser/accessibility/dump_accessibility_tree_helper_win.cc' ,
2901 '../content/browser/accessibility/renderer_accessibility_browsertest.cc' , 2900 '../content/browser/accessibility/renderer_accessibility_browsertest.cc' ,
2902 '../content/browser/child_process_security_policy_browsertest.cc', 2901 '../content/browser/child_process_security_policy_browsertest.cc',
2903 '../content/browser/device_orientation/device_orientation_browsertest.cc ', 2902 '../content/browser/device_orientation/device_orientation_browsertest.cc ',
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
2944 'python', 2943 'python',
2945 '<@(_inputs)', 2944 '<@(_inputs)',
2946 'webui', 2945 'webui',
2947 '<(RULE_INPUT_PATH)', 2946 '<(RULE_INPUT_PATH)',
2948 'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js', 2947 'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js',
2949 '<@(_outputs)', 2948 '<@(_outputs)',
2950 ], 2949 ],
2951 }, 2950 },
2952 ], 2951 ],
2953 'conditions': [ 2952 'conditions': [
2954 ['disable_nacl!=1', { 2953 ['disable_nacl==0', {
2955 'sources':[ 2954 'sources':[
2956 'browser/extensions/extension_nacl_browsertest.cc', 2955 'browser/extensions/extension_nacl_browsertest.cc',
2957 ], 2956 ],
2957 'conditions': [
2958 ['disable_nacl_untrusted==0', {
2959 'dependencies': [
2960 '../ppapi/ppapi_untrusted.gyp:ppapi_nacl_tests',
2961 ],
2962 }],
2963 ],
2958 }], 2964 }],
2959 ['chromeos==0', { 2965 ['chromeos==0', {
2960 'sources/': [ 2966 'sources/': [
2961 ['exclude', '^browser/chromeos'], 2967 ['exclude', '^browser/chromeos'],
2962 ], 2968 ],
2963 'sources!': [ 2969 'sources!': [
2964 'browser/chromeos/extensions/file_browser_private_apitest.cc', 2970 'browser/chromeos/extensions/file_browser_private_apitest.cc',
2965 'browser/chromeos/media/media_player_browsertest.cc', 2971 'browser/chromeos/media/media_player_browsertest.cc',
2966 'browser/extensions/extension_input_method_apitest.cc', 2972 'browser/extensions/extension_input_method_apitest.cc',
2967 'browser/extensions/api/terminal/terminal_private_apitest.cc', 2973 'browser/extensions/api/terminal/terminal_private_apitest.cc',
(...skipping 1747 matching lines...) Expand 10 before | Expand all | Expand 10 after
4715 # Use outputs of this action as inputs for the main target build. 4721 # Use outputs of this action as inputs for the main target build.
4716 # Seems as a misnomer but makes this happy on Linux (scons). 4722 # Seems as a misnomer but makes this happy on Linux (scons).
4717 'process_outputs_as_sources': 1, 4723 'process_outputs_as_sources': 1,
4718 }, 4724 },
4719 ], # 'actions' 4725 ], # 'actions'
4720 }, 4726 },
4721 ] 4727 ]
4722 }], # 'coverage!=0' 4728 }], # 'coverage!=0'
4723 ], # 'conditions' 4729 ], # 'conditions'
4724 } 4730 }
OLDNEW
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/test/ui/ppapi_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698