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

Unified Diff: components/sync/BUILD.gn

Issue 2205393002: [Sync] Merge sync_unit_tests into components_unit_tests, take 3. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/components_tests.gyp ('k') | components/sync/sync_tests.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/BUILD.gn
diff --git a/components/sync/BUILD.gn b/components/sync/BUILD.gn
index 0ed965235bc233e05fcaef9e71006a76c0ef03b0..0cc8cce68c15a354f0bf7aad8e36697c4c2be8b7 100644
--- a/components/sync/BUILD.gn
+++ b/components/sync/BUILD.gn
@@ -609,8 +609,22 @@ static_library("test_support_sync_api") {
]
}
-# GYP version: sync/sync_tests.gypi:sync_unit_tests
+# TODO(maxbogue): Remove this dummy target once bots are updated.
test("sync_unit_tests") {
+ testonly = true
+ sources = [
+ "base/immutable_unittest.cc",
+ ]
+ deps = [
+ ":sync",
+ "//base",
+ "//base/test:run_all_unittests",
+ "//testing/gtest",
+ ]
+}
+
+source_set("unit_tests") {
+ testonly = true
sources = [
"api/attachments/attachment_id_unittest.cc",
"api/attachments/attachment_metadata_unittest.cc",
@@ -712,7 +726,6 @@ test("sync_unit_tests") {
":test_support_sync_core",
":test_support_sync_core_impl",
"//base",
- "//base/test:run_all_unittests",
"//components/sync",
"//components/sync/protocol",
"//google_apis",
« no previous file with comments | « components/components_tests.gyp ('k') | components/sync/sync_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698