OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
6 import("//build/config/compiler/compiler.gni") | 6 import("//build/config/compiler/compiler.gni") |
7 import("//build/config/crypto.gni") | 7 import("//build/config/crypto.gni") |
8 import("//build/config/features.gni") | 8 import("//build/config/features.gni") |
9 import("//build/config/ui.gni") | 9 import("//build/config/ui.gni") |
10 import("//chrome/common/features.gni") | 10 import("//chrome/common/features.gni") |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 "../browser/apps/app_browsertest_util.h", | 376 "../browser/apps/app_browsertest_util.h", |
377 "../browser/apps/app_pointer_lock_interactive_uitest.cc", | 377 "../browser/apps/app_pointer_lock_interactive_uitest.cc", |
378 "../browser/apps/app_shim/app_shim_interactive_uitest_mac.mm", | 378 "../browser/apps/app_shim/app_shim_interactive_uitest_mac.mm", |
379 "../browser/apps/app_shim/app_shim_quit_interactive_uitest_mac.mm", | 379 "../browser/apps/app_shim/app_shim_quit_interactive_uitest_mac.mm", |
380 "../browser/apps/app_window_interactive_uitest.cc", | 380 "../browser/apps/app_window_interactive_uitest.cc", |
381 "../browser/apps/guest_view/web_view_interactive_browsertest.cc", | 381 "../browser/apps/guest_view/web_view_interactive_browsertest.cc", |
382 "../browser/autofill/autofill_interactive_uitest.cc", | 382 "../browser/autofill/autofill_interactive_uitest.cc", |
383 "../browser/autofill/autofill_uitest_util.cc", | 383 "../browser/autofill/autofill_uitest_util.cc", |
384 "../browser/browser_keyevents_browsertest.cc", | 384 "../browser/browser_keyevents_browsertest.cc", |
385 "../browser/extensions/api/extension_action/browser_action_interactive_tes
t.cc", | 385 "../browser/extensions/api/extension_action/browser_action_interactive_tes
t.cc", |
| 386 "../browser/extensions/api/notifications/notifications_apitest.cc", |
386 "../browser/extensions/api/omnibox/omnibox_api_interactive_test.cc", | 387 "../browser/extensions/api/omnibox/omnibox_api_interactive_test.cc", |
387 "../browser/extensions/api/tabs/tabs_interactive_test.cc", | 388 "../browser/extensions/api/tabs/tabs_interactive_test.cc", |
388 "../browser/extensions/browsertest_util.cc", | 389 "../browser/extensions/browsertest_util.cc", |
389 "../browser/extensions/chrome_extension_test_notification_observer.cc", | 390 "../browser/extensions/chrome_extension_test_notification_observer.cc", |
390 "../browser/extensions/chrome_extension_test_notification_observer.h", | 391 "../browser/extensions/chrome_extension_test_notification_observer.h", |
391 "../browser/extensions/clipboard_extension_apitest_chromeos.cc", | 392 "../browser/extensions/clipboard_extension_apitest_chromeos.cc", |
392 "../browser/extensions/extension_apitest.cc", | 393 "../browser/extensions/extension_apitest.cc", |
393 "../browser/extensions/extension_browsertest.cc", | 394 "../browser/extensions/extension_browsertest.cc", |
394 "../browser/extensions/extension_commands_global_registry_apitest.cc", | 395 "../browser/extensions/extension_commands_global_registry_apitest.cc", |
395 "../browser/extensions/extension_crash_recovery_browsertest.cc", | 396 "../browser/extensions/extension_crash_recovery_browsertest.cc", |
396 "../browser/extensions/extension_fullscreen_apitest.cc", | 397 "../browser/extensions/extension_fullscreen_apitest.cc", |
397 "../browser/extensions/extension_function_test_utils.cc", | 398 "../browser/extensions/extension_function_test_utils.cc", |
398 "../browser/extensions/extension_keybinding_apitest.cc", | 399 "../browser/extensions/extension_keybinding_apitest.cc", |
399 "../browser/extensions/updater/extension_cache_fake.cc", | 400 "../browser/extensions/updater/extension_cache_fake.cc", |
400 "../browser/extensions/updater/extension_cache_fake.h", | 401 "../browser/extensions/updater/extension_cache_fake.h", |
401 "../browser/extensions/window_open_interactive_apitest.cc", | 402 "../browser/extensions/window_open_interactive_apitest.cc", |
402 "../browser/mouseleave_browsertest.cc", | 403 "../browser/mouseleave_browsertest.cc", |
| 404 "../browser/notifications/message_center_notifications_browsertest.cc", |
403 "../browser/password_manager/password_generation_interactive_uitest.cc", | 405 "../browser/password_manager/password_generation_interactive_uitest.cc", |
404 "../browser/password_manager/password_manager_interactive_uitest.cc", | 406 "../browser/password_manager/password_manager_interactive_uitest.cc", |
405 "../browser/renderer_context_menu/render_view_context_menu_browsertest_uti
l.cc", | 407 "../browser/renderer_context_menu/render_view_context_menu_browsertest_uti
l.cc", |
406 "../browser/renderer_context_menu/render_view_context_menu_browsertest_uti
l.h", | 408 "../browser/renderer_context_menu/render_view_context_menu_browsertest_uti
l.h", |
407 "../browser/renderer_host/site_per_process_text_input_browsertest.cc", | 409 "../browser/renderer_host/site_per_process_text_input_browsertest.cc", |
408 "../browser/site_per_process_interactive_browsertest.cc", | 410 "../browser/site_per_process_interactive_browsertest.cc", |
409 "../browser/ui/autofill/autofill_popup_controller_interactive_uitest.cc", | 411 "../browser/ui/autofill/autofill_popup_controller_interactive_uitest.cc", |
410 "../browser/ui/blocked_content/popup_blocker_browsertest.cc", | 412 "../browser/ui/blocked_content/popup_blocker_browsertest.cc", |
411 "../browser/ui/browser_focus_uitest.cc", | 413 "../browser/ui/browser_focus_uitest.cc", |
412 "../browser/ui/cocoa/apps/app_shim_menu_controller_mac_interactive_uitest.
mm", | 414 "../browser/ui/cocoa/apps/app_shim_menu_controller_mac_interactive_uitest.
mm", |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
686 data_deps += [ "//components/nacl/loader:helper_nonsfi" ] | 688 data_deps += [ "//components/nacl/loader:helper_nonsfi" ] |
687 } | 689 } |
688 } | 690 } |
689 | 691 |
690 if (is_chrome_branded) { | 692 if (is_chrome_branded) { |
691 sources -= [ | 693 sources -= [ |
692 # These tests are failing on official cros bots. crbug.com/431450. | 694 # These tests are failing on official cros bots. crbug.com/431450. |
693 "../browser/ui/views/bookmarks/bookmark_bar_view_test.cc", | 695 "../browser/ui/views/bookmarks/bookmark_bar_view_test.cc", |
694 ] | 696 ] |
695 } | 697 } |
| 698 } else { # ! is_chromeos |
| 699 # Non-ChromeOS notifications tests (ChromeOS does not use cross-platform |
| 700 # panels). |
| 701 sources += [ |
| 702 "../browser/notifications/notification_interactive_uitest.cc", |
| 703 "../browser/notifications/platform_notification_service_interactive_uite
st.cc", |
| 704 ] |
696 } | 705 } |
697 | 706 |
698 if (is_win) { | 707 if (is_win) { |
699 sources += [ | 708 sources += [ |
700 "../browser/downgrade/user_data_downgrade_browsertest.cc", | 709 "../browser/downgrade/user_data_downgrade_browsertest.cc", |
701 "//ui/resources/cursors/aliasb.cur", | 710 "//ui/resources/cursors/aliasb.cur", |
702 "//ui/resources/cursors/cell.cur", | 711 "//ui/resources/cursors/cell.cur", |
703 "//ui/resources/cursors/col_resize.cur", | 712 "//ui/resources/cursors/col_resize.cur", |
704 "//ui/resources/cursors/copy.cur", | 713 "//ui/resources/cursors/copy.cur", |
705 "//ui/resources/cursors/none.cur", | 714 "//ui/resources/cursors/none.cur", |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
769 ] | 778 ] |
770 if (is_chromeos) { | 779 if (is_chromeos) { |
771 sources -= [ | 780 sources -= [ |
772 # Use only the _chromeos version on ChromeOS. | 781 # Use only the _chromeos version on ChromeOS. |
773 "base/view_event_test_platform_part_default.cc", | 782 "base/view_event_test_platform_part_default.cc", |
774 ] | 783 ] |
775 } | 784 } |
776 deps += [ "//ash/test:interactive_ui_test_support" ] | 785 deps += [ "//ash/test:interactive_ui_test_support" ] |
777 } | 786 } |
778 | 787 |
779 if (enable_notifications) { | 788 if (is_android) { |
780 sources += [ | 789 sources -= [ |
781 "../browser/extensions/api/notifications/notifications_apitest.cc", | 790 # Android does not use the message center-based Notification system. |
782 "../browser/notifications/message_center_notifications_browsertest.cc", | 791 "../browser/notifications/message_center_notifications_browsertest.cc", |
| 792 |
| 793 # TODO(peter): Enable the Notification browser tests. |
| 794 "../browser/notifications/notification_interactive_uitest.cc", |
| 795 "../browser/notifications/platform_notification_service_interactive_uite
st.cc", |
783 ] | 796 ] |
784 | 797 } |
785 # Non-ChromeOS notifications tests (ChromeOS does not use cross-platform | |
786 # panels). | |
787 if (!is_chromeos) { | |
788 sources += [ | |
789 "../browser/notifications/notification_interactive_uitest.cc", | |
790 "../browser/notifications/platform_notification_service_interactive_ui
test.cc", | |
791 ] | |
792 } | |
793 | |
794 if (is_android) { | |
795 sources -= [ | |
796 # Android does not use the message center-based Notification system. | |
797 "../browser/notifications/message_center_notifications_browsertest.cc"
, | |
798 | |
799 # TODO(peter): Enable the Notification browser tests. | |
800 "../browser/notifications/notification_interactive_uitest.cc", | |
801 "../browser/notifications/platform_notification_service_interactive_ui
test.cc", | |
802 ] | |
803 } | |
804 } # enable_notifications | |
805 | 798 |
806 if (!use_aura || is_chromeos) { | 799 if (!use_aura || is_chromeos) { |
807 sources -= [ "//ui/views/corewm/desktop_capture_controller_unittest.cc" ] | 800 sources -= [ "//ui/views/corewm/desktop_capture_controller_unittest.cc" ] |
808 } | 801 } |
809 } | 802 } |
810 | 803 |
811 if (enable_app_list && use_ash) { | 804 if (enable_app_list && use_ash) { |
812 static_library("test_support_applist_ash") { | 805 static_library("test_support_applist_ash") { |
813 defines = [] | 806 defines = [] |
814 testonly = true | 807 testonly = true |
(...skipping 2392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3207 "../browser/net/net_error_tab_helper_unittest.cc", | 3200 "../browser/net/net_error_tab_helper_unittest.cc", |
3208 "../browser/net/predictor_unittest.cc", | 3201 "../browser/net/predictor_unittest.cc", |
3209 "../browser/net/probe_message_unittest.cc", | 3202 "../browser/net/probe_message_unittest.cc", |
3210 "../browser/net/quota_policy_channel_id_store_unittest.cc", | 3203 "../browser/net/quota_policy_channel_id_store_unittest.cc", |
3211 "../browser/net/safe_search_util_unittest.cc", | 3204 "../browser/net/safe_search_util_unittest.cc", |
3212 "../browser/net/spdyproxy/chrome_data_use_group_provider_unittest.cc", | 3205 "../browser/net/spdyproxy/chrome_data_use_group_provider_unittest.cc", |
3213 "../browser/net/spdyproxy/chrome_data_use_group_unittest.cc", | 3206 "../browser/net/spdyproxy/chrome_data_use_group_unittest.cc", |
3214 "../browser/net/spdyproxy/data_reduction_proxy_chrome_settings_unittest.cc", | 3207 "../browser/net/spdyproxy/data_reduction_proxy_chrome_settings_unittest.cc", |
3215 "../browser/net/spdyproxy/data_reduction_proxy_settings_unittest_android.cc"
, | 3208 "../browser/net/spdyproxy/data_reduction_proxy_settings_unittest_android.cc"
, |
3216 "../browser/net/url_info_unittest.cc", | 3209 "../browser/net/url_info_unittest.cc", |
| 3210 "../browser/notifications/desktop_notification_profile_util_unittest.cc", |
| 3211 "../browser/notifications/notification_permission_context_unittest.cc", |
| 3212 "../browser/notifications/notification_platform_bridge_mac_unittest.mm", |
| 3213 "../browser/notifications/platform_notification_service_unittest.cc", |
| 3214 "../browser/notifications/stub_alert_dispatcher_mac.h", |
| 3215 "../browser/notifications/stub_alert_dispatcher_mac.mm", |
| 3216 "../browser/notifications/stub_notification_center_mac.h", |
| 3217 "../browser/notifications/stub_notification_center_mac.mm", |
3217 "../browser/ntp_snippets/download_suggestions_provider_unittest.cc", | 3218 "../browser/ntp_snippets/download_suggestions_provider_unittest.cc", |
3218 "../browser/page_load_metrics/metrics_web_contents_observer_unittest.cc", | 3219 "../browser/page_load_metrics/metrics_web_contents_observer_unittest.cc", |
3219 "../browser/page_load_metrics/observers/aborts_page_load_metrics_observer_un
ittest.cc", | 3220 "../browser/page_load_metrics/observers/aborts_page_load_metrics_observer_un
ittest.cc", |
3220 "../browser/page_load_metrics/observers/core_page_load_metrics_observer_unit
test.cc", | 3221 "../browser/page_load_metrics/observers/core_page_load_metrics_observer_unit
test.cc", |
3221 "../browser/page_load_metrics/observers/data_reduction_proxy_metrics_observe
r_unittest.cc", | 3222 "../browser/page_load_metrics/observers/data_reduction_proxy_metrics_observe
r_unittest.cc", |
3222 "../browser/page_load_metrics/observers/document_write_page_load_metrics_obs
erver_unittest.cc", | 3223 "../browser/page_load_metrics/observers/document_write_page_load_metrics_obs
erver_unittest.cc", |
3223 "../browser/page_load_metrics/observers/from_gws_page_load_metrics_observer_
unittest.cc", | 3224 "../browser/page_load_metrics/observers/from_gws_page_load_metrics_observer_
unittest.cc", |
3224 "../browser/page_load_metrics/observers/google_captcha_observer_unittest.cc"
, | 3225 "../browser/page_load_metrics/observers/google_captcha_observer_unittest.cc"
, |
3225 "../browser/page_load_metrics/observers/page_load_metrics_observer_test_harn
ess.cc", | 3226 "../browser/page_load_metrics/observers/page_load_metrics_observer_test_harn
ess.cc", |
3226 "../browser/page_load_metrics/observers/page_load_metrics_observer_test_harn
ess.h", | 3227 "../browser/page_load_metrics/observers/page_load_metrics_observer_test_harn
ess.h", |
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3580 "../browser/media_galleries/media_galleries_dialog_controller_test_util.cc
", | 3581 "../browser/media_galleries/media_galleries_dialog_controller_test_util.cc
", |
3581 "../browser/media_galleries/media_galleries_dialog_controller_test_util.h"
, | 3582 "../browser/media_galleries/media_galleries_dialog_controller_test_util.h"
, |
3582 "../browser/media_galleries/media_galleries_permission_controller_unittest
.cc", | 3583 "../browser/media_galleries/media_galleries_permission_controller_unittest
.cc", |
3583 "../browser/media_galleries/media_galleries_permissions_unittest.cc", | 3584 "../browser/media_galleries/media_galleries_permissions_unittest.cc", |
3584 "../browser/media_galleries/media_galleries_preferences_unittest.cc", | 3585 "../browser/media_galleries/media_galleries_preferences_unittest.cc", |
3585 "../browser/media_galleries/win/mtp_device_delegate_impl_win_unittest.cc", | 3586 "../browser/media_galleries/win/mtp_device_delegate_impl_win_unittest.cc", |
3586 "../browser/media_galleries/win/mtp_device_object_enumerator_unittest.cc", | 3587 "../browser/media_galleries/win/mtp_device_object_enumerator_unittest.cc", |
3587 "../browser/memory/tab_manager_delegate_chromeos_unittest.cc", | 3588 "../browser/memory/tab_manager_delegate_chromeos_unittest.cc", |
3588 "../browser/memory/tab_manager_unittest.cc", | 3589 "../browser/memory/tab_manager_unittest.cc", |
3589 "../browser/memory/tab_manager_web_contents_data_unittest.cc", | 3590 "../browser/memory/tab_manager_web_contents_data_unittest.cc", |
| 3591 |
| 3592 # Android does not use the Message Center notification system. |
3590 "../browser/net/firefox_proxy_settings_unittest.cc", | 3593 "../browser/net/firefox_proxy_settings_unittest.cc", |
| 3594 "../browser/notifications/message_center_notifications_unittest.cc", |
| 3595 "../browser/notifications/message_center_settings_controller_unittest.cc", |
3591 "../browser/permissions/permission_request_manager_unittest.cc", | 3596 "../browser/permissions/permission_request_manager_unittest.cc", |
3592 "../browser/platform_util_unittest.cc", | 3597 "../browser/platform_util_unittest.cc", |
3593 "../browser/power_usage_monitor/power_usage_monitor_unittest.cc", | 3598 "../browser/power_usage_monitor/power_usage_monitor_unittest.cc", |
3594 "../browser/process_singleton_posix_unittest.cc", | 3599 "../browser/process_singleton_posix_unittest.cc", |
3595 "../browser/profile_resetter/profile_resetter_unittest.cc", | 3600 "../browser/profile_resetter/profile_resetter_unittest.cc", |
3596 "../browser/profile_resetter/triggered_profile_resetter_win_unittest.cc", | 3601 "../browser/profile_resetter/triggered_profile_resetter_win_unittest.cc", |
3597 "../browser/renderer_context_menu/render_view_context_menu_unittest.cc", | 3602 "../browser/renderer_context_menu/render_view_context_menu_unittest.cc", |
3598 "../browser/search/instant_service_unittest.cc", | 3603 "../browser/search/instant_service_unittest.cc", |
3599 "../browser/search/instant_unittest_base.cc", | 3604 "../browser/search/instant_unittest_base.cc", |
3600 "../browser/search/instant_unittest_base.h", | 3605 "../browser/search/instant_unittest_base.h", |
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4192 "../browser/printing/cloud_print/privet_notifications_unittest.cc", | 4197 "../browser/printing/cloud_print/privet_notifications_unittest.cc", |
4193 "../browser/printing/cloud_print/privet_url_fetcher_unittest.cc", | 4198 "../browser/printing/cloud_print/privet_url_fetcher_unittest.cc", |
4194 ] | 4199 ] |
4195 } | 4200 } |
4196 if (enable_web_speech) { | 4201 if (enable_web_speech) { |
4197 sources += [ | 4202 sources += [ |
4198 "../browser/speech/extension_api/extension_manifests_tts_unittest.cc", | 4203 "../browser/speech/extension_api/extension_manifests_tts_unittest.cc", |
4199 "../browser/speech/tts_controller_unittest.cc", | 4204 "../browser/speech/tts_controller_unittest.cc", |
4200 ] | 4205 ] |
4201 } | 4206 } |
4202 if (enable_notifications) { | |
4203 sources += [ | |
4204 "../browser/notifications/desktop_notification_profile_util_unittest.cc", | |
4205 "../browser/notifications/message_center_notifications_unittest.cc", | |
4206 "../browser/notifications/message_center_settings_controller_unittest.cc", | |
4207 "../browser/notifications/notification_permission_context_unittest.cc", | |
4208 "../browser/notifications/notification_platform_bridge_mac_unittest.mm", | |
4209 "../browser/notifications/platform_notification_service_unittest.cc", | |
4210 "../browser/notifications/stub_alert_dispatcher_mac.h", | |
4211 "../browser/notifications/stub_alert_dispatcher_mac.mm", | |
4212 "../browser/notifications/stub_notification_center_mac.h", | |
4213 "../browser/notifications/stub_notification_center_mac.mm", | |
4214 ] | |
4215 if (is_android) { | |
4216 sources -= [ | |
4217 # Android does not use the Message Center notification system. | |
4218 "../browser/notifications/message_center_notifications_unittest.cc", | |
4219 "../browser/notifications/message_center_settings_controller_unittest.cc
", | |
4220 ] | |
4221 } | |
4222 } | |
4223 | 4207 |
4224 if (safe_browsing_mode > 0) { | 4208 if (safe_browsing_mode > 0) { |
4225 sources += [ | 4209 sources += [ |
4226 "../browser/safe_browsing/certificate_reporting_service_unittest.cc", | 4210 "../browser/safe_browsing/certificate_reporting_service_unittest.cc", |
4227 "../browser/safe_browsing/ping_manager_unittest.cc", | 4211 "../browser/safe_browsing/ping_manager_unittest.cc", |
4228 "../browser/safe_browsing/safe_browsing_blocking_page_unittest.cc", | 4212 "../browser/safe_browsing/safe_browsing_blocking_page_unittest.cc", |
4229 "../browser/safe_browsing/threat_details_unittest.cc", | 4213 "../browser/safe_browsing/threat_details_unittest.cc", |
4230 "../browser/safe_browsing/ui_manager_unittest.cc", | 4214 "../browser/safe_browsing/ui_manager_unittest.cc", |
4231 "../common/safe_browsing/file_type_policies_test_util.cc", | 4215 "../common/safe_browsing/file_type_policies_test_util.cc", |
4232 "../common/safe_browsing/file_type_policies_test_util.h", | 4216 "../common/safe_browsing/file_type_policies_test_util.h", |
(...skipping 913 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5146 } | 5130 } |
5147 | 5131 |
5148 if (is_win) { | 5132 if (is_win) { |
5149 loadable_module("conflicts_dll") { | 5133 loadable_module("conflicts_dll") { |
5150 testonly = true | 5134 testonly = true |
5151 sources = [ | 5135 sources = [ |
5152 "conflicts/conflicts_dll.cc", | 5136 "conflicts/conflicts_dll.cc", |
5153 ] | 5137 ] |
5154 } | 5138 } |
5155 } | 5139 } |
OLD | NEW |