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 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 "//chrome/browser", | 375 "//chrome/browser", |
376 "//chrome/browser/devtools", | 376 "//chrome/browser/devtools", |
377 "//chrome/renderer", | 377 "//chrome/renderer", |
378 "//components/resources", | 378 "//components/resources", |
379 "//components/sync", | 379 "//components/sync", |
380 "//components/sync:test_support_model", | 380 "//components/sync:test_support_model", |
381 "//content/app/resources", | 381 "//content/app/resources", |
382 "//content/test:test_support", | 382 "//content/test:test_support", |
383 "//crypto:platform", | 383 "//crypto:platform", |
384 "//crypto:test_support", | 384 "//crypto:test_support", |
385 "//extensions/features", | |
386 "//google_apis:test_support", | 385 "//google_apis:test_support", |
387 "//net", | 386 "//net", |
388 "//net:net_resources", | 387 "//net:net_resources", |
389 "//net:test_support", | 388 "//net:test_support", |
390 "//skia", | 389 "//skia", |
391 "//testing/gmock", | 390 "//testing/gmock", |
392 "//testing/gtest", | 391 "//testing/gtest", |
393 "//third_party/hunspell", | 392 "//third_party/hunspell", |
394 "//third_party/icu", | 393 "//third_party/icu", |
395 "//third_party/libpng", | 394 "//third_party/libpng", |
396 "//third_party/zlib", | 395 "//third_party/zlib", |
397 "//ui/base:test_support", | 396 "//ui/base:test_support", |
398 "//ui/resources:ui_test_pak", | 397 "//ui/resources:ui_test_pak", |
399 "//ui/web_dialogs:test_support", | 398 "//ui/web_dialogs:test_support", |
400 ] | 399 ] |
| 400 if (enable_extensions) { |
| 401 deps += [ "//extensions/features" ] |
| 402 } |
401 } | 403 } |
402 } | 404 } |
403 | 405 |
404 test("interactive_ui_tests") { | 406 test("interactive_ui_tests") { |
405 sources = [ | 407 sources = [ |
406 "../browser/apps/app_browsertest_util.cc", | 408 "../browser/apps/app_browsertest_util.cc", |
407 "../browser/apps/app_browsertest_util.h", | 409 "../browser/apps/app_browsertest_util.h", |
408 "../browser/apps/app_pointer_lock_interactive_uitest.cc", | 410 "../browser/apps/app_pointer_lock_interactive_uitest.cc", |
409 "../browser/apps/app_shim/app_shim_interactive_uitest_mac.mm", | 411 "../browser/apps/app_shim/app_shim_interactive_uitest_mac.mm", |
410 "../browser/apps/app_shim/app_shim_quit_interactive_uitest_mac.mm", | 412 "../browser/apps/app_shim/app_shim_quit_interactive_uitest_mac.mm", |
(...skipping 1900 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2311 "//services/preferences/public/interfaces", | 2313 "//services/preferences/public/interfaces", |
2312 "//services/service_manager/public/cpp", | 2314 "//services/service_manager/public/cpp", |
2313 "//ui/login:resources", | 2315 "//ui/login:resources", |
2314 ] | 2316 ] |
2315 | 2317 |
2316 if (use_dbus) { | 2318 if (use_dbus) { |
2317 deps += [ "//dbus:test_support" ] | 2319 deps += [ "//dbus:test_support" ] |
2318 } | 2320 } |
2319 } else { # !is_chromeos | 2321 } else { # !is_chromeos |
2320 sources -= [ | 2322 sources -= [ |
2321 "../browser/extensions/api/enterprise_device_attributes/enterprise_devic
e_attributes_apitest.cc", | |
2322 "../browser/extensions/api/enterprise_platform_keys/enterprise_platform_
keys_apitest_nss.cc", | |
2323 "../browser/extensions/api/platform_keys/platform_keys_apitest_nss.cc", | |
2324 "../browser/extensions/api/terminal/terminal_private_apitest.cc", | |
2325 "../browser/invalidation/profile_invalidation_provider_factory_browserte
st.cc", | 2323 "../browser/invalidation/profile_invalidation_provider_factory_browserte
st.cc", |
2326 "../browser/net/nss_context_chromeos_browsertest.cc", | 2324 "../browser/net/nss_context_chromeos_browsertest.cc", |
2327 "data/webui/certificate_viewer_ui_test-inl.h", | 2325 "data/webui/certificate_viewer_ui_test-inl.h", |
2328 ] | 2326 ] |
| 2327 if (enable_extensions) { |
| 2328 sources -= [ |
| 2329 "../browser/extensions/api/enterprise_device_attributes/enterprise_dev
ice_attributes_apitest.cc", |
| 2330 "../browser/extensions/api/enterprise_platform_keys/enterprise_platfor
m_keys_apitest_nss.cc", |
| 2331 "../browser/extensions/api/platform_keys/platform_keys_apitest_nss.cc"
, |
| 2332 "../browser/extensions/api/terminal/terminal_private_apitest.cc", |
| 2333 ] |
| 2334 } |
2329 if (toolkit_views) { | 2335 if (toolkit_views) { |
2330 sources -= [ "../browser/ui/views/select_file_dialog_extension_browserte
st.cc" ] | 2336 sources -= [ "../browser/ui/views/select_file_dialog_extension_browserte
st.cc" ] |
2331 } | 2337 } |
2332 if (is_win || is_linux) { | 2338 if (is_win || is_linux) { |
2333 sources += | 2339 sources += |
2334 [ "../browser/ui/views/ime/input_ime_apitest_nonchromeos.cc" ] | 2340 [ "../browser/ui/views/ime/input_ime_apitest_nonchromeos.cc" ] |
2335 } | 2341 } |
2336 } | 2342 } |
2337 if (safe_browsing_mode == 1) { | 2343 if (safe_browsing_mode == 1) { |
2338 sources += [ | 2344 sources += [ |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2564 sources -= [ | 2570 sources -= [ |
2565 # Not intended to run on ChromeOS. | 2571 # Not intended to run on ChromeOS. |
2566 "../browser/printing/cloud_print/test/cloud_print_proxy_process_browsert
est.cc", | 2572 "../browser/printing/cloud_print/test/cloud_print_proxy_process_browsert
est.cc", |
2567 ] | 2573 ] |
2568 } | 2574 } |
2569 if (enable_mdns) { | 2575 if (enable_mdns) { |
2570 sources += [ "../browser/ui/webui/local_discovery/local_discovery_ui_brows
ertest.cc" ] | 2576 sources += [ "../browser/ui/webui/local_discovery/local_discovery_ui_brows
ertest.cc" ] |
2571 } | 2577 } |
2572 if (use_brlapi) { | 2578 if (use_brlapi) { |
2573 deps += [ "//build/linux/libbrlapi" ] | 2579 deps += [ "//build/linux/libbrlapi" ] |
2574 } else { | 2580 } else if (enable_extensions) { |
2575 sources -= [ "../browser/extensions/api/braille_display_private/braille_di
splay_private_apitest.cc" ] | 2581 sources -= [ "../browser/extensions/api/braille_display_private/braille_di
splay_private_apitest.cc" ] |
2576 } | 2582 } |
2577 if (is_chrome_branded && safe_browsing_mode == 1 && !is_mac) { | 2583 if (is_chrome_branded && safe_browsing_mode == 1 && !is_mac) { |
2578 sources -= [ | 2584 sources -= [ |
2579 # These tests depend on single process mode, which is disabled in | 2585 # These tests depend on single process mode, which is disabled in |
2580 # official builds. | 2586 # official builds. |
2581 "../renderer/safe_browsing/phishing_classifier_browsertest.cc", | 2587 "../renderer/safe_browsing/phishing_classifier_browsertest.cc", |
2582 "../renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc", | 2588 "../renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc", |
2583 ] | 2589 ] |
2584 } | 2590 } |
(...skipping 2571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5156 } | 5162 } |
5157 | 5163 |
5158 if (is_win) { | 5164 if (is_win) { |
5159 loadable_module("conflicts_dll") { | 5165 loadable_module("conflicts_dll") { |
5160 testonly = true | 5166 testonly = true |
5161 sources = [ | 5167 sources = [ |
5162 "conflicts/conflicts_dll.cc", | 5168 "conflicts/conflicts_dll.cc", |
5163 ] | 5169 ] |
5164 } | 5170 } |
5165 } | 5171 } |
OLD | NEW |