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

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: move gyp rules to browser_tests 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
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': [
820 'app/chrome_main_uitest.cc', 801 'app/chrome_main_uitest.cc',
821 'browser/audio_layout_uitest.cc', 802 'browser/audio_layout_uitest.cc',
822 'browser/browser_encoding_uitest.cc', 803 'browser/browser_encoding_uitest.cc',
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
857 'renderer/loadtimes_extension_bindings_uitest.cc', 838 'renderer/loadtimes_extension_bindings_uitest.cc',
858 'test/automation/automation_proxy_uitest.cc', 839 'test/automation/automation_proxy_uitest.cc',
859 'test/automation/automation_proxy_uitest.h', 840 'test/automation/automation_proxy_uitest.h',
860 'test/automation/extension_proxy_uitest.cc', 841 'test/automation/extension_proxy_uitest.cc',
861 'test/base/chrome_process_util_uitest.cc', 842 'test/base/chrome_process_util_uitest.cc',
862 'test/reliability/automated_ui_test_test.cc', 843 'test/reliability/automated_ui_test_test.cc',
863 'test/ui/history_uitest.cc', 844 'test/ui/history_uitest.cc',
864 'test/ui/layout_plugin_uitest.cc', 845 'test/ui/layout_plugin_uitest.cc',
865 'test/ui/named_interface_uitest.cc', 846 'test/ui/named_interface_uitest.cc',
866 'test/ui/npapi_uitest.cc', 847 'test/ui/npapi_uitest.cc',
867 'test/ui/ppapi_uitest.cc',
868 'test/ui/sandbox_uitests.cc', 848 'test/ui/sandbox_uitests.cc',
869 '../content/browser/appcache/appcache_ui_test.cc', 849 '../content/browser/appcache/appcache_ui_test.cc',
870 '../content/browser/in_process_webkit/dom_storage_uitest.cc', 850 '../content/browser/in_process_webkit/dom_storage_uitest.cc',
871 '../content/browser/in_process_webkit/indexed_db_uitest.cc', 851 '../content/browser/in_process_webkit/indexed_db_uitest.cc',
872 '../content/browser/renderer_host/resource_dispatcher_host_uitest.cc', 852 '../content/browser/renderer_host/resource_dispatcher_host_uitest.cc',
873 '../content/worker/test/worker_uitest.cc', 853 '../content/worker/test/worker_uitest.cc',
874 ], 854 ],
875 'conditions': [ 855 '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"', { 856 ['target_arch!="arm"', {
882 'dependencies': [ 857 'dependencies': [
883 '../webkit/webkit.gyp:copy_npapi_test_plugin', 858 '../webkit/webkit.gyp:copy_npapi_test_plugin',
884 ], 859 ],
885 }], 860 }],
886 ['toolkit_uses_gtk == 1', { 861 ['toolkit_uses_gtk == 1', {
887 'dependencies': [ 862 'dependencies': [
888 '../build/linux/system.gyp:gtk', 863 '../build/linux/system.gyp:gtk',
889 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 864 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
890 ], 865 ],
(...skipping 1622 matching lines...) Expand 10 before | Expand all | Expand 10 after
2513 ]}, 2488 ]},
2514 ], 2489 ],
2515 ], 2490 ],
2516 }, 2491 },
2517 { 2492 {
2518 # Executable that runs each browser test in a new process. 2493 # Executable that runs each browser test in a new process.
2519 'target_name': 'browser_tests', 2494 'target_name': 'browser_tests',
2520 'type': 'executable', 2495 'type': 'executable',
2521 'msvs_cygwin_shell': 0, 2496 'msvs_cygwin_shell': 0,
2522 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], 2497 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'],
2498 'copies': [
2499 {
2500 'destination': '<(PRODUCT_DIR)',
2501 'files': [
2502 # Keep 'test_case.html.mock-http-headers' with 'test_case.html'.
2503 '../ppapi/tests/test_case.html',
2504 '../ppapi/tests/test_case.html.mock-http-headers',
2505 '../ppapi/tests/test_page.css',
2506 '../ppapi/native_client/tests/ppapi_tests/test_case.nmf',
2507 ],
2508 },
2509 {
2510 'destination': '<(PRODUCT_DIR)/test_url_loader_data',
2511 'files': [
2512 '../ppapi/tests/test_url_loader_data/hello.txt',
2513 ],
2514 },
2515 ],
2523 'dependencies': [ 2516 'dependencies': [
2524 'browser', 2517 'browser',
2525 'browser/sync/protocol/sync_proto.gyp:sync_proto', 2518 'browser/sync/protocol/sync_proto.gyp:sync_proto',
2526 'chrome', 2519 'chrome',
2527 'chrome_resources.gyp:chrome_resources', 2520 'chrome_resources.gyp:chrome_resources',
2528 'chrome_resources.gyp:chrome_strings', 2521 'chrome_resources.gyp:chrome_strings',
2529 'common/extensions/api/api.gyp:api', 2522 'common/extensions/api/api.gyp:api',
2530 'renderer', 2523 'renderer',
2531 'test_support_common', 2524 'test_support_common',
2532 '../base/base.gyp:base', 2525 '../base/base.gyp:base',
2533 '../base/base.gyp:base_i18n', 2526 '../base/base.gyp:base_i18n',
2534 '../base/base.gyp:test_support_base', 2527 '../base/base.gyp:test_support_base',
2535 '../net/net.gyp:net', 2528 '../net/net.gyp:net',
2536 '../net/net.gyp:net_test_support', 2529 '../net/net.gyp:net_test_support',
2537 '../skia/skia.gyp:skia', 2530 '../skia/skia.gyp:skia',
2538 '../testing/gmock.gyp:gmock', 2531 '../testing/gmock.gyp:gmock',
2539 '../testing/gtest.gyp:gtest', 2532 '../testing/gtest.gyp:gtest',
2540 '../third_party/cld/cld.gyp:cld', 2533 '../third_party/cld/cld.gyp:cld',
2541 '../third_party/icu/icu.gyp:icui18n', 2534 '../third_party/icu/icu.gyp:icui18n',
2542 '../third_party/icu/icu.gyp:icuuc', 2535 '../third_party/icu/icu.gyp:icuuc',
2543 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', 2536 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
2544 '../v8/tools/gyp/v8.gyp:v8', 2537 '../v8/tools/gyp/v8.gyp:v8',
2545 '../webkit/webkit.gyp:test_shell_test_support', 2538 '../webkit/webkit.gyp:test_shell_test_support',
2546 # Runtime dependencies 2539 # Runtime dependencies
2540 '../ppapi/ppapi_internal.gyp:ppapi_tests',
2547 '../third_party/mesa/mesa.gyp:osmesa', 2541 '../third_party/mesa/mesa.gyp:osmesa',
2548 '../webkit/webkit.gyp:pull_in_copy_TestNetscapePlugIn', 2542 '../webkit/webkit.gyp:pull_in_copy_TestNetscapePlugIn',
2549 ], 2543 ],
2550 'include_dirs': [ 2544 'include_dirs': [
2551 '..', 2545 '..',
2552 ], 2546 ],
2553 'defines': [ 2547 'defines': [
2554 'HAS_OUT_OF_PROC_TEST_RUNNER', 2548 'HAS_OUT_OF_PROC_TEST_RUNNER',
2555 'BROWSER_TESTS_HEADER_OVERRIDE="chrome/test/base/in_process_browser_test .h"', 2549 'BROWSER_TESTS_HEADER_OVERRIDE="chrome/test/base/in_process_browser_test .h"',
2556 ], 2550 ],
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
2883 'test/data/webui/net_internals/main.js', 2877 'test/data/webui/net_internals/main.js',
2884 'test/data/webui/net_internals/net_internals_test.js', 2878 'test/data/webui/net_internals/net_internals_test.js',
2885 'test/data/webui/net_internals/prerender_view.js', 2879 'test/data/webui/net_internals/prerender_view.js',
2886 'test/data/webui/net_internals/test_view.js', 2880 'test/data/webui/net_internals/test_view.js',
2887 'test/data/webui/net_internals/timeline_view.js', 2881 'test/data/webui/net_internals/timeline_view.js',
2888 'test/data/webui/ntp4.js', 2882 'test/data/webui/ntp4.js',
2889 'test/data/webui/print_preview.h', 2883 'test/data/webui/print_preview.h',
2890 'test/data/webui/print_preview.cc', 2884 'test/data/webui/print_preview.cc',
2891 'test/data/webui/print_preview.js', 2885 'test/data/webui/print_preview.js',
2892 'test/gpu/gpu_feature_browsertest.cc', 2886 'test/gpu/gpu_feature_browsertest.cc',
2887 'test/ui/ppapi_uitest.cc',
2893 # TODO(craig): Rename this and run from base_unittests when the test 2888 # TODO(craig): Rename this and run from base_unittests when the test
2894 # is safe to run there. See http://crbug.com/78722 for details. 2889 # is safe to run there. See http://crbug.com/78722 for details.
2895 '../base/files/file_path_watcher_browsertest.cc', 2890 '../base/files/file_path_watcher_browsertest.cc',
2896 '../content/app/startup_helper_win.cc', 2891 '../content/app/startup_helper_win.cc',
2897 '../content/browser/accessibility/dump_accessibility_tree_browsertest.cc ', 2892 '../content/browser/accessibility/dump_accessibility_tree_browsertest.cc ',
2898 '../content/browser/accessibility/dump_accessibility_tree_helper_mac.mm' , 2893 '../content/browser/accessibility/dump_accessibility_tree_helper_mac.mm' ,
2899 '../content/browser/accessibility/dump_accessibility_tree_helper_win.cc' , 2894 '../content/browser/accessibility/dump_accessibility_tree_helper_win.cc' ,
2900 '../content/browser/accessibility/renderer_accessibility_browsertest.cc' , 2895 '../content/browser/accessibility/renderer_accessibility_browsertest.cc' ,
2901 '../content/browser/child_process_security_policy_browsertest.cc', 2896 '../content/browser/child_process_security_policy_browsertest.cc',
2902 '../content/browser/device_orientation/device_orientation_browsertest.cc ', 2897 '../content/browser/device_orientation/device_orientation_browsertest.cc ',
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
2943 'python', 2938 'python',
2944 '<@(_inputs)', 2939 '<@(_inputs)',
2945 'webui', 2940 'webui',
2946 '<(RULE_INPUT_PATH)', 2941 '<(RULE_INPUT_PATH)',
2947 'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js', 2942 'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js',
2948 '<@(_outputs)', 2943 '<@(_outputs)',
2949 ], 2944 ],
2950 }, 2945 },
2951 ], 2946 ],
2952 'conditions': [ 2947 'conditions': [
2953 ['disable_nacl!=1', { 2948 ['disable_nacl==0', {
2954 'sources':[ 2949 'sources':[
2955 'browser/extensions/extension_nacl_browsertest.cc', 2950 'browser/extensions/extension_nacl_browsertest.cc',
2956 ], 2951 ],
2952 'conditions': [
2953 ['disable_nacl_untrusted==0', {
2954 'dependencies': [
2955 '../ppapi/ppapi_untrusted.gyp:ppapi_nacl_tests',
2956 ],
2957 }],
2958 ],
2957 }], 2959 }],
2958 ['chromeos==0', { 2960 ['chromeos==0', {
2959 'sources/': [ 2961 'sources/': [
2960 ['exclude', '^browser/chromeos'], 2962 ['exclude', '^browser/chromeos'],
2961 ], 2963 ],
2962 'sources!': [ 2964 'sources!': [
2963 'browser/chromeos/extensions/file_browser_private_apitest.cc', 2965 'browser/chromeos/extensions/file_browser_private_apitest.cc',
2964 'browser/chromeos/media/media_player_browsertest.cc', 2966 'browser/chromeos/media/media_player_browsertest.cc',
2965 'browser/extensions/extension_input_method_apitest.cc', 2967 'browser/extensions/extension_input_method_apitest.cc',
2966 'browser/extensions/api/terminal/terminal_private_apitest.cc', 2968 'browser/extensions/api/terminal/terminal_private_apitest.cc',
(...skipping 1747 matching lines...) Expand 10 before | Expand all | Expand 10 after
4714 # Use outputs of this action as inputs for the main target build. 4716 # Use outputs of this action as inputs for the main target build.
4715 # Seems as a misnomer but makes this happy on Linux (scons). 4717 # Seems as a misnomer but makes this happy on Linux (scons).
4716 'process_outputs_as_sources': 1, 4718 'process_outputs_as_sources': 1,
4717 }, 4719 },
4718 ], # 'actions' 4720 ], # 'actions'
4719 }, 4721 },
4720 ] 4722 ]
4721 }], # 'coverage!=0' 4723 }], # 'coverage!=0'
4722 ], # 'conditions' 4724 ], # 'conditions'
4723 } 4725 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698