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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 "gcm_stats_recorder_android_unittest.cc", | 154 "gcm_stats_recorder_android_unittest.cc", |
155 "gcm_stats_recorder_impl_unittest.cc", | 155 "gcm_stats_recorder_impl_unittest.cc", |
156 ] | 156 ] |
157 | 157 |
158 deps = [ | 158 deps = [ |
159 ":gcm_driver", | 159 ":gcm_driver", |
160 ":test_support", | 160 ":test_support", |
161 "//base", | 161 "//base", |
162 "//base:prefs_test_support", | 162 "//base:prefs_test_support", |
163 "//base/test:test_support", | 163 "//base/test:test_support", |
| 164 "//components/signin/core/browser:test_support", |
164 "//google_apis:test_support", | 165 "//google_apis:test_support", |
165 "//google_apis/gcm:test_support", | 166 "//google_apis/gcm:test_support", |
166 "//net:test_support", | 167 "//net:test_support", |
167 "//sync/protocol", | 168 "//sync/protocol", |
168 "//testing/gtest", | 169 "//testing/gtest", |
169 "//third_party/protobuf:protobuf_lite", | 170 "//third_party/protobuf:protobuf_lite", |
170 ] | 171 ] |
171 | 172 |
| 173 if (is_chromeos) { |
| 174 deps += [ "//chromeos:chromeos" ] |
| 175 } |
| 176 |
172 if (is_android) { | 177 if (is_android) { |
173 sources -= [ | 178 sources -= [ |
174 "gcm_account_mapper_unittest.cc", | 179 "gcm_account_mapper_unittest.cc", |
175 "gcm_channel_status_request_unittest.cc", | 180 "gcm_channel_status_request_unittest.cc", |
176 "gcm_client_impl_unittest.cc", | 181 "gcm_client_impl_unittest.cc", |
177 "gcm_driver_desktop_unittest.cc", | 182 "gcm_driver_desktop_unittest.cc", |
| 183 "gcm_profile_service_unittest.cc", |
178 "gcm_stats_recorder_impl_unittest.cc", | 184 "gcm_stats_recorder_impl_unittest.cc", |
179 ] | 185 ] |
180 } | 186 } |
181 } | 187 } |
OLD | NEW |