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

Side by Side Diff: chrome/chrome_tests.gypi

Issue 461633002: Refactor language detection logic to allow non-static CLD data sources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix merge error in chrome/browser/BUILD.gn Created 6 years, 2 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 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 'chrome_browser_extensions_test_support_sources': [ 6 'chrome_browser_extensions_test_support_sources': [
7 # A list of sources which is shared between different browser tests. 7 # A list of sources which is shared between different browser tests.
8 'browser/apps/app_browsertest_util.cc', 8 'browser/apps/app_browsertest_util.cc',
9 'browser/apps/app_browsertest_util.h', 9 'browser/apps/app_browsertest_util.h',
10 'browser/extensions/browsertest_util.cc', 10 'browser/extensions/browsertest_util.cc',
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 'browser/ssl/ssl_client_certificate_selector_test.h', 541 'browser/ssl/ssl_client_certificate_selector_test.h',
542 'browser/sync_file_system/mock_local_change_processor.cc', 542 'browser/sync_file_system/mock_local_change_processor.cc',
543 'browser/sync_file_system/mock_local_change_processor.h', 543 'browser/sync_file_system/mock_local_change_processor.h',
544 'browser/sync_file_system/mock_remote_file_sync_service.cc', 544 'browser/sync_file_system/mock_remote_file_sync_service.cc',
545 'browser/sync_file_system/mock_remote_file_sync_service.h', 545 'browser/sync_file_system/mock_remote_file_sync_service.h',
546 'browser/tab_contents/view_source_browsertest.cc', 546 'browser/tab_contents/view_source_browsertest.cc',
547 'browser/task_manager/task_manager_browsertest.cc', 547 'browser/task_manager/task_manager_browsertest.cc',
548 'browser/task_manager/task_manager_browsertest_util.cc', 548 'browser/task_manager/task_manager_browsertest_util.cc',
549 'browser/task_manager/task_manager_browsertest_util.h', 549 'browser/task_manager/task_manager_browsertest_util.h',
550 'browser/themes/theme_service_browsertest.cc', 550 'browser/themes/theme_service_browsertest.cc',
551 'browser/translate/translate_browsertest.cc',
552 'browser/translate/cld_data_harness.cc', 551 'browser/translate/cld_data_harness.cc',
553 'browser/translate/cld_data_harness.h', 552 'browser/translate/cld_data_harness.h',
553 'browser/translate/cld_data_harness_factory.cc',
554 'browser/translate/cld_data_harness_factory.h',
555 'browser/translate/component_cld_data_harness.cc',
556 'browser/translate/component_cld_data_harness.h',
557 'browser/translate/standalone_cld_data_harness.cc',
558 'browser/translate/standalone_cld_data_harness.h',
559 'browser/translate/translate_browsertest.cc',
554 'browser/translate/translate_manager_browsertest.cc', 560 'browser/translate/translate_manager_browsertest.cc',
555 'browser/ui/app_list/app_list_controller_browsertest.cc', 561 'browser/ui/app_list/app_list_controller_browsertest.cc',
556 'browser/ui/app_list/app_list_service_impl_browsertest.cc', 562 'browser/ui/app_list/app_list_service_impl_browsertest.cc',
557 'browser/ui/app_list/app_list_service_views_browsertest.cc', 563 'browser/ui/app_list/app_list_service_views_browsertest.cc',
558 'browser/ui/app_list/search/people/people_provider_browsertest.cc', 564 'browser/ui/app_list/search/people/people_provider_browsertest.cc',
559 'browser/ui/app_list/search/webstore/webstore_provider_browsertest.cc', 565 'browser/ui/app_list/search/webstore/webstore_provider_browsertest.cc',
560 'browser/ui/ash/accelerator_commands_browsertest.cc', 566 'browser/ui/ash/accelerator_commands_browsertest.cc',
561 'browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc', 567 'browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc',
562 'browser/ui/ash/launcher/launcher_favicon_loader_browsertest.cc', 568 'browser/ui/ash/launcher/launcher_favicon_loader_browsertest.cc',
563 'browser/ui/ash/keyboard_controller_browsertest.cc', 569 'browser/ui/ash/keyboard_controller_browsertest.cc',
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
975 'test/base/interactive_ui_tests_main.cc', 981 'test/base/interactive_ui_tests_main.cc',
976 'test/base/view_event_test_base.cc', 982 'test/base/view_event_test_base.cc',
977 'test/base/view_event_test_base.h', 983 'test/base/view_event_test_base.h',
978 'test/base/view_event_test_platform_part.h', 984 'test/base/view_event_test_platform_part.h',
979 'test/base/view_event_test_platform_part_ash.cc', 985 'test/base/view_event_test_platform_part_ash.cc',
980 'test/base/view_event_test_platform_part_chromeos.cc', 986 'test/base/view_event_test_platform_part_chromeos.cc',
981 'test/base/view_event_test_platform_part_mac.mm', 987 'test/base/view_event_test_platform_part_mac.mm',
982 'test/ppapi/ppapi_interactive_browsertest.cc', 988 'test/ppapi/ppapi_interactive_browsertest.cc',
983 ], 989 ],
984 'conditions': [ 990 'conditions': [
991 [ 'cld_version==2', {
992 'dependencies': [
993 # Interactive tests should use whatever CLD2 data access mode that
994 # the application embedder is using.
995 '../third_party/cld_2/cld_2.gyp:cld2_platform_impl', ],
996 }],
985 ['use_x11==1', { 997 ['use_x11==1', {
986 'dependencies': [ 998 'dependencies': [
987 '../build/linux/system.gyp:xtst', 999 '../build/linux/system.gyp:xtst',
988 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 1000 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
989 ], 1001 ],
990 }], 1002 }],
991 ['OS=="linux" and use_aura==1', { 1003 ['OS=="linux" and use_aura==1', {
992 # TODO(gbillock): aura linux does not support the automation for 1004 # TODO(gbillock): aura linux does not support the automation for
993 # SendMouseMoveNotifyWhenDone 1005 # SendMouseMoveNotifyWhenDone
994 'sources!': [ 1006 'sources!': [
(...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after
1723 'msvs_settings': { 1735 'msvs_settings': {
1724 'VCLinkerTool': { 1736 'VCLinkerTool': {
1725 'conditions': [ 1737 'conditions': [
1726 ['incremental_chrome_dll==1', { 1738 ['incremental_chrome_dll==1', {
1727 'UseLibraryDependencyInputs': "true", 1739 'UseLibraryDependencyInputs': "true",
1728 }], 1740 }],
1729 ], 1741 ],
1730 }, 1742 },
1731 }, 1743 },
1732 'conditions': [ 1744 'conditions': [
1733 ['cld2_data_source=="component"', { 1745 [ 'cld_version==2', {
1734 'sources': [ 1746 'dependencies': [
1735 'browser/translate/component_cld_data_harness.cc', 1747 # Because the browser_tests use translate, they need CLD data.
1736 'browser/translate/component_cld_data_harness.h', 1748 '../third_party/cld_2/cld_2.gyp:cld2_platform_impl', ],
1737 ]}, 1749 }],
1738 ],
1739 ['cld2_data_source=="standalone"', {
1740 'sources': [
1741 'browser/translate/standalone_cld_data_harness.cc',
1742 'browser/translate/standalone_cld_data_harness.h',
1743 ]},
1744 ],
1745 ['cld2_data_source=="static"', {
1746 'sources': [
1747 'browser/translate/static_cld_data_harness.cc',
1748 'browser/translate/static_cld_data_harness.h',
1749 ]},
1750 ],
1751 ['enable_one_click_signin==0', { 1750 ['enable_one_click_signin==0', {
1752 'sources!': [ 1751 'sources!': [
1753 'browser/ui/sync/one_click_signin_bubble_links_delegate_browsertest. cc', 1752 'browser/ui/sync/one_click_signin_bubble_links_delegate_browsertest. cc',
1754 ] 1753 ]
1755 }], 1754 }],
1756 ['enable_autofill_dialog==0', { 1755 ['enable_autofill_dialog==0', {
1757 'sources!': [ 1756 'sources!': [
1758 'browser/ui/autofill/autofill_dialog_controller_browsertest.cc', 1757 'browser/ui/autofill/autofill_dialog_controller_browsertest.cc',
1759 ] 1758 ]
1760 }], 1759 }],
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
2305 'python', 2304 'python',
2306 '<@(_inputs)', 2305 '<@(_inputs)',
2307 'webui', 2306 'webui',
2308 '<(RULE_INPUT_PATH)', 2307 '<(RULE_INPUT_PATH)',
2309 'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js', 2308 'chrome/<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).js',
2310 '<@(_outputs)', 2309 '<@(_outputs)',
2311 ], 2310 ],
2312 }, 2311 },
2313 ], 2312 ],
2314 'conditions': [ 2313 'conditions': [
2314 [ 'cld_version==2', {
2315 'dependencies': [
2316 # Interactive tests should use whatever CLD2 data access mode that
2317 # the application embedder is using.
2318 '../third_party/cld_2/cld_2.gyp:cld2_platform_impl', ],
2319 }],
2315 ['OS=="win"', { 2320 ['OS=="win"', {
2316 'sources': [ 2321 'sources': [
2317 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc', 2322 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc',
2318 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.rc', 2323 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.rc',
2319 ], 2324 ],
2320 'include_dirs': [ 2325 'include_dirs': [
2321 '<(DEPTH)/third_party/wtl/include', 2326 '<(DEPTH)/third_party/wtl/include',
2322 ], 2327 ],
2323 'dependencies': [ 2328 'dependencies': [
2324 'chrome_version_resources', 2329 'chrome_version_resources',
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
2581 'browser/sync/test/integration/two_client_extension_settings_and_app_set tings_sync_test.cc', 2586 'browser/sync/test/integration/two_client_extension_settings_and_app_set tings_sync_test.cc',
2582 'browser/sync/test/integration/two_client_extensions_sync_test.cc', 2587 'browser/sync/test/integration/two_client_extensions_sync_test.cc',
2583 'browser/sync/test/integration/two_client_passwords_sync_test.cc', 2588 'browser/sync/test/integration/two_client_passwords_sync_test.cc',
2584 'browser/sync/test/integration/two_client_preferences_sync_test.cc', 2589 'browser/sync/test/integration/two_client_preferences_sync_test.cc',
2585 'browser/sync/test/integration/two_client_search_engines_sync_test.cc', 2590 'browser/sync/test/integration/two_client_search_engines_sync_test.cc',
2586 'browser/sync/test/integration/two_client_sessions_sync_test.cc', 2591 'browser/sync/test/integration/two_client_sessions_sync_test.cc',
2587 'browser/sync/test/integration/two_client_themes_sync_test.cc', 2592 'browser/sync/test/integration/two_client_themes_sync_test.cc',
2588 'browser/sync/test/integration/two_client_typed_urls_sync_test.cc', 2593 'browser/sync/test/integration/two_client_typed_urls_sync_test.cc',
2589 ], 2594 ],
2590 'conditions': [ 2595 'conditions': [
2596 [ 'cld_version==2', {
2597 'dependencies': [
2598 # Language detection is irrelevant to sync, so it can depend on
2599 # any implementation for CLD2. Dynamic is smaller, so go with
2600 # dynamic.
2601 '../third_party/cld_2/cld_2.gyp:cld2_dynamic', ],
2602 }],
2591 ['OS=="linux"', { 2603 ['OS=="linux"', {
2592 'dependencies': [ 2604 'dependencies': [
2593 '../build/linux/system.gyp:ssl', 2605 '../build/linux/system.gyp:ssl',
2594 ], 2606 ],
2595 }], 2607 }],
2596 ['OS=="mac"', { 2608 ['OS=="mac"', {
2597 # The sync_integration_tests do not run on mac without this flag. 2609 # The sync_integration_tests do not run on mac without this flag.
2598 # Search for comments about "xcode_settings" elsewhere in this file. 2610 # Search for comments about "xcode_settings" elsewhere in this file.
2599 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, 2611 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
2600 # Dictionary sync is disabled on Mac. 2612 # Dictionary sync is disabled on Mac.
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
2690 'browser/sync/test/integration/performance/extensions_sync_perf_test.cc' , 2702 'browser/sync/test/integration/performance/extensions_sync_perf_test.cc' ,
2691 'browser/sync/test/integration/performance/sync_timing_helper.cc', 2703 'browser/sync/test/integration/performance/sync_timing_helper.cc',
2692 'browser/sync/test/integration/performance/sync_timing_helper.h', 2704 'browser/sync/test/integration/performance/sync_timing_helper.h',
2693 'browser/sync/test/integration/performance/passwords_sync_perf_test.cc', 2705 'browser/sync/test/integration/performance/passwords_sync_perf_test.cc',
2694 'browser/sync/test/integration/performance/sessions_sync_perf_test.cc', 2706 'browser/sync/test/integration/performance/sessions_sync_perf_test.cc',
2695 'browser/sync/test/integration/performance/typed_urls_sync_perf_test.cc' , 2707 'browser/sync/test/integration/performance/typed_urls_sync_perf_test.cc' ,
2696 'test/base/browser_perf_tests_main.cc', 2708 'test/base/browser_perf_tests_main.cc',
2697 'test/data/resource.rc', 2709 'test/data/resource.rc',
2698 ], 2710 ],
2699 'conditions': [ 2711 'conditions': [
2712 [ 'cld_version==2', {
2713 'dependencies': [
2714 # Language detection is irrelevant to sync, so it can depend on
2715 # any implementation for CLD2. Dynamic is smaller, so go with
2716 # dynamic.
2717 '../third_party/cld_2/cld_2.gyp:cld2_dynamic', ],
2718 }],
2700 ['OS=="linux"', { 2719 ['OS=="linux"', {
2701 'dependencies': [ 2720 'dependencies': [
2702 '../build/linux/system.gyp:ssl', 2721 '../build/linux/system.gyp:ssl',
2703 ], 2722 ],
2704 }], 2723 }],
2705 ['OS=="mac"', { 2724 ['OS=="mac"', {
2706 # The sync_performance_tests do not run on mac without this flag. 2725 # The sync_performance_tests do not run on mac without this flag.
2707 # Search for comments about "xcode_settings" elsewhere in this file. 2726 # Search for comments about "xcode_settings" elsewhere in this file.
2708 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, 2727 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']},
2709 # Dictionary sync is disabled on Mac. 2728 # Dictionary sync is disabled on Mac.
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
3128 ['enable_webrtc==1', { 3147 ['enable_webrtc==1', {
3129 'dependencies': [ 3148 'dependencies': [
3130 '../third_party/libjingle/libjingle.gyp:libjingle_webrtc' 3149 '../third_party/libjingle/libjingle.gyp:libjingle_webrtc'
3131 ] 3150 ]
3132 }], 3151 }],
3133 ], 3152 ],
3134 }] 3153 }]
3135 }], 3154 }],
3136 ], # 'conditions' 3155 ], # 'conditions'
3137 } 3156 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698