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 1392 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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1951 sources += | 1954 sources += |
1952 [ "../browser/password_manager/native_backend_gnome_x_unittest.cc" ] | 1955 [ "../browser/password_manager/native_backend_gnome_x_unittest.cc" ] |
1953 configs += [ | 1956 configs += [ |
1954 "//chrome/browser:gnome_keyring", | 1957 "//chrome/browser:gnome_keyring", |
1955 "//chrome/browser:gnome_keyring_direct", | 1958 "//chrome/browser:gnome_keyring_direct", |
1956 ] | 1959 ] |
1957 } | 1960 } |
1958 if (is_linux && !is_chromeos) { | 1961 if (is_linux && !is_chromeos) { |
1959 sources += | 1962 sources += |
1960 [ "../browser/password_manager/native_backend_libsecret_unittest.cc" ] | 1963 [ "../browser/password_manager/native_backend_libsecret_unittest.cc" ] |
| 1964 deps += [ "//third_party/libsecret" ] |
1961 } | 1965 } |
1962 if (is_linux && use_aura) { | 1966 if (is_linux && use_aura) { |
1963 deps += [ | 1967 deps += [ |
1964 "//dbus", | 1968 "//dbus", |
1965 "//dbus:test_support", | 1969 "//dbus:test_support", |
1966 "//ui/aura:test_support", | 1970 "//ui/aura:test_support", |
1967 ] | 1971 ] |
1968 } | 1972 } |
1969 if (is_linux && is_chrome_branded && current_cpu == "x86") { | 1973 if (is_linux && is_chrome_branded && current_cpu == "x86") { |
1970 ldflags = [ "-Wl,--strip-debug" ] | 1974 ldflags = [ "-Wl,--strip-debug" ] |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2205 "//chrome/browser", | 2209 "//chrome/browser", |
2206 "//chrome/renderer", | 2210 "//chrome/renderer", |
2207 "//components/about_handler", | 2211 "//components/about_handler", |
2208 "//components/autofill/content/browser/wallet:test_support", | 2212 "//components/autofill/content/browser/wallet:test_support", |
2209 "//components/autofill/content/renderer:test_support", | 2213 "//components/autofill/content/renderer:test_support", |
2210 "//content/test:browsertest_base", | 2214 "//content/test:browsertest_base", |
2211 "//media/cast:test_support", | 2215 "//media/cast:test_support", |
2212 "//testing/gmock", | 2216 "//testing/gmock", |
2213 "//testing/gtest", | 2217 "//testing/gtest", |
2214 "//testing/perf", | 2218 "//testing/perf", |
2215 "//third_party/cld_2:cld2_platform_impl" | 2219 "//third_party/cld_2:cld2_platform_impl", |
2216 ] | 2220 ] |
2217 | 2221 |
2218 if (is_win) { | 2222 if (is_win) { |
2219 configs -= [ "//build/config/win:default_incremental_linking" ] | 2223 configs -= [ "//build/config/win:default_incremental_linking" ] |
2220 configs += | 2224 configs += |
2221 [ "//build/config/win:default_large_module_incremental_linking" ] | 2225 [ "//build/config/win:default_large_module_incremental_linking" ] |
2222 } else { | 2226 } else { |
2223 sources -= [ | 2227 sources -= [ |
2224 "../app/chrome_command_ids.h", | 2228 "../app/chrome_command_ids.h", |
2225 | 2229 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2263 if (is_android) { | 2267 if (is_android) { |
2264 android_library("unit_tests_java") { | 2268 android_library("unit_tests_java") { |
2265 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap
k/ChromeNativeTestApplication.java" ] | 2269 java_files = [ "android/unit_tests_apk/src/org/chromium/chrome/unit_tests_ap
k/ChromeNativeTestApplication.java" ] |
2266 deps = [ | 2270 deps = [ |
2267 "//base:base_java", | 2271 "//base:base_java", |
2268 "//chrome/android:chrome_java", | 2272 "//chrome/android:chrome_java", |
2269 "//content/public/android:content_java", | 2273 "//content/public/android:content_java", |
2270 ] | 2274 ] |
2271 } | 2275 } |
2272 } | 2276 } |
OLD | NEW |