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

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

Issue 1647453002: allocator cleanup: remove dependencies on allocator from all targets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pure rebase Created 4 years, 10 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/installer/setup/BUILD.gn ('k') | chrome/tools/service_discovery_sniffer/BUILD.gn » ('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 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
1308 ] 1306 ]
1309 } 1307 }
1310 1308
1311 # TODO(phajdan.jr): Only temporary, to make transition easier. 1309 # TODO(phajdan.jr): Only temporary, to make transition easier.
1312 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] 1310 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
1313 1311
1314 deps = [ 1312 deps = [
1315 ":sync_integration_test_support", 1313 ":sync_integration_test_support",
1316 ":test_support", 1314 ":test_support",
1317 ":test_support_ui", 1315 ":test_support_ui",
1318 "//base/allocator",
1319 "//chrome:packed_extra_resources", 1316 "//chrome:packed_extra_resources",
1320 "//chrome:packed_resources", 1317 "//chrome:packed_resources",
1321 "//chrome:resources", 1318 "//chrome:resources",
1322 "//chrome:strings", 1319 "//chrome:strings",
1323 "//chrome/common", 1320 "//chrome/common",
1324 "//chrome/renderer", 1321 "//chrome/renderer",
1325 "//crypto:platform", 1322 "//crypto:platform",
1326 "//sync", 1323 "//sync",
1327 "//testing/gmock", 1324 "//testing/gmock",
1328 "//testing/gtest", 1325 "//testing/gtest",
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
1392 sources = 1389 sources =
1393 rebase_path(chrome_tests_gypi_values.sync_performance_tests_sources, 1390 rebase_path(chrome_tests_gypi_values.sync_performance_tests_sources,
1394 ".", 1391 ".",
1395 "//chrome") 1392 "//chrome")
1396 1393
1397 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] 1394 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
1398 1395
1399 deps = [ 1396 deps = [
1400 ":sync_integration_test_support", 1397 ":sync_integration_test_support",
1401 ":test_support_ui", 1398 ":test_support_ui",
1402 "//base/allocator",
1403 "//crypto:platform", 1399 "//crypto:platform",
1404 "//sync", 1400 "//sync",
1405 "//testing/gmock", 1401 "//testing/gmock",
1406 "//testing/gtest", 1402 "//testing/gtest",
1407 ] 1403 ]
1408 1404
1409 if (cld_version == 2) { 1405 if (cld_version == 2) {
1410 # Language detection is irrelevant to sync, so it can depend on any 1406 # Language detection is irrelevant to sync, so it can depend on any
1411 # implementation for CLD2. Dynamic is smaller, so go with dynamic. 1407 # implementation for CLD2. Dynamic is smaller, so go with dynamic.
1412 deps += [ "//third_party/cld_2:cld2_dynamic" ] 1408 deps += [ "//third_party/cld_2:cld2_dynamic" ]
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
1555 "//crypto:test_support", 1551 "//crypto:test_support",
1556 "//net", 1552 "//net",
1557 "//net:test_support", 1553 "//net:test_support",
1558 "//sync:test_support_sync_api", 1554 "//sync:test_support_sync_api",
1559 "//sync:test_support_sync_core", 1555 "//sync:test_support_sync_core",
1560 "//sync:test_support_sync_internal_api", 1556 "//sync:test_support_sync_internal_api",
1561 "//testing/gmock", 1557 "//testing/gmock",
1562 "//testing/gtest", 1558 "//testing/gtest",
1563 1559
1564 # 3) anything tests directly depend on 1560 # 3) anything tests directly depend on
1565 "//base/allocator",
1566 "//chrome:resources", 1561 "//chrome:resources",
1567 "//chrome:strings", 1562 "//chrome:strings",
1568 "//components/safe_browsing_db:test_database_manager", 1563 "//components/safe_browsing_db:test_database_manager",
1569 "//components/version_info:generate_version_info", 1564 "//components/version_info:generate_version_info",
1570 "//courgette:courgette_lib", 1565 "//courgette:courgette_lib",
1571 "//google_apis", 1566 "//google_apis",
1572 "//skia", 1567 "//skia",
1573 "//third_party/cacheinvalidation", 1568 "//third_party/cacheinvalidation",
1574 "//third_party/icu", 1569 "//third_party/icu",
1575 "//third_party/libxml", 1570 "//third_party/libxml",
(...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after
2123 "../app/chrome_watcher_command_line_win_unittest.cc", 2118 "../app/chrome_watcher_command_line_win_unittest.cc",
2124 "../app/delay_load_hook_unittest_win.cc", 2119 "../app/delay_load_hook_unittest_win.cc",
2125 "../app/delay_load_hook_win.cc", 2120 "../app/delay_load_hook_win.cc",
2126 "../app/delay_load_hook_win.h", 2121 "../app/delay_load_hook_win.h",
2127 "../app/resources/resources_unittest.cc", 2122 "../app/resources/resources_unittest.cc",
2128 "../common/crash_keys.cc", 2123 "../common/crash_keys.cc",
2129 "../common/crash_keys.h", 2124 "../common/crash_keys.h",
2130 ] 2125 ]
2131 deps = [ 2126 deps = [
2132 ":test_support", 2127 ":test_support",
2133 "//base/allocator",
2134 "//base/test:run_all_unittests", 2128 "//base/test:run_all_unittests",
2135 "//base/test:test_support", 2129 "//base/test:test_support",
2136 "//breakpad:client", 2130 "//breakpad:client",
2137 "//chrome/browser", 2131 "//chrome/browser",
2138 "//chrome/child", 2132 "//chrome/child",
2139 "//components/crash/core/common", 2133 "//components/crash/core/common",
2140 "//components/flags_ui:switches", 2134 "//components/flags_ui:switches",
2141 "//third_party/kasko:kasko_features", 2135 "//third_party/kasko:kasko_features",
2142 ] 2136 ]
2143 if (cld_version == 2) { 2137 if (cld_version == 2) {
2144 # Use whatever CLD2 data access mode that the 2138 # Use whatever CLD2 data access mode that the
2145 # application embedder is using. 2139 # application embedder is using.
2146 deps += [ "//third_party/cld_2:cld2_platform_impl" ] 2140 deps += [ "//third_party/cld_2:cld2_platform_impl" ]
2147 } 2141 }
2148 } 2142 }
2149 2143
2150 test("performance_browser_tests") { 2144 test("performance_browser_tests") {
2151 sources = 2145 sources =
2152 rebase_path(chrome_tests_gypi_values.performance_browser_tests_sources, 2146 rebase_path(chrome_tests_gypi_values.performance_browser_tests_sources,
2153 ".", 2147 ".",
2154 "//chrome") 2148 "//chrome")
2155 2149
2156 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] 2150 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
2157 2151
2158 deps = [ 2152 deps = [
2159 ":test_support", 2153 ":test_support",
2160 ":test_support_ui", 2154 ":test_support_ui",
2161 "//base", 2155 "//base",
2162 "//base:i18n", 2156 "//base:i18n",
2163 "//base/allocator",
2164 "//base/test:test_support", 2157 "//base/test:test_support",
2165 "//chrome/browser", 2158 "//chrome/browser",
2166 "//chrome/renderer", 2159 "//chrome/renderer",
2167 "//components/about_handler", 2160 "//components/about_handler",
2168 "//components/autofill/content/browser/wallet:test_support", 2161 "//components/autofill/content/browser/wallet:test_support",
2169 "//components/autofill/content/renderer:test_support", 2162 "//components/autofill/content/renderer:test_support",
2170 "//media/cast:test_support", 2163 "//media/cast:test_support",
2171 "//testing/gmock", 2164 "//testing/gmock",
2172 "//testing/gtest", 2165 "//testing/gtest",
2173 "//testing/perf", 2166 "//testing/perf",
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
2228 if (is_android) { 2221 if (is_android) {
2229 android_library("unit_tests_java") { 2222 android_library("unit_tests_java") {
2230 DEPRECATED_java_in_dir = "//chrome/test/android/unit_tests_apk/src" 2223 DEPRECATED_java_in_dir = "//chrome/test/android/unit_tests_apk/src"
2231 deps = [ 2224 deps = [
2232 "//base:base_java", 2225 "//base:base_java",
2233 "//chrome/android:chrome_java", 2226 "//chrome/android:chrome_java",
2234 "//content/public/android:content_java", 2227 "//content/public/android:content_java",
2235 ] 2228 ]
2236 } 2229 }
2237 } 2230 }
OLDNEW
« no previous file with comments | « chrome/installer/setup/BUILD.gn ('k') | chrome/tools/service_discovery_sniffer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698