| 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 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 "//crypto:platform", | 382 "//crypto:platform", |
| 383 "//crypto:test_support", | 383 "//crypto:test_support", |
| 384 "//google_apis:test_support", | 384 "//google_apis:test_support", |
| 385 "//net", | 385 "//net", |
| 386 "//net:net_resources", | 386 "//net:net_resources", |
| 387 "//net:test_support", | 387 "//net:test_support", |
| 388 "//skia", | 388 "//skia", |
| 389 "//sync", | 389 "//sync", |
| 390 "//testing/gmock", | 390 "//testing/gmock", |
| 391 "//testing/gtest", | 391 "//testing/gtest", |
| 392 "//third_party/cld_2:cld2_platform_impl", | |
| 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 ] |
| 401 | 400 |
| 402 # TODO(rockot) bug 505926: The chrome_extensions_interactive_uitests target | 401 # TODO(rockot) bug 505926: The chrome_extensions_interactive_uitests target |
| (...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 925 "//net", | 924 "//net", |
| 926 "//net:test_support", | 925 "//net:test_support", |
| 927 "//sdch", | 926 "//sdch", |
| 928 "//skia", | 927 "//skia", |
| 929 "//sync", | 928 "//sync", |
| 930 "//sync:test_support_sync_api", | 929 "//sync:test_support_sync_api", |
| 931 "//testing/gmock", | 930 "//testing/gmock", |
| 932 "//testing/gtest", | 931 "//testing/gtest", |
| 933 "//testing/perf", | 932 "//testing/perf", |
| 934 "//third_party/cacheinvalidation", | 933 "//third_party/cacheinvalidation", |
| 935 "//third_party/cld_2:cld2_platform_impl", | |
| 936 "//third_party/icu", | 934 "//third_party/icu", |
| 937 "//third_party/leveldatabase", | 935 "//third_party/leveldatabase", |
| 938 "//third_party/libjingle", | 936 "//third_party/libjingle", |
| 939 "//third_party/safe_browsing:test_support", | 937 "//third_party/safe_browsing:test_support", |
| 940 "//third_party/webrtc/modules/desktop_capture", | 938 "//third_party/webrtc/modules/desktop_capture", |
| 941 "//third_party/widevine/cdm:version_h", | 939 "//third_party/widevine/cdm:version_h", |
| 942 "//ui/accessibility:test_support", | 940 "//ui/accessibility:test_support", |
| 943 "//ui/base:test_support", | 941 "//ui/base:test_support", |
| 944 "//ui/compositor:test_support", | 942 "//ui/compositor:test_support", |
| 945 "//ui/resources", | 943 "//ui/resources", |
| (...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1447 "//chrome:packed_resources", | 1445 "//chrome:packed_resources", |
| 1448 "//chrome:resources", | 1446 "//chrome:resources", |
| 1449 "//chrome:strings", | 1447 "//chrome:strings", |
| 1450 "//chrome/common", | 1448 "//chrome/common", |
| 1451 "//chrome/renderer", | 1449 "//chrome/renderer", |
| 1452 "//crypto:platform", | 1450 "//crypto:platform", |
| 1453 "//sync", | 1451 "//sync", |
| 1454 "//testing/gmock", | 1452 "//testing/gmock", |
| 1455 "//testing/gtest", | 1453 "//testing/gtest", |
| 1456 "//third_party/WebKit/public:blink", | 1454 "//third_party/WebKit/public:blink", |
| 1457 | |
| 1458 # Language detection is irrelevant to sync, so it can depend on any | |
| 1459 # implementation for CLD2. Dynamic is smaller, so go with dynamic. | |
| 1460 "//third_party/cld_2:cld2_dynamic", | |
| 1461 "//third_party/icu", | 1455 "//third_party/icu", |
| 1462 "//third_party/leveldatabase", | 1456 "//third_party/leveldatabase", |
| 1463 ] | 1457 ] |
| 1464 | 1458 |
| 1465 data_deps = [ | 1459 data_deps = [ |
| 1466 "//third_party/mesa:osmesa", | 1460 "//third_party/mesa:osmesa", |
| 1467 ] | 1461 ] |
| 1468 | 1462 |
| 1469 if (!is_mac) { | 1463 if (!is_mac) { |
| 1470 data_deps += [ "//chrome:packed_extra_resources" ] | 1464 data_deps += [ "//chrome:packed_extra_resources" ] |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1527 | 1521 |
| 1528 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 1522 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
| 1529 | 1523 |
| 1530 deps = [ | 1524 deps = [ |
| 1531 ":sync_integration_test_support", | 1525 ":sync_integration_test_support", |
| 1532 ":test_support_ui", | 1526 ":test_support_ui", |
| 1533 "//crypto:platform", | 1527 "//crypto:platform", |
| 1534 "//sync", | 1528 "//sync", |
| 1535 "//testing/gmock", | 1529 "//testing/gmock", |
| 1536 "//testing/gtest", | 1530 "//testing/gtest", |
| 1537 | |
| 1538 # Language detection is irrelevant to sync, so it can depend on any | |
| 1539 # implementation for CLD2. Dynamic is smaller, so go with dynamic. | |
| 1540 "//third_party/cld_2:cld2_dynamic", | |
| 1541 ] | 1531 ] |
| 1542 | 1532 |
| 1543 if (is_mac) { | 1533 if (is_mac) { |
| 1544 # Dictionary sync is disabled on Mac. | 1534 # Dictionary sync is disabled on Mac. |
| 1545 sources -= [ "../browser/sync/test/integration/performance/dictionary_sync
_perf_test.cc" ] | 1535 sources -= [ "../browser/sync/test/integration/performance/dictionary_sync
_perf_test.cc" ] |
| 1546 | 1536 |
| 1547 # The sync_performance_tests do not run on mac without this flag. | 1537 # The sync_performance_tests do not run on mac without this flag. |
| 1548 # Search for comments about "xcode_settings" elsewhere in this file. | 1538 # Search for comments about "xcode_settings" elsewhere in this file. |
| 1549 ldflags = [ "-Wl,-ObjC" ] | 1539 ldflags = [ "-Wl,-ObjC" ] |
| 1550 } | 1540 } |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1716 | 1706 |
| 1717 # 3) anything tests directly depend on | 1707 # 3) anything tests directly depend on |
| 1718 "//chrome:resources", | 1708 "//chrome:resources", |
| 1719 "//chrome:strings", | 1709 "//chrome:strings", |
| 1720 "//components/safe_browsing_db:test_database_manager", | 1710 "//components/safe_browsing_db:test_database_manager", |
| 1721 "//components/version_info:generate_version_info", | 1711 "//components/version_info:generate_version_info", |
| 1722 "//courgette:courgette_lib", | 1712 "//courgette:courgette_lib", |
| 1723 "//google_apis", | 1713 "//google_apis", |
| 1724 "//skia", | 1714 "//skia", |
| 1725 "//third_party/cacheinvalidation", | 1715 "//third_party/cacheinvalidation", |
| 1726 | |
| 1727 # Unit tests should be independent of the CLD2 access mechanism, just use | |
| 1728 # static for simplicity. | |
| 1729 "//third_party/cld_2:cld2_static", | |
| 1730 "//third_party/icu", | 1716 "//third_party/icu", |
| 1731 "//third_party/libxml", | 1717 "//third_party/libxml", |
| 1732 "//ui/base:test_support", | 1718 "//ui/base:test_support", |
| 1733 "//ui/display:test_support", | 1719 "//ui/display:test_support", |
| 1734 "//ui/gfx:test_support", | 1720 "//ui/gfx:test_support", |
| 1735 "//ui/resources", | 1721 "//ui/resources", |
| 1736 ] | 1722 ] |
| 1737 data_deps = [] | 1723 data_deps = [] |
| 1738 | 1724 |
| 1739 if (!is_ios) { | 1725 if (!is_ios) { |
| (...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2301 ] | 2287 ] |
| 2302 deps = [ | 2288 deps = [ |
| 2303 ":test_support", | 2289 ":test_support", |
| 2304 "//base/test:run_all_unittests", | 2290 "//base/test:run_all_unittests", |
| 2305 "//base/test:test_support", | 2291 "//base/test:test_support", |
| 2306 "//breakpad:client", | 2292 "//breakpad:client", |
| 2307 "//chrome/browser", | 2293 "//chrome/browser", |
| 2308 "//chrome/child", | 2294 "//chrome/child", |
| 2309 "//components/crash/core/common", | 2295 "//components/crash/core/common", |
| 2310 "//components/flags_ui:switches", | 2296 "//components/flags_ui:switches", |
| 2311 "//third_party/cld_2:cld2_platform_impl", | |
| 2312 "//third_party/kasko:kasko_features", | 2297 "//third_party/kasko:kasko_features", |
| 2313 ] | 2298 ] |
| 2314 } | 2299 } |
| 2315 } | 2300 } |
| 2316 | 2301 |
| 2317 if (!is_android && !is_ios && !is_chromecast) { | 2302 if (!is_android && !is_ios && !is_chromecast) { |
| 2318 test("performance_browser_tests") { | 2303 test("performance_browser_tests") { |
| 2319 sources = | 2304 sources = |
| 2320 rebase_path(chrome_tests_gypi_values.performance_browser_tests_sources, | 2305 rebase_path(chrome_tests_gypi_values.performance_browser_tests_sources, |
| 2321 ".", | 2306 ".", |
| 2322 "//chrome") | 2307 "//chrome") |
| 2323 | 2308 |
| 2324 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 2309 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
| 2325 | 2310 |
| 2326 deps = [ | 2311 deps = [ |
| 2327 ":test_support", | 2312 ":test_support", |
| 2328 ":test_support_ui", | 2313 ":test_support_ui", |
| 2329 "//base", | 2314 "//base", |
| 2330 "//base:i18n", | 2315 "//base:i18n", |
| 2331 "//base/test:test_support", | 2316 "//base/test:test_support", |
| 2332 "//chrome/browser", | 2317 "//chrome/browser", |
| 2333 "//chrome/renderer", | 2318 "//chrome/renderer", |
| 2334 "//components/about_handler", | 2319 "//components/about_handler", |
| 2335 "//components/autofill/content/renderer:test_support", | 2320 "//components/autofill/content/renderer:test_support", |
| 2336 "//content/test:browsertest_base", | 2321 "//content/test:browsertest_base", |
| 2337 "//media/cast:test_support", | 2322 "//media/cast:test_support", |
| 2338 "//testing/gmock", | 2323 "//testing/gmock", |
| 2339 "//testing/gtest", | 2324 "//testing/gtest", |
| 2340 "//testing/perf", | 2325 "//testing/perf", |
| 2341 "//third_party/cld_2:cld2_platform_impl", | |
| 2342 ] | 2326 ] |
| 2343 | 2327 |
| 2344 if (is_win) { | 2328 if (is_win) { |
| 2345 configs -= [ "//build/config/win:default_incremental_linking" ] | 2329 configs -= [ "//build/config/win:default_incremental_linking" ] |
| 2346 configs += | 2330 configs += |
| 2347 [ "//build/config/win:default_large_module_incremental_linking" ] | 2331 [ "//build/config/win:default_large_module_incremental_linking" ] |
| 2348 } else { | 2332 } else { |
| 2349 sources -= [ | 2333 sources -= [ |
| 2350 "../app/chrome_command_ids.h", | 2334 "../app/chrome_command_ids.h", |
| 2351 "../app/chrome_version.rc.version", | 2335 "../app/chrome_version.rc.version", |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2389 if (is_android) { | 2373 if (is_android) { |
| 2390 android_library("unit_tests_java") { | 2374 android_library("unit_tests_java") { |
| 2391 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap
k/ChromeNativeTestApplication.java" ] | 2375 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap
k/ChromeNativeTestApplication.java" ] |
| 2392 deps = [ | 2376 deps = [ |
| 2393 "//base:base_java", | 2377 "//base:base_java", |
| 2394 "//chrome/android:chrome_java", | 2378 "//chrome/android:chrome_java", |
| 2395 "//content/public/android:content_java", | 2379 "//content/public/android:content_java", |
| 2396 ] | 2380 ] |
| 2397 } | 2381 } |
| 2398 } | 2382 } |
| OLD | NEW |