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

Unified Diff: components/gcm_driver/BUILD.gn

Issue 1418543006: Make component_unittests run the same tests on GYP and GN on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/data_use_measurement/content/BUILD.gn ('k') | components/metrics/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
- ]
}
}
« no previous file with comments | « components/data_use_measurement/content/BUILD.gn ('k') | components/metrics/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698