| 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 758 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 769 ] | 769 ] |
| 770 } | 770 } |
| 771 | 771 |
| 772 if (use_ash) { | 772 if (use_ash) { |
| 773 sources += [ | 773 sources += [ |
| 774 "../browser/ui/views/ash/tab_scrubber_browsertest.cc", | 774 "../browser/ui/views/ash/tab_scrubber_browsertest.cc", |
| 775 "../browser/ui/window_sizer/window_sizer_ash_uitest.cc", | 775 "../browser/ui/window_sizer/window_sizer_ash_uitest.cc", |
| 776 "//ash/drag_drop/drag_drop_interactive_uitest.cc", | 776 "//ash/drag_drop/drag_drop_interactive_uitest.cc", |
| 777 "//ash/wm/ash_native_cursor_manager_interactive_uitest.cc", | 777 "//ash/wm/ash_native_cursor_manager_interactive_uitest.cc", |
| 778 ] | 778 ] |
| 779 if (is_chromeos) { | 779 sources -= [ |
| 780 sources -= [ | 780 # Use only the _chromeos version on Ash / Chrome OS. |
| 781 # Use only the _chromeos version on ChromeOS. | 781 "base/view_event_test_platform_part_default.cc", |
| 782 "base/view_event_test_platform_part_default.cc", | 782 ] |
| 783 ] | |
| 784 } | |
| 785 deps += [ "//ash/test:interactive_ui_test_support" ] | 783 deps += [ "//ash/test:interactive_ui_test_support" ] |
| 786 } | 784 } |
| 787 | 785 |
| 788 if (is_android) { | 786 if (is_android) { |
| 789 sources -= [ | 787 sources -= [ |
| 790 # Android does not use the message center-based Notification system. | 788 # Android does not use the message center-based Notification system. |
| 791 "../browser/notifications/message_center_notifications_browsertest.cc", | 789 "../browser/notifications/message_center_notifications_browsertest.cc", |
| 792 | 790 |
| 793 # TODO(peter): Enable the Notification browser tests. | 791 # TODO(peter): Enable the Notification browser tests. |
| 794 "../browser/notifications/notification_interactive_uitest.cc", | 792 "../browser/notifications/notification_interactive_uitest.cc", |
| (...skipping 1555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2350 deps += [ | 2348 deps += [ |
| 2351 "//chromeos/ime:gencode", | 2349 "//chromeos/ime:gencode", |
| 2352 "//components/arc:arc_test_support", | 2350 "//components/arc:arc_test_support", |
| 2353 "//components/user_manager:test_support", | 2351 "//components/user_manager:test_support", |
| 2354 "//ui/login:resources", | 2352 "//ui/login:resources", |
| 2355 ] | 2353 ] |
| 2356 | 2354 |
| 2357 if (use_dbus) { | 2355 if (use_dbus) { |
| 2358 deps += [ "//dbus:test_support" ] | 2356 deps += [ "//dbus:test_support" ] |
| 2359 } | 2357 } |
| 2360 } else { | 2358 } else { # !is_chromeos |
| 2361 sources -= [ | 2359 sources -= [ |
| 2362 "../browser/extensions/api/enterprise_device_attributes/enterprise_devic
e_attributes_apitest.cc", | 2360 "../browser/extensions/api/enterprise_device_attributes/enterprise_devic
e_attributes_apitest.cc", |
| 2363 "../browser/extensions/api/enterprise_platform_keys/enterprise_platform_
keys_apitest_nss.cc", | 2361 "../browser/extensions/api/enterprise_platform_keys/enterprise_platform_
keys_apitest_nss.cc", |
| 2364 "../browser/extensions/api/platform_keys/platform_keys_apitest_nss.cc", | 2362 "../browser/extensions/api/platform_keys/platform_keys_apitest_nss.cc", |
| 2365 "../browser/extensions/api/terminal/terminal_private_apitest.cc", | 2363 "../browser/extensions/api/terminal/terminal_private_apitest.cc", |
| 2366 "../browser/invalidation/profile_invalidation_provider_factory_browserte
st.cc", | 2364 "../browser/invalidation/profile_invalidation_provider_factory_browserte
st.cc", |
| 2367 "../browser/net/nss_context_chromeos_browsertest.cc", | 2365 "../browser/net/nss_context_chromeos_browsertest.cc", |
| 2368 "data/webui/certificate_viewer_ui_test-inl.h", | 2366 "data/webui/certificate_viewer_ui_test-inl.h", |
| 2369 ] | 2367 ] |
| 2370 if (use_ash) { | |
| 2371 sources -= [ "../browser/ui/ash/keyboard_controller_browsertest.cc" ] | |
| 2372 } | |
| 2373 if (toolkit_views) { | 2368 if (toolkit_views) { |
| 2374 sources -= [ "../browser/ui/views/select_file_dialog_extension_browserte
st.cc" ] | 2369 sources -= [ "../browser/ui/views/select_file_dialog_extension_browserte
st.cc" ] |
| 2375 } | 2370 } |
| 2376 if (is_win || is_linux) { | 2371 if (is_win || is_linux) { |
| 2377 sources += | 2372 sources += |
| 2378 [ "../browser/ui/views/ime/input_ime_apitest_nonchromeos.cc" ] | 2373 [ "../browser/ui/views/ime/input_ime_apitest_nonchromeos.cc" ] |
| 2379 } | 2374 } |
| 2380 } | 2375 } |
| 2381 if (safe_browsing_mode == 1) { | 2376 if (safe_browsing_mode == 1) { |
| 2382 sources += [ | 2377 sources += [ |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2422 "//chrome/app:command_ids", | 2417 "//chrome/app:command_ids", |
| 2423 "//third_party/wtl", | 2418 "//third_party/wtl", |
| 2424 "//ui/resources", | 2419 "//ui/resources", |
| 2425 ] | 2420 ] |
| 2426 } else { | 2421 } else { |
| 2427 sources -= [ | 2422 sources -= [ |
| 2428 "../app/chrome_version.rc.version", | 2423 "../app/chrome_version.rc.version", |
| 2429 "../browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc
", | 2424 "../browser/media_galleries/fileapi/iapps_finder_impl_win_browsertest.cc
", |
| 2430 ] | 2425 ] |
| 2431 } | 2426 } |
| 2432 if (!is_chromeos && use_ash) { | |
| 2433 sources -= [ | |
| 2434 # On Windows and Linux, we currently don't support enough of the | |
| 2435 # ash environment to run these unit tests. | |
| 2436 # | |
| 2437 # TODO: enable these on windows and linux. | |
| 2438 "../browser/ui/ash/accelerator_commands_browsertest.cc", | |
| 2439 "../browser/ui/ash/accelerator_controller_browsertest.cc", | |
| 2440 "../browser/ui/ash/launcher/chrome_launcher_controller_impl_browsertest.
cc", | |
| 2441 "../browser/ui/ash/launcher/launcher_favicon_loader_browsertest.cc", | |
| 2442 "../browser/ui/ash/shelf_browsertest.cc", | |
| 2443 ] | |
| 2444 | |
| 2445 if (toolkit_views) { | |
| 2446 sources -= [ "../browser/ui/views/frame/browser_non_client_frame_view_as
h_browsertest.cc" ] | |
| 2447 } | |
| 2448 } | |
| 2449 if (is_mac) { | 2427 if (is_mac) { |
| 2450 # Other platforms only need .pak files, and can build this target | 2428 # Other platforms only need .pak files, and can build this target |
| 2451 # standalone much faster. | 2429 # standalone much faster. |
| 2452 deps += [ | 2430 deps += [ |
| 2453 "//chrome", | 2431 "//chrome", |
| 2454 "//chrome/common:app_mode_app_support", | 2432 "//chrome/common:app_mode_app_support", |
| 2455 | 2433 |
| 2456 # TODO(GYP) Mac: GYP has this dependency. Uncommenting this line | 2434 # TODO(GYP) Mac: GYP has this dependency. Uncommenting this line |
| 2457 # generates duplicate symbols between | 2435 # generates duplicate symbols between |
| 2458 # obj/components/crash/content/app/breakpad_stubs/crash_reporter_clien
t.o | 2436 # obj/components/crash/content/app/breakpad_stubs/crash_reporter_clien
t.o |
| (...skipping 1687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4146 "../browser/ui/ash/window_positioner_unittest.cc", | 4124 "../browser/ui/ash/window_positioner_unittest.cc", |
| 4147 "../browser/ui/window_sizer/window_sizer_ash_unittest.cc", | 4125 "../browser/ui/window_sizer/window_sizer_ash_unittest.cc", |
| 4148 ] | 4126 ] |
| 4149 deps += [ | 4127 deps += [ |
| 4150 "//ash/common/strings", | 4128 "//ash/common/strings", |
| 4151 "//ash/resources", | 4129 "//ash/resources", |
| 4152 "//ash/test:ash_with_aura_test_support", | 4130 "//ash/test:ash_with_aura_test_support", |
| 4153 "//ash/test:test_support_with_content", | 4131 "//ash/test:test_support_with_content", |
| 4154 ] | 4132 ] |
| 4155 | 4133 |
| 4156 # We eventually want to compile both in Win Aura builds, see | 4134 # Chrome OS uses window_sizer_ash_unittest.cc |
| 4157 # http://crbug.com/155545. | 4135 sources -= [ "../browser/ui/window_sizer/window_sizer_unittest.cc" ] |
| 4158 if (!is_win) { | |
| 4159 sources -= [ "../browser/ui/window_sizer/window_sizer_unittest.cc" ] | |
| 4160 } | |
| 4161 } | 4136 } |
| 4162 if (use_aura) { | 4137 if (use_aura) { |
| 4163 deps += [ | 4138 deps += [ |
| 4164 "//ui/aura:test_support", | 4139 "//ui/aura:test_support", |
| 4165 "//ui/views:test_support", | 4140 "//ui/views:test_support", |
| 4166 "//ui/wm", | 4141 "//ui/wm", |
| 4167 ] | 4142 ] |
| 4168 } | 4143 } |
| 4169 if (!is_chromeos && is_linux) { | 4144 if (!is_chromeos && is_linux) { |
| 4170 sources += [ | 4145 sources += [ |
| (...skipping 952 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5123 } | 5098 } |
| 5124 | 5099 |
| 5125 if (is_win) { | 5100 if (is_win) { |
| 5126 loadable_module("conflicts_dll") { | 5101 loadable_module("conflicts_dll") { |
| 5127 testonly = true | 5102 testonly = true |
| 5128 sources = [ | 5103 sources = [ |
| 5129 "conflicts/conflicts_dll.cc", | 5104 "conflicts/conflicts_dll.cc", |
| 5130 ] | 5105 ] |
| 5131 } | 5106 } |
| 5132 } | 5107 } |
| OLD | NEW |