Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(581)

Side by Side Diff: chrome/test/BUILD.gn

Issue 2034413003: Delete the non-static CLD data source logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase to latest master Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/test/base/chrome_unit_test_suite.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 526 matching lines...) Expand 10 before | Expand all | Expand 10 after
929 "//net", 928 "//net",
930 "//net:test_support", 929 "//net:test_support",
931 "//sdch", 930 "//sdch",
932 "//skia", 931 "//skia",
933 "//sync", 932 "//sync",
934 "//sync:test_support_sync_api", 933 "//sync:test_support_sync_api",
935 "//testing/gmock", 934 "//testing/gmock",
936 "//testing/gtest", 935 "//testing/gtest",
937 "//testing/perf", 936 "//testing/perf",
938 "//third_party/cacheinvalidation", 937 "//third_party/cacheinvalidation",
939 "//third_party/cld_2:cld2_platform_impl",
940 "//third_party/icu", 938 "//third_party/icu",
941 "//third_party/leveldatabase", 939 "//third_party/leveldatabase",
942 "//third_party/libjingle", 940 "//third_party/libjingle",
943 "//third_party/safe_browsing:test_support", 941 "//third_party/safe_browsing:test_support",
944 "//third_party/webrtc/modules/desktop_capture", 942 "//third_party/webrtc/modules/desktop_capture",
945 "//third_party/widevine/cdm:version_h", 943 "//third_party/widevine/cdm:version_h",
946 "//ui/accessibility:test_support", 944 "//ui/accessibility:test_support",
947 "//ui/base:test_support", 945 "//ui/base:test_support",
948 "//ui/compositor:test_support", 946 "//ui/compositor:test_support",
949 "//ui/resources", 947 "//ui/resources",
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after
1451 "//chrome:packed_resources", 1449 "//chrome:packed_resources",
1452 "//chrome:resources", 1450 "//chrome:resources",
1453 "//chrome:strings", 1451 "//chrome:strings",
1454 "//chrome/common", 1452 "//chrome/common",
1455 "//chrome/renderer", 1453 "//chrome/renderer",
1456 "//crypto:platform", 1454 "//crypto:platform",
1457 "//sync", 1455 "//sync",
1458 "//testing/gmock", 1456 "//testing/gmock",
1459 "//testing/gtest", 1457 "//testing/gtest",
1460 "//third_party/WebKit/public:blink", 1458 "//third_party/WebKit/public:blink",
1461
1462 # Language detection is irrelevant to sync, so it can depend on any
1463 # implementation for CLD2. Dynamic is smaller, so go with dynamic.
1464 "//third_party/cld_2:cld2_dynamic",
1465 "//third_party/icu", 1459 "//third_party/icu",
1466 "//third_party/leveldatabase", 1460 "//third_party/leveldatabase",
1467 ] 1461 ]
1468 1462
1469 data_deps = [ 1463 data_deps = [
1470 "//third_party/mesa:osmesa", 1464 "//third_party/mesa:osmesa",
1471 ] 1465 ]
1472 1466
1473 if (!is_mac) { 1467 if (!is_mac) {
1474 data_deps += [ "//chrome:packed_extra_resources" ] 1468 data_deps += [ "//chrome:packed_extra_resources" ]
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
1531 1525
1532 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] 1526 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
1533 1527
1534 deps = [ 1528 deps = [
1535 ":sync_integration_test_support", 1529 ":sync_integration_test_support",
1536 ":test_support_ui", 1530 ":test_support_ui",
1537 "//crypto:platform", 1531 "//crypto:platform",
1538 "//sync", 1532 "//sync",
1539 "//testing/gmock", 1533 "//testing/gmock",
1540 "//testing/gtest", 1534 "//testing/gtest",
1541
1542 # Language detection is irrelevant to sync, so it can depend on any
1543 # implementation for CLD2. Dynamic is smaller, so go with dynamic.
1544 "//third_party/cld_2:cld2_dynamic",
1545 ] 1535 ]
1546 1536
1547 if (is_mac) { 1537 if (is_mac) {
1548 # Dictionary sync is disabled on Mac. 1538 # Dictionary sync is disabled on Mac.
1549 sources -= [ "../browser/sync/test/integration/performance/dictionary_sync _perf_test.cc" ] 1539 sources -= [ "../browser/sync/test/integration/performance/dictionary_sync _perf_test.cc" ]
1550 1540
1551 # The sync_performance_tests do not run on mac without this flag. 1541 # The sync_performance_tests do not run on mac without this flag.
1552 # Search for comments about "xcode_settings" elsewhere in this file. 1542 # Search for comments about "xcode_settings" elsewhere in this file.
1553 ldflags = [ "-Wl,-ObjC" ] 1543 ldflags = [ "-Wl,-ObjC" ]
1554 } 1544 }
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
1720 1710
1721 # 3) anything tests directly depend on 1711 # 3) anything tests directly depend on
1722 "//chrome:resources", 1712 "//chrome:resources",
1723 "//chrome:strings", 1713 "//chrome:strings",
1724 "//components/safe_browsing_db:test_database_manager", 1714 "//components/safe_browsing_db:test_database_manager",
1725 "//components/version_info:generate_version_info", 1715 "//components/version_info:generate_version_info",
1726 "//courgette:courgette_lib", 1716 "//courgette:courgette_lib",
1727 "//google_apis", 1717 "//google_apis",
1728 "//skia", 1718 "//skia",
1729 "//third_party/cacheinvalidation", 1719 "//third_party/cacheinvalidation",
1730
1731 # Unit tests should be independent of the CLD2 access mechanism, just use
1732 # static for simplicity.
1733 "//third_party/cld_2:cld2_static",
1734 "//third_party/icu", 1720 "//third_party/icu",
1735 "//third_party/libxml", 1721 "//third_party/libxml",
1736 "//ui/base:test_support", 1722 "//ui/base:test_support",
1737 "//ui/display:test_support", 1723 "//ui/display:test_support",
1738 "//ui/gfx:test_support", 1724 "//ui/gfx:test_support",
1739 "//ui/resources", 1725 "//ui/resources",
1740 ] 1726 ]
1741 data_deps = [] 1727 data_deps = []
1742 1728
1743 if (!is_ios) { 1729 if (!is_ios) {
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after
2305 ] 2291 ]
2306 deps = [ 2292 deps = [
2307 ":test_support", 2293 ":test_support",
2308 "//base/test:run_all_unittests", 2294 "//base/test:run_all_unittests",
2309 "//base/test:test_support", 2295 "//base/test:test_support",
2310 "//breakpad:client", 2296 "//breakpad:client",
2311 "//chrome/browser", 2297 "//chrome/browser",
2312 "//chrome/child", 2298 "//chrome/child",
2313 "//components/crash/core/common", 2299 "//components/crash/core/common",
2314 "//components/flags_ui:switches", 2300 "//components/flags_ui:switches",
2315 "//third_party/cld_2:cld2_platform_impl",
2316 "//third_party/kasko:kasko_features", 2301 "//third_party/kasko:kasko_features",
2317 ] 2302 ]
2318 } 2303 }
2319 } 2304 }
2320 2305
2321 if (!is_android && !is_ios && !is_chromecast) { 2306 if (!is_android && !is_ios && !is_chromecast) {
2322 test("performance_browser_tests") { 2307 test("performance_browser_tests") {
2323 sources = 2308 sources =
2324 rebase_path(chrome_tests_gypi_values.performance_browser_tests_sources, 2309 rebase_path(chrome_tests_gypi_values.performance_browser_tests_sources,
2325 ".", 2310 ".",
2326 "//chrome") 2311 "//chrome")
2327 2312
2328 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] 2313 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
2329 2314
2330 deps = [ 2315 deps = [
2331 ":test_support", 2316 ":test_support",
2332 ":test_support_ui", 2317 ":test_support_ui",
2333 "//base", 2318 "//base",
2334 "//base:i18n", 2319 "//base:i18n",
2335 "//base/test:test_support", 2320 "//base/test:test_support",
2336 "//chrome/browser", 2321 "//chrome/browser",
2337 "//chrome/renderer", 2322 "//chrome/renderer",
2338 "//components/about_handler", 2323 "//components/about_handler",
2339 "//components/autofill/content/renderer:test_support", 2324 "//components/autofill/content/renderer:test_support",
2340 "//content/test:browsertest_base", 2325 "//content/test:browsertest_base",
2341 "//media/cast:test_support", 2326 "//media/cast:test_support",
2342 "//testing/gmock", 2327 "//testing/gmock",
2343 "//testing/gtest", 2328 "//testing/gtest",
2344 "//testing/perf", 2329 "//testing/perf",
2345 "//third_party/cld_2:cld2_platform_impl",
2346 ] 2330 ]
2347 2331
2348 if (is_win) { 2332 if (is_win) {
2349 configs -= [ "//build/config/win:default_incremental_linking" ] 2333 configs -= [ "//build/config/win:default_incremental_linking" ]
2350 configs += 2334 configs +=
2351 [ "//build/config/win:default_large_module_incremental_linking" ] 2335 [ "//build/config/win:default_large_module_incremental_linking" ]
2352 } else { 2336 } else {
2353 sources -= [ 2337 sources -= [
2354 "../app/chrome_command_ids.h", 2338 "../app/chrome_command_ids.h",
2355 "../app/chrome_version.rc.version", 2339 "../app/chrome_version.rc.version",
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
2393 if (is_android) { 2377 if (is_android) {
2394 android_library("unit_tests_java") { 2378 android_library("unit_tests_java") {
2395 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap k/ChromeNativeTestApplication.java" ] 2379 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap k/ChromeNativeTestApplication.java" ]
2396 deps = [ 2380 deps = [
2397 "//base:base_java", 2381 "//base:base_java",
2398 "//chrome/android:chrome_java", 2382 "//chrome/android:chrome_java",
2399 "//content/public/android:content_java", 2383 "//content/public/android:content_java",
2400 ] 2384 ]
2401 } 2385 }
2402 } 2386 }
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/test/base/chrome_unit_test_suite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698