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

Unified Diff: components/gcm_driver/BUILD.gn

Issue 1515153003: Enable chrome://gcm-internals on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
Index: components/gcm_driver/BUILD.gn
diff --git a/components/gcm_driver/BUILD.gn b/components/gcm_driver/BUILD.gn
index b8edf26c5d7d0ac398844211a68679c95085da0a..616b425c35ab6b7c14bd102321ba3fd8ea1f1032 100644
--- a/components/gcm_driver/BUILD.gn
+++ b/components/gcm_driver/BUILD.gn
@@ -49,6 +49,8 @@ static_library("gcm_driver") {
"gcm_internals_helper.h",
"gcm_profile_service.cc",
"gcm_profile_service.h",
+ "gcm_stats_recorder_android.cc",
+ "gcm_stats_recorder_android.h",
"gcm_stats_recorder_impl.cc",
"gcm_stats_recorder_impl.h",
"registration_info.cc",
@@ -144,6 +146,7 @@ source_set("unit_tests") {
sources = [
"gcm_account_tracker_unittest.cc",
+ "gcm_delayed_task_controller_unittest.cc",
]
deps = [
@@ -165,9 +168,10 @@ source_set("unit_tests") {
"gcm_account_mapper_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",
]
+ } else {
+ sources += [ "gcm_stats_recorder_android_unittest.cc" ]
Nicolas Zea 2015/12/16 22:24:31 nit: prefer not having a negative condition or add
Peter Beverloo 2015/12/17 17:08:24 This was done as part of https://codereview.chromi
}
}

Powered by Google App Engine
This is Rietveld 408576698