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/chrome_tests.gni") | 10 import("//chrome/chrome_tests.gni") |
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
553 if (enable_notifications) { | 553 if (enable_notifications) { |
554 sources += rebase_path( | 554 sources += rebase_path( |
555 chrome_tests_gypi_values.chrome_interactive_ui_test_notifications_
sources, | 555 chrome_tests_gypi_values.chrome_interactive_ui_test_notifications_
sources, |
556 ".", | 556 ".", |
557 "//chrome") | 557 "//chrome") |
558 | 558 |
559 # Non-ChromeOS notifications tests (ChromeOS does not use cross-platform | 559 # Non-ChromeOS notifications tests (ChromeOS does not use cross-platform |
560 # panels). | 560 # panels). |
561 if (!is_chromeos) { | 561 if (!is_chromeos) { |
562 sources += [ | 562 sources += [ |
563 "../browser/notifications/notification_browsertest.cc", | 563 "../browser/notifications/notification_interactive_uitest.cc", |
564 "../browser/notifications/platform_notification_service_browsertest.cc
", | 564 "../browser/notifications/platform_notification_service_interactive_ui
test.cc", |
565 ] | 565 ] |
566 } | 566 } |
567 | 567 |
568 if (is_android) { | 568 if (is_android) { |
569 sources -= [ | 569 sources -= [ |
570 # Android does not use the message center-based Notification system. | 570 # Android does not use the message center-based Notification system. |
571 "../browser/notifications/message_center_notifications_browsertest.cc"
, | 571 "../browser/notifications/message_center_notifications_browsertest.cc"
, |
572 | 572 |
573 # TODO(peter): Enable the Notification browser tests. | 573 # TODO(peter): Enable the Notification browser tests. |
574 "../browser/notifications/notification_browsertest.cc", | 574 "../browser/notifications/notification_interactive_uitest.cc", |
575 "../browser/notifications/platform_notification_service_browsertest.cc
", | 575 "../browser/notifications/platform_notification_service_interactive_ui
test.cc", |
576 ] | 576 ] |
577 } | 577 } |
578 } # enable_notifications | 578 } # enable_notifications |
579 | 579 |
580 if (!use_aura || is_chromeos) { | 580 if (!use_aura || is_chromeos) { |
581 sources -= | 581 sources -= |
582 [ "../../ui/views/corewm/desktop_capture_controller_unittest.cc" ] | 582 [ "../../ui/views/corewm/desktop_capture_controller_unittest.cc" ] |
583 } | 583 } |
584 } | 584 } |
585 | 585 |
(...skipping 817 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1403 "//chrome:packed_resources", | 1403 "//chrome:packed_resources", |
1404 "//chrome:resources", | 1404 "//chrome:resources", |
1405 "//chrome:strings", | 1405 "//chrome:strings", |
1406 "//chrome/common", | 1406 "//chrome/common", |
1407 "//chrome/renderer", | 1407 "//chrome/renderer", |
1408 "//crypto:platform", | 1408 "//crypto:platform", |
1409 "//sync", | 1409 "//sync", |
1410 "//testing/gmock", | 1410 "//testing/gmock", |
1411 "//testing/gtest", | 1411 "//testing/gtest", |
1412 "//third_party/WebKit/public:blink", | 1412 "//third_party/WebKit/public:blink", |
| 1413 |
1413 # Language detection is irrelevant to sync, so it can depend on any | 1414 # Language detection is irrelevant to sync, so it can depend on any |
1414 # implementation for CLD2. Dynamic is smaller, so go with dynamic. | 1415 # implementation for CLD2. Dynamic is smaller, so go with dynamic. |
1415 "//third_party/cld_2:cld2_dynamic", | 1416 "//third_party/cld_2:cld2_dynamic", |
1416 "//third_party/icu", | 1417 "//third_party/icu", |
1417 "//third_party/leveldatabase", | 1418 "//third_party/leveldatabase", |
1418 ] | 1419 ] |
1419 | 1420 |
1420 data_deps = [ | 1421 data_deps = [ |
1421 "//third_party/mesa:osmesa", | 1422 "//third_party/mesa:osmesa", |
1422 ] | 1423 ] |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1477 | 1478 |
1478 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 1479 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
1479 | 1480 |
1480 deps = [ | 1481 deps = [ |
1481 ":sync_integration_test_support", | 1482 ":sync_integration_test_support", |
1482 ":test_support_ui", | 1483 ":test_support_ui", |
1483 "//crypto:platform", | 1484 "//crypto:platform", |
1484 "//sync", | 1485 "//sync", |
1485 "//testing/gmock", | 1486 "//testing/gmock", |
1486 "//testing/gtest", | 1487 "//testing/gtest", |
| 1488 |
1487 # Language detection is irrelevant to sync, so it can depend on any | 1489 # Language detection is irrelevant to sync, so it can depend on any |
1488 # implementation for CLD2. Dynamic is smaller, so go with dynamic. | 1490 # implementation for CLD2. Dynamic is smaller, so go with dynamic. |
1489 "//third_party/cld_2:cld2_dynamic", | 1491 "//third_party/cld_2:cld2_dynamic", |
1490 ] | 1492 ] |
1491 | 1493 |
1492 if (is_mac) { | 1494 if (is_mac) { |
1493 # Dictionary sync is disabled on Mac. | 1495 # Dictionary sync is disabled on Mac. |
1494 sources -= [ "../browser/sync/test/integration/performance/dictionary_sync
_perf_test.cc" ] | 1496 sources -= [ "../browser/sync/test/integration/performance/dictionary_sync
_perf_test.cc" ] |
1495 | 1497 |
1496 # The sync_performance_tests do not run on mac without this flag. | 1498 # The sync_performance_tests do not run on mac without this flag. |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1628 | 1630 |
1629 # 3) anything tests directly depend on | 1631 # 3) anything tests directly depend on |
1630 "//chrome:resources", | 1632 "//chrome:resources", |
1631 "//chrome:strings", | 1633 "//chrome:strings", |
1632 "//components/safe_browsing_db:test_database_manager", | 1634 "//components/safe_browsing_db:test_database_manager", |
1633 "//components/version_info:generate_version_info", | 1635 "//components/version_info:generate_version_info", |
1634 "//courgette:courgette_lib", | 1636 "//courgette:courgette_lib", |
1635 "//google_apis", | 1637 "//google_apis", |
1636 "//skia", | 1638 "//skia", |
1637 "//third_party/cacheinvalidation", | 1639 "//third_party/cacheinvalidation", |
| 1640 |
1638 # Unit tests should be independent of the CLD2 access mechanism, just use | 1641 # Unit tests should be independent of the CLD2 access mechanism, just use |
1639 # static for simplicity. | 1642 # static for simplicity. |
1640 "//third_party/cld_2:cld2_static", | 1643 "//third_party/cld_2:cld2_static", |
1641 "//third_party/icu", | 1644 "//third_party/icu", |
1642 "//third_party/libxml", | 1645 "//third_party/libxml", |
1643 "//ui/base:test_support", | 1646 "//ui/base:test_support", |
1644 "//ui/gfx:test_support", | 1647 "//ui/gfx:test_support", |
1645 "//ui/resources", | 1648 "//ui/resources", |
1646 ] | 1649 ] |
1647 data_deps = [] | 1650 data_deps = [] |
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2205 "//chrome/browser", | 2208 "//chrome/browser", |
2206 "//chrome/renderer", | 2209 "//chrome/renderer", |
2207 "//components/about_handler", | 2210 "//components/about_handler", |
2208 "//components/autofill/content/browser/wallet:test_support", | 2211 "//components/autofill/content/browser/wallet:test_support", |
2209 "//components/autofill/content/renderer:test_support", | 2212 "//components/autofill/content/renderer:test_support", |
2210 "//content/test:browsertest_base", | 2213 "//content/test:browsertest_base", |
2211 "//media/cast:test_support", | 2214 "//media/cast:test_support", |
2212 "//testing/gmock", | 2215 "//testing/gmock", |
2213 "//testing/gtest", | 2216 "//testing/gtest", |
2214 "//testing/perf", | 2217 "//testing/perf", |
2215 "//third_party/cld_2:cld2_platform_impl" | 2218 "//third_party/cld_2:cld2_platform_impl", |
2216 ] | 2219 ] |
2217 | 2220 |
2218 if (is_win) { | 2221 if (is_win) { |
2219 configs -= [ "//build/config/win:default_incremental_linking" ] | 2222 configs -= [ "//build/config/win:default_incremental_linking" ] |
2220 configs += | 2223 configs += |
2221 [ "//build/config/win:default_large_module_incremental_linking" ] | 2224 [ "//build/config/win:default_large_module_incremental_linking" ] |
2222 } else { | 2225 } else { |
2223 sources -= [ | 2226 sources -= [ |
2224 "../app/chrome_command_ids.h", | 2227 "../app/chrome_command_ids.h", |
2225 | 2228 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2263 if (is_android) { | 2266 if (is_android) { |
2264 android_library("unit_tests_java") { | 2267 android_library("unit_tests_java") { |
2265 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap
k/ChromeNativeTestApplication.java" ] | 2268 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap
k/ChromeNativeTestApplication.java" ] |
2266 deps = [ | 2269 deps = [ |
2267 "//base:base_java", | 2270 "//base:base_java", |
2268 "//chrome/android:chrome_java", | 2271 "//chrome/android:chrome_java", |
2269 "//content/public/android:content_java", | 2272 "//content/public/android:content_java", |
2270 ] | 2273 ] |
2271 } | 2274 } |
2272 } | 2275 } |
OLD | NEW |