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", |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
111 testonly = true | 111 testonly = true |
112 sources = [ | 112 sources = [ |
113 "fake_gcm_app_handler.cc", | 113 "fake_gcm_app_handler.cc", |
114 "fake_gcm_app_handler.h", | 114 "fake_gcm_app_handler.h", |
115 "fake_gcm_client.cc", | 115 "fake_gcm_client.cc", |
116 "fake_gcm_client.h", | 116 "fake_gcm_client.h", |
117 "fake_gcm_client_factory.cc", | 117 "fake_gcm_client_factory.cc", |
118 "fake_gcm_client_factory.h", | 118 "fake_gcm_client_factory.h", |
119 "fake_gcm_driver.cc", | 119 "fake_gcm_driver.cc", |
120 "fake_gcm_driver.h", | 120 "fake_gcm_driver.h", |
121 "fake_gcm_profile_service.cc", | |
122 "fake_gcm_profile_service.h", | |
121 ] | 123 ] |
122 | 124 |
123 public_deps = [ | 125 public_deps = [ |
124 ":gcm_driver", | 126 ":gcm_driver", |
125 ] | 127 ] |
126 deps = [ | 128 deps = [ |
127 "//base", | 129 "//base", |
128 "//google_apis/gcm:test_support", | 130 "//google_apis/gcm:test_support", |
129 "//net", | 131 "//net", |
130 "//testing/gtest", | 132 "//testing/gtest", |
(...skipping 13 matching lines...) Expand all Loading... | |
144 source_set("unit_tests") { | 146 source_set("unit_tests") { |
145 testonly = true | 147 testonly = true |
146 | 148 |
147 sources = [ | 149 sources = [ |
148 "gcm_account_mapper_unittest.cc", | 150 "gcm_account_mapper_unittest.cc", |
149 "gcm_account_tracker_unittest.cc", | 151 "gcm_account_tracker_unittest.cc", |
150 "gcm_channel_status_request_unittest.cc", | 152 "gcm_channel_status_request_unittest.cc", |
151 "gcm_client_impl_unittest.cc", | 153 "gcm_client_impl_unittest.cc", |
152 "gcm_delayed_task_controller_unittest.cc", | 154 "gcm_delayed_task_controller_unittest.cc", |
153 "gcm_driver_desktop_unittest.cc", | 155 "gcm_driver_desktop_unittest.cc", |
156 "gcm_profile_service_unittest.cc", | |
Peter Beverloo
2016/07/07 17:07:36
This file isn't being moved.
| |
154 "gcm_stats_recorder_android_unittest.cc", | 157 "gcm_stats_recorder_android_unittest.cc", |
155 "gcm_stats_recorder_impl_unittest.cc", | 158 "gcm_stats_recorder_impl_unittest.cc", |
156 ] | 159 ] |
157 | 160 |
158 deps = [ | 161 deps = [ |
159 ":gcm_driver", | 162 ":gcm_driver", |
160 ":test_support", | 163 ":test_support", |
161 "//base", | 164 "//base", |
162 "//base/test:test_support", | 165 "//base/test:test_support", |
163 "//components/gcm_driver/crypto", | 166 "//components/gcm_driver/crypto", |
164 "//components/prefs:test_support", | 167 "//components/prefs:test_support", |
165 "//google_apis:test_support", | 168 "//google_apis:test_support", |
166 "//google_apis/gcm:test_support", | 169 "//google_apis/gcm:test_support", |
167 "//net:test_support", | 170 "//net:test_support", |
168 "//sync/protocol", | 171 "//sync/protocol", |
169 "//testing/gtest", | 172 "//testing/gtest", |
170 "//third_party/protobuf:protobuf_lite", | 173 "//third_party/protobuf:protobuf_lite", |
171 ] | 174 ] |
172 | 175 |
173 if (is_android) { | 176 if (is_android) { |
174 sources -= [ | 177 sources -= [ |
175 "gcm_account_mapper_unittest.cc", | 178 "gcm_account_mapper_unittest.cc", |
176 "gcm_channel_status_request_unittest.cc", | 179 "gcm_channel_status_request_unittest.cc", |
177 "gcm_client_impl_unittest.cc", | 180 "gcm_client_impl_unittest.cc", |
178 "gcm_driver_desktop_unittest.cc", | 181 "gcm_driver_desktop_unittest.cc", |
179 "gcm_stats_recorder_impl_unittest.cc", | 182 "gcm_stats_recorder_impl_unittest.cc", |
180 ] | 183 ] |
181 } | 184 } |
182 } | 185 } |
OLD | NEW |