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 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 if (is_linux) { | 329 if (is_linux) { |
330 data += [ "$root_out_dir/libppapi_tests.so" ] | 330 data += [ "$root_out_dir/libppapi_tests.so" ] |
331 } | 331 } |
332 | 332 |
333 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 333 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
334 ldflags = [] | 334 ldflags = [] |
335 | 335 |
336 deps = [ | 336 deps = [ |
337 ":test_support", | 337 ":test_support", |
338 ":test_support_ui", | 338 ":test_support_ui", |
339 "//base/allocator", | |
340 "//chrome:packed_extra_resources", | 339 "//chrome:packed_extra_resources", |
341 "//chrome:packed_resources", | 340 "//chrome:packed_resources", |
342 "//chrome:resources", | 341 "//chrome:resources", |
343 "//chrome:strings", | 342 "//chrome:strings", |
344 "//chrome/browser", | 343 "//chrome/browser", |
345 "//chrome/browser/devtools", | 344 "//chrome/browser/devtools", |
346 "//chrome/renderer", | 345 "//chrome/renderer", |
347 "//components/resources", | 346 "//components/resources", |
348 "//content/app/resources", | 347 "//content/app/resources", |
349 "//crypto:platform", | 348 "//crypto:platform", |
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
842 "$root_out_dir/test_url_loader_data/", | 841 "$root_out_dir/test_url_loader_data/", |
843 ] | 842 ] |
844 | 843 |
845 deps = [ | 844 deps = [ |
846 ":browser_tests_js_webui", | 845 ":browser_tests_js_webui", |
847 ":sync_integration_test_support", | 846 ":sync_integration_test_support", |
848 ":test_support", | 847 ":test_support", |
849 ":test_support_ui", | 848 ":test_support_ui", |
850 "//base", | 849 "//base", |
851 "//base:i18n", | 850 "//base:i18n", |
852 "//base/allocator", | |
853 "//base/test:test_support", | 851 "//base/test:test_support", |
854 "//chrome:browser_tests_pak", | 852 "//chrome:browser_tests_pak", |
855 "//chrome:packed_extra_resources", | 853 "//chrome:packed_extra_resources", |
856 "//chrome:packed_resources", | 854 "//chrome:packed_resources", |
857 "//chrome:resources", | 855 "//chrome:resources", |
858 "//chrome:strings", | 856 "//chrome:strings", |
859 "//chrome/browser", | 857 "//chrome/browser", |
860 "//chrome/browser/resources:extension_resource_demo", | 858 "//chrome/browser/resources:extension_resource_demo", |
861 "//chrome/common/extensions/api", | 859 "//chrome/common/extensions/api", |
862 "//chrome/renderer", | 860 "//chrome/renderer", |
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1305 ] | 1303 ] |
1306 } | 1304 } |
1307 | 1305 |
1308 # TODO(phajdan.jr): Only temporary, to make transition easier. | 1306 # TODO(phajdan.jr): Only temporary, to make transition easier. |
1309 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 1307 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
1310 | 1308 |
1311 deps = [ | 1309 deps = [ |
1312 ":sync_integration_test_support", | 1310 ":sync_integration_test_support", |
1313 ":test_support", | 1311 ":test_support", |
1314 ":test_support_ui", | 1312 ":test_support_ui", |
1315 "//base/allocator", | |
1316 "//chrome:packed_extra_resources", | 1313 "//chrome:packed_extra_resources", |
1317 "//chrome:packed_resources", | 1314 "//chrome:packed_resources", |
1318 "//chrome:resources", | 1315 "//chrome:resources", |
1319 "//chrome:strings", | 1316 "//chrome:strings", |
1320 "//chrome/common", | 1317 "//chrome/common", |
1321 "//chrome/renderer", | 1318 "//chrome/renderer", |
1322 "//crypto:platform", | 1319 "//crypto:platform", |
1323 "//sync", | 1320 "//sync", |
1324 "//testing/gmock", | 1321 "//testing/gmock", |
1325 "//testing/gtest", | 1322 "//testing/gtest", |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1389 sources = | 1386 sources = |
1390 rebase_path(chrome_tests_gypi_values.sync_performance_tests_sources, | 1387 rebase_path(chrome_tests_gypi_values.sync_performance_tests_sources, |
1391 ".", | 1388 ".", |
1392 "//chrome") | 1389 "//chrome") |
1393 | 1390 |
1394 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 1391 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
1395 | 1392 |
1396 deps = [ | 1393 deps = [ |
1397 ":sync_integration_test_support", | 1394 ":sync_integration_test_support", |
1398 ":test_support_ui", | 1395 ":test_support_ui", |
1399 "//base/allocator", | |
1400 "//crypto:platform", | 1396 "//crypto:platform", |
1401 "//sync", | 1397 "//sync", |
1402 "//testing/gmock", | 1398 "//testing/gmock", |
1403 "//testing/gtest", | 1399 "//testing/gtest", |
1404 ] | 1400 ] |
1405 | 1401 |
1406 if (cld_version == 2) { | 1402 if (cld_version == 2) { |
1407 # Language detection is irrelevant to sync, so it can depend on any | 1403 # Language detection is irrelevant to sync, so it can depend on any |
1408 # implementation for CLD2. Dynamic is smaller, so go with dynamic. | 1404 # implementation for CLD2. Dynamic is smaller, so go with dynamic. |
1409 deps += [ "//third_party/cld_2:cld2_dynamic" ] | 1405 deps += [ "//third_party/cld_2:cld2_dynamic" ] |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1552 "//crypto:test_support", | 1548 "//crypto:test_support", |
1553 "//net", | 1549 "//net", |
1554 "//net:test_support", | 1550 "//net:test_support", |
1555 "//sync:test_support_sync_api", | 1551 "//sync:test_support_sync_api", |
1556 "//sync:test_support_sync_core", | 1552 "//sync:test_support_sync_core", |
1557 "//sync:test_support_sync_internal_api", | 1553 "//sync:test_support_sync_internal_api", |
1558 "//testing/gmock", | 1554 "//testing/gmock", |
1559 "//testing/gtest", | 1555 "//testing/gtest", |
1560 | 1556 |
1561 # 3) anything tests directly depend on | 1557 # 3) anything tests directly depend on |
1562 "//base/allocator", | |
1563 "//chrome:resources", | 1558 "//chrome:resources", |
1564 "//chrome:strings", | 1559 "//chrome:strings", |
1565 "//components/safe_browsing_db:test_database_manager", | 1560 "//components/safe_browsing_db:test_database_manager", |
1566 "//components/version_info:generate_version_info", | 1561 "//components/version_info:generate_version_info", |
1567 "//courgette:courgette_lib", | 1562 "//courgette:courgette_lib", |
1568 "//google_apis", | 1563 "//google_apis", |
1569 "//skia", | 1564 "//skia", |
1570 "//third_party/cacheinvalidation", | 1565 "//third_party/cacheinvalidation", |
1571 "//third_party/icu", | 1566 "//third_party/icu", |
1572 "//third_party/libxml", | 1567 "//third_party/libxml", |
(...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2120 "../app/chrome_watcher_command_line_win_unittest.cc", | 2115 "../app/chrome_watcher_command_line_win_unittest.cc", |
2121 "../app/delay_load_hook_unittest_win.cc", | 2116 "../app/delay_load_hook_unittest_win.cc", |
2122 "../app/delay_load_hook_win.cc", | 2117 "../app/delay_load_hook_win.cc", |
2123 "../app/delay_load_hook_win.h", | 2118 "../app/delay_load_hook_win.h", |
2124 "../app/resources/resources_unittest.cc", | 2119 "../app/resources/resources_unittest.cc", |
2125 "../common/crash_keys.cc", | 2120 "../common/crash_keys.cc", |
2126 "../common/crash_keys.h", | 2121 "../common/crash_keys.h", |
2127 ] | 2122 ] |
2128 deps = [ | 2123 deps = [ |
2129 ":test_support", | 2124 ":test_support", |
2130 "//base/allocator", | |
2131 "//base/test:run_all_unittests", | 2125 "//base/test:run_all_unittests", |
2132 "//base/test:test_support", | 2126 "//base/test:test_support", |
2133 "//breakpad:client", | 2127 "//breakpad:client", |
2134 "//chrome/browser", | 2128 "//chrome/browser", |
2135 "//chrome/child", | 2129 "//chrome/child", |
2136 "//components/crash/core/common", | 2130 "//components/crash/core/common", |
2137 "//components/flags_ui:switches", | 2131 "//components/flags_ui:switches", |
2138 "//third_party/kasko:kasko_features", | 2132 "//third_party/kasko:kasko_features", |
2139 ] | 2133 ] |
2140 if (cld_version == 2) { | 2134 if (cld_version == 2) { |
2141 # Use whatever CLD2 data access mode that the | 2135 # Use whatever CLD2 data access mode that the |
2142 # application embedder is using. | 2136 # application embedder is using. |
2143 deps += [ "//third_party/cld_2:cld2_platform_impl" ] | 2137 deps += [ "//third_party/cld_2:cld2_platform_impl" ] |
2144 } | 2138 } |
2145 } | 2139 } |
2146 | 2140 |
2147 test("performance_browser_tests") { | 2141 test("performance_browser_tests") { |
2148 sources = | 2142 sources = |
2149 rebase_path(chrome_tests_gypi_values.performance_browser_tests_sources, | 2143 rebase_path(chrome_tests_gypi_values.performance_browser_tests_sources, |
2150 ".", | 2144 ".", |
2151 "//chrome") | 2145 "//chrome") |
2152 | 2146 |
2153 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] | 2147 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
2154 | 2148 |
2155 deps = [ | 2149 deps = [ |
2156 ":test_support", | 2150 ":test_support", |
2157 ":test_support_ui", | 2151 ":test_support_ui", |
2158 "//base", | 2152 "//base", |
2159 "//base:i18n", | 2153 "//base:i18n", |
2160 "//base/allocator", | |
2161 "//base/test:test_support", | 2154 "//base/test:test_support", |
2162 "//chrome/browser", | 2155 "//chrome/browser", |
2163 "//chrome/renderer", | 2156 "//chrome/renderer", |
2164 "//components/about_handler", | 2157 "//components/about_handler", |
2165 "//components/autofill/content/browser/wallet:test_support", | 2158 "//components/autofill/content/browser/wallet:test_support", |
2166 "//components/autofill/content/renderer:test_support", | 2159 "//components/autofill/content/renderer:test_support", |
2167 "//media/cast:test_support", | 2160 "//media/cast:test_support", |
2168 "//testing/gmock", | 2161 "//testing/gmock", |
2169 "//testing/gtest", | 2162 "//testing/gtest", |
2170 "//testing/perf", | 2163 "//testing/perf", |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2225 if (is_android) { | 2218 if (is_android) { |
2226 android_library("unit_tests_java") { | 2219 android_library("unit_tests_java") { |
2227 DEPRECATED_java_in_dir = "//chrome/test/android/unit_tests_apk/src" | 2220 DEPRECATED_java_in_dir = "//chrome/test/android/unit_tests_apk/src" |
2228 deps = [ | 2221 deps = [ |
2229 "//base:base_java", | 2222 "//base:base_java", |
2230 "//chrome/android:chrome_java", | 2223 "//chrome/android:chrome_java", |
2231 "//content/public/android:content_java", | 2224 "//content/public/android:content_java", |
2232 ] | 2225 ] |
2233 } | 2226 } |
2234 } | 2227 } |
OLD | NEW |