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

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
« no previous file with comments | « components/gcm_driver.gypi ('k') | components/gcm_driver/fake_gcm_driver.h » ('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 b8edf26c5d7d0ac398844211a68679c95085da0a..d02948b7daf391ef10e5dd09a2b7bd56265b9569 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",
@@ -143,7 +145,14 @@ source_set("unit_tests") {
testonly = true
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_android_unittest.cc",
+ "gcm_stats_recorder_impl_unittest.cc",
]
deps = [
@@ -160,12 +169,11 @@ source_set("unit_tests") {
"//third_party/protobuf:protobuf_lite",
]
- if (!is_android) {
- sources += [
+ if (is_android) {
+ sources -= [
"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",
]
« no previous file with comments | « components/gcm_driver.gypi ('k') | components/gcm_driver/fake_gcm_driver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698