OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # GYP version: components/gcm_driver.gypi:gcm_driver | 5 # GYP version: components/gcm_driver.gypi:gcm_driver |
6 static_library("gcm_driver") { | 6 static_library("gcm_driver") { |
7 sources = [ | 7 sources = [ |
8 "android/component_jni_registrar.cc", | 8 "android/component_jni_registrar.cc", |
9 "android/component_jni_registrar.h", | 9 "android/component_jni_registrar.h", |
10 "default_gcm_app_handler.cc", | 10 "default_gcm_app_handler.cc", |
11 "default_gcm_app_handler.h", | 11 "default_gcm_app_handler.h", |
12 "gcm_account_mapper.cc", | 12 "gcm_account_mapper.cc", |
13 "gcm_account_mapper.h", | 13 "gcm_account_mapper.h", |
| 14 "gcm_account_tracker.cc", |
| 15 "gcm_account_tracker.h", |
14 "gcm_activity.cc", | 16 "gcm_activity.cc", |
15 "gcm_activity.h", | 17 "gcm_activity.h", |
16 "gcm_app_handler.cc", | 18 "gcm_app_handler.cc", |
17 "gcm_app_handler.h", | 19 "gcm_app_handler.h", |
18 "gcm_backoff_policy.cc", | 20 "gcm_backoff_policy.cc", |
19 "gcm_backoff_policy.h", | 21 "gcm_backoff_policy.h", |
20 "gcm_channel_status_request.cc", | 22 "gcm_channel_status_request.cc", |
21 "gcm_channel_status_request.h", | 23 "gcm_channel_status_request.h", |
22 "gcm_channel_status_syncer.cc", | 24 "gcm_channel_status_syncer.cc", |
23 "gcm_channel_status_syncer.h", | 25 "gcm_channel_status_syncer.h", |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 ] | 113 ] |
112 deps -= [ "//google_apis/gcm:test_support" ] | 114 deps -= [ "//google_apis/gcm:test_support" ] |
113 } | 115 } |
114 } | 116 } |
115 | 117 |
116 if (!is_android) { | 118 if (!is_android) { |
117 source_set("unit_tests") { | 119 source_set("unit_tests") { |
118 testonly = true | 120 testonly = true |
119 sources = [ | 121 sources = [ |
120 "gcm_account_mapper_unittest.cc", | 122 "gcm_account_mapper_unittest.cc", |
| 123 "gcm_account_tracker_unittest.cc", |
121 "gcm_channel_status_request_unittest.cc", | 124 "gcm_channel_status_request_unittest.cc", |
122 "gcm_client_impl_unittest.cc", | 125 "gcm_client_impl_unittest.cc", |
123 "gcm_delayed_task_controller_unittest.cc", | 126 "gcm_delayed_task_controller_unittest.cc", |
124 "gcm_driver_desktop_unittest.cc", | 127 "gcm_driver_desktop_unittest.cc", |
125 "gcm_stats_recorder_impl_unittest.cc", | 128 "gcm_stats_recorder_impl_unittest.cc", |
126 ] | 129 ] |
127 | 130 |
128 deps = [ | 131 deps = [ |
129 ":gcm_driver", | 132 ":gcm_driver", |
130 ":test_support", | 133 ":test_support", |
131 "//testing/gtest", | 134 "//testing/gtest", |
132 "//third_party/protobuf:protobuf_lite", | 135 "//third_party/protobuf:protobuf_lite", |
133 ] | 136 ] |
134 } | 137 } |
135 } | 138 } |
OLD | NEW |