Index: components/gcm_driver/BUILD.gn |
diff --git a/components/gcm_driver/BUILD.gn b/components/gcm_driver/BUILD.gn |
index 111d97a534e0c481937538ca81320fbb56a6e155..b009eac44ee636fec6a9a15df990be3240312197 100644 |
--- a/components/gcm_driver/BUILD.gn |
+++ b/components/gcm_driver/BUILD.gn |
@@ -125,24 +125,28 @@ source_set("test_support") { |
} |
} |
-if (!is_android) { |
- source_set("unit_tests") { |
- testonly = true |
- sources = [ |
+source_set("unit_tests") { |
+ testonly = true |
+ |
+ sources = [ |
+ "gcm_account_tracker_unittest.cc", |
+ ] |
+ |
+ deps = [ |
+ ":gcm_driver", |
+ ":test_support", |
+ "//testing/gtest", |
+ "//third_party/protobuf:protobuf_lite", |
+ ] |
+ |
+ if (!is_android) { |
+ sources += [ |
"gcm_account_mapper_unittest.cc", |
- "gcm_account_tracker_unittest.cc", |
"gcm_channel_status_request_unittest.cc", |
"gcm_client_impl_unittest.cc", |
"gcm_delayed_task_controller_unittest.cc", |
"gcm_driver_desktop_unittest.cc", |
"gcm_stats_recorder_impl_unittest.cc", |
] |
- |
- deps = [ |
- ":gcm_driver", |
- ":test_support", |
- "//testing/gtest", |
- "//third_party/protobuf:protobuf_lite", |
- ] |
} |
} |