Index: components/BUILD.gn |
diff --git a/components/BUILD.gn b/components/BUILD.gn |
index 15071c3f5d0118b93189ff4a4ffb56f5c6e48f18..3500a8762e59d07998dc9dd56500ea8ee9a286d8 100644 |
--- a/components/BUILD.gn |
+++ b/components/BUILD.gn |
@@ -37,6 +37,8 @@ if (is_ios) { |
# test target if convenient. |
test("components_unittests") { |
sources = [ |
+ "test/components_test_suite.cc", |
+ "test/components_test_suite.h", |
Peter Kasting
2016/10/18 17:31:12
You still list these sources here and below, thoug
|
"test/run_all_unittests.cc", |
] |
@@ -133,6 +135,7 @@ test("components_unittests") { |
"//components/sync_bookmarks:unit_tests", |
"//components/sync_sessions:unit_tests", |
"//components/syncable_prefs:unit_tests", |
+ "//components/test:test_support", |
"//components/translate/core/browser:unit_tests", |
"//components/translate/core/common:unit_tests", |
"//components/translate/core/language_detection:unit_tests", |
@@ -146,14 +149,6 @@ test("components_unittests") { |
"//components/variations/service:unit_tests", |
"//components/web_resource:unit_tests", |
"//components/webdata/common:unit_tests", |
- |
- # Direct dependencies of components/test/run_all_unittests.cc. |
- "//components/content_settings/core/common", |
- "//mojo/edk/system", |
- "//net", |
- "//testing/gtest", |
- "//ui/base", |
- "//ui/resources:ui_test_pak", |
] |
if (enable_nacl) { |
@@ -475,6 +470,9 @@ if (!is_ios) { |
test("components_perftests") { |
sources = [ |
+ "test/components_test_suite.cc", |
+ "test/components_test_suite.h", |
+ "test/run_all_perftests.cc", |
"visitedlink/test/visitedlink_perftest.cc", |
] |
@@ -483,11 +481,9 @@ if (!is_ios) { |
deps = [ |
"//base", |
- "//base/test:test_support", |
+ "//components/test:test_support", |
"//components/visitedlink/browser", |
"//content/test:test_support", |
- "//mojo/edk/test:run_all_perftests", |
- "//testing/gtest", |
"//testing/perf", |
"//url", |
] |