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

Side by Side Diff: chrome/chrome_tests.gypi

Issue 11366196: Move the safe browsing test into browser_tests instead of having a separate browser test binary. Th… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 8 years, 1 month 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 | « build/all.gyp ('k') | no next file » | 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 702 matching lines...) Expand 10 before | Expand all | Expand 10 after
713 '../skia/skia.gyp:skia', 713 '../skia/skia.gyp:skia',
714 '../sync/protocol/sync_proto.gyp:sync_proto', 714 '../sync/protocol/sync_proto.gyp:sync_proto',
715 '../sync/sync.gyp:sync_notifier', 715 '../sync/sync.gyp:sync_notifier',
716 '../sync/sync.gyp:test_support_sync_api', 716 '../sync/sync.gyp:test_support_sync_api',
717 '../testing/gmock.gyp:gmock', 717 '../testing/gmock.gyp:gmock',
718 '../testing/gtest.gyp:gtest', 718 '../testing/gtest.gyp:gtest',
719 '../third_party/cld/cld.gyp:cld', 719 '../third_party/cld/cld.gyp:cld',
720 '../third_party/icu/icu.gyp:icui18n', 720 '../third_party/icu/icu.gyp:icui18n',
721 '../third_party/icu/icu.gyp:icuuc', 721 '../third_party/icu/icu.gyp:icuuc',
722 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', 722 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
723 '../third_party/safe_browsing/safe_browsing.gyp:safe_browsing',
723 '../v8/tools/gyp/v8.gyp:v8', 724 '../v8/tools/gyp/v8.gyp:v8',
724 '../webkit/webkit.gyp:test_shell_test_support', 725 '../webkit/webkit.gyp:test_shell_test_support',
725 # Runtime dependencies 726 # Runtime dependencies
726 '../ppapi/ppapi_internal.gyp:ppapi_tests', 727 '../ppapi/ppapi_internal.gyp:ppapi_tests',
727 '../third_party/mesa/mesa.gyp:osmesa', 728 '../third_party/mesa/mesa.gyp:osmesa',
728 ], 729 ],
729 'include_dirs': [ 730 'include_dirs': [
730 '..', 731 '..',
731 ], 732 ],
732 'defines': [ 733 'defines': [
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
1001 'browser/process_singleton_browsertest.cc', 1002 'browser/process_singleton_browsertest.cc',
1002 'browser/profiles/profile_browsertest.cc', 1003 'browser/profiles/profile_browsertest.cc',
1003 'browser/profiles/profile_manager_browsertest.cc', 1004 'browser/profiles/profile_manager_browsertest.cc',
1004 'browser/protector/default_search_provider_change_browsertest.cc', 1005 'browser/protector/default_search_provider_change_browsertest.cc',
1005 'browser/protector/protector_service_browsertest.cc', 1006 'browser/protector/protector_service_browsertest.cc',
1006 'browser/referrer_policy_browsertest.cc', 1007 'browser/referrer_policy_browsertest.cc',
1007 'browser/renderer_host/render_process_host_chrome_browsertest.cc', 1008 'browser/renderer_host/render_process_host_chrome_browsertest.cc',
1008 'browser/renderer_host/web_cache_manager_browsertest.cc', 1009 'browser/renderer_host/web_cache_manager_browsertest.cc',
1009 'browser/repost_form_warning_browsertest.cc', 1010 'browser/repost_form_warning_browsertest.cc',
1010 'browser/rlz/rlz_extension_apitest.cc', 1011 'browser/rlz/rlz_extension_apitest.cc',
1012 'browser/safe_browsing/local_safebrowsing_test_server.cc',
1011 'browser/safe_browsing/safe_browsing_blocking_page_test.cc', 1013 'browser/safe_browsing/safe_browsing_blocking_page_test.cc',
1012 'browser/safe_browsing/safe_browsing_service_browsertest.cc', 1014 'browser/safe_browsing/safe_browsing_service_browsertest.cc',
1015 'browser/safe_browsing/safe_browsing_test.cc',
1013 'browser/service/service_process_control_browsertest.cc', 1016 'browser/service/service_process_control_browsertest.cc',
1014 'browser/sessions/better_session_restore_browsertest.cc', 1017 'browser/sessions/better_session_restore_browsertest.cc',
1015 'browser/sessions/persistent_tab_restore_service_browsertest.cc', 1018 'browser/sessions/persistent_tab_restore_service_browsertest.cc',
1016 'browser/sessions/session_restore_browsertest.cc', 1019 'browser/sessions/session_restore_browsertest.cc',
1017 'browser/speech/extension_api/tts_extension_apitest.cc', 1020 'browser/speech/extension_api/tts_extension_apitest.cc',
1018 'browser/speech/speech_input_extension_apitest.cc', 1021 'browser/speech/speech_input_extension_apitest.cc',
1019 'browser/speech/speech_recognition_bubble_browsertest.cc', 1022 'browser/speech/speech_recognition_bubble_browsertest.cc',
1020 'browser/spellchecker/spellcheck_service_browsertest.cc', 1023 'browser/spellchecker/spellcheck_service_browsertest.cc',
1021 'browser/ssl/ssl_browser_tests.cc', 1024 'browser/ssl/ssl_browser_tests.cc',
1022 'browser/sync_file_system/mock_remote_file_sync_service.cc', 1025 'browser/sync_file_system/mock_remote_file_sync_service.cc',
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
1267 # Protector is disabled on CrOS. 1270 # Protector is disabled on CrOS.
1268 ['exclude', '^browser/protector'], 1271 ['exclude', '^browser/protector'],
1269 ], 1272 ],
1270 'sources!': [ 1273 'sources!': [
1271 'browser/notifications/desktop_notifications_unittest.cc', 1274 'browser/notifications/desktop_notifications_unittest.cc',
1272 'browser/printing/cloud_print/test/cloud_print_policy_browsertest.cc ', 1275 'browser/printing/cloud_print/test/cloud_print_policy_browsertest.cc ',
1273 'browser/printing/cloud_print/test/cloud_print_proxy_process_browser test.cc', 1276 'browser/printing/cloud_print/test/cloud_print_proxy_process_browser test.cc',
1274 'browser/service/service_process_control_browsertest.cc', 1277 'browser/service/service_process_control_browsertest.cc',
1275 # chromeos does not use cross-platform panels 1278 # chromeos does not use cross-platform panels
1276 'browser/ui/views/panels/panel_view_browsertest.cc', 1279 'browser/ui/views/panels/panel_view_browsertest.cc',
1277 'browser/ui/panels/panel_extension_browsertest.cc', 1280 » 'browser/ui/panels/panel_extension_browsertest.cc',
1278 ], 1281 ],
1279 'dependencies': [ 1282 'dependencies': [
1280 '../dbus/dbus.gyp:dbus_test_support', 1283 '../dbus/dbus.gyp:dbus_test_support',
1281 '../build/linux/system.gyp:dbus', 1284 '../build/linux/system.gyp:dbus',
1282 ], 1285 ],
1283 }], 1286 }],
1284 ['file_manager_extension==0', { 1287 ['file_manager_extension==0', {
1285 'sources!': [ 1288 'sources!': [
1286 'browser/ui/views/select_file_dialog_extension_browsertest.cc', 1289 'browser/ui/views/select_file_dialog_extension_browsertest.cc',
1287 ], 1290 ],
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
1622 ['linux_use_tcmalloc==1', { 1625 ['linux_use_tcmalloc==1', {
1623 'dependencies': [ 1626 'dependencies': [
1624 '../base/allocator/allocator.gyp:allocator', 1627 '../base/allocator/allocator.gyp:allocator',
1625 ], 1628 ],
1626 }], 1629 }],
1627 ], 1630 ],
1628 }], 1631 }],
1629 ], # conditions 1632 ], # conditions
1630 }, # target performance_browser_tests 1633 }, # target performance_browser_tests
1631 { 1634 {
1632 # Executable that runs safebrowsing test in a new process.
1633 'target_name': 'safe_browsing_tests',
1634 'type': 'executable',
1635 'dependencies': [
1636 'chrome',
1637 'test_support_common',
1638 '../base/base.gyp:base',
1639 '../net/net.gyp:net_test_support',
1640 '../skia/skia.gyp:skia',
1641 '../testing/gtest.gyp:gtest',
1642 # This is the safebrowsing test server.
1643 '../third_party/safe_browsing/safe_browsing.gyp:safe_browsing',
1644 '../ui/ui.gyp:ui_resources',
1645 ],
1646 'include_dirs': [
1647 '..',
1648 ],
1649 'defines': [
1650 'HAS_OUT_OF_PROC_TEST_RUNNER',
1651 ],
1652 'sources': [
1653 'app/chrome_dll.rc',
1654 'browser/safe_browsing/local_safebrowsing_test_server.cc',
1655 'browser/safe_browsing/safe_browsing_test.cc',
1656 'test/base/chrome_test_launcher.cc',
1657 ],
1658 'conditions': [
1659 ['safe_browsing==0', {
1660 'sources!': [
1661 'browser/safe_browsing/safe_browsing_test.cc',
1662 ],
1663 }],
1664 ['OS=="win"', {
1665 'dependencies': [
1666 'chrome_version_resources',
1667 ],
1668 'sources': [
1669 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc',
1670 '<(SHARED_INTERMEDIATE_DIR)/chrome/chrome_unscaled_resources.rc',
1671 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc',
1672 '<(SHARED_INTERMEDIATE_DIR)/chrome/extensions_api_resources.rc',
1673 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc',
1674 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.rc',
1675 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc',
1676 '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.rc',
1677 ],
1678 'configurations': {
1679 'Debug_Base': {
1680 'msvs_settings': {
1681 'VCLinkerTool': {
1682 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
1683 },
1684 },
1685 },
1686 },
1687 }],
1688 ['OS=="mac"', {
1689 # These flags are needed to run the test on Mac.
1690 # Search for comments about "xcode_settings" elsewhere in this file.
1691 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
1692 }],
1693 ],
1694 }, # target safe_browsing_tests
1695 {
1696 # To run the tests from page_load_test.cc on Linux, we need to: 1635 # To run the tests from page_load_test.cc on Linux, we need to:
1697 # 1636 #
1698 # a) Build with Breakpad (GYP_DEFINES="linux_chromium_breakpad=1") 1637 # a) Build with Breakpad (GYP_DEFINES="linux_chromium_breakpad=1")
1699 # b) Run with CHROME_HEADLESS=1 to generate crash dumps. 1638 # b) Run with CHROME_HEADLESS=1 to generate crash dumps.
1700 # c) Strip the binary if it's a debug build. (binary may be over 2GB) 1639 # c) Strip the binary if it's a debug build. (binary may be over 2GB)
1701 'target_name': 'reliability_tests', 1640 'target_name': 'reliability_tests',
1702 'type': 'executable', 1641 'type': 'executable',
1703 'dependencies': [ 1642 'dependencies': [
1704 'browser', 1643 'browser',
1705 'chrome', 1644 'chrome',
(...skipping 958 matching lines...) Expand 10 before | Expand all | Expand 10 after
2664 # Note build/win/chrome_win.croc uniquely has the 2603 # Note build/win/chrome_win.croc uniquely has the
2665 # courgette source directory in an include path. 2604 # courgette source directory in an include path.
2666 '../courgette/courgette.gyp:courgette_unittests', 2605 '../courgette/courgette.gyp:courgette_unittests',
2667 'browser_tests', 2606 'browser_tests',
2668 ]}], 2607 ]}],
2669 ['OS=="linux"', { 2608 ['OS=="linux"', {
2670 'dependencies': [ 2609 'dependencies': [
2671 # Win bot needs to be turned into an interactive bot. 2610 # Win bot needs to be turned into an interactive bot.
2672 'interactive_ui_tests', 2611 'interactive_ui_tests',
2673 # Disabled from running in coverage_posix.py. 2612 # Disabled from running in coverage_posix.py.
2674 # We need to build this during compile step, so enabling here. 2613 # We need to build this during compile step, so enabling here.
2675 'browser_tests', 2614 'browser_tests',
2676 '../courgette/courgette.gyp:courgette_unittests', 2615 '../courgette/courgette.gyp:courgette_unittests',
2677 '../crypto/crypto.gyp:crypto_unittests', 2616 '../crypto/crypto.gyp:crypto_unittests',
2678 'chromedriver_unittests', 2617 'chromedriver_unittests',
2679 '../build/temp_gyp/googleurl.gyp:googleurl_unittests', 2618 '../build/temp_gyp/googleurl.gyp:googleurl_unittests',
2680 'gpu_tests', 2619 'gpu_tests',
2681 '../jingle/jingle.gyp:jingle_unittests', 2620 '../jingle/jingle.gyp:jingle_unittests',
2682 '../net/net.gyp:net_perftests', 2621 '../net/net.gyp:net_perftests',
2683 'performance_ui_tests', 2622 'performance_ui_tests',
2684 'reliability_tests', 2623 'reliability_tests',
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
2832 'sync_integration_tests.isolate', 2771 'sync_integration_tests.isolate',
2833 ], 2772 ],
2834 'sources': [ 2773 'sources': [
2835 'sync_integration_tests.isolate', 2774 'sync_integration_tests.isolate',
2836 ], 2775 ],
2837 }, 2776 },
2838 ], 2777 ],
2839 }], 2778 }],
2840 ], # 'conditions' 2779 ], # 'conditions'
2841 } 2780 }
OLDNEW
« no previous file with comments | « build/all.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698