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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 | 61 |
62 deps = [ | 62 deps = [ |
63 "//base", | 63 "//base", |
64 "//components/gcm_driver/common", | 64 "//components/gcm_driver/common", |
65 "//components/gcm_driver/crypto", | 65 "//components/gcm_driver/crypto", |
66 "//components/keyed_service/core", | 66 "//components/keyed_service/core", |
67 "//components/os_crypt", | 67 "//components/os_crypt", |
68 "//components/pref_registry", | 68 "//components/pref_registry", |
69 "//components/prefs", | 69 "//components/prefs", |
70 "//components/signin/core/browser", | 70 "//components/signin/core/browser", |
| 71 "//components/sync/protocol", |
71 "//components/sync_driver", | 72 "//components/sync_driver", |
72 "//components/version_info", | 73 "//components/version_info", |
73 "//google_apis", | 74 "//google_apis", |
74 "//google_apis/gcm", | 75 "//google_apis/gcm", |
75 "//net", | 76 "//net", |
76 "//sync/protocol", | |
77 "//url:url", | 77 "//url:url", |
78 ] | 78 ] |
79 allow_circular_includes_from = [ "//components/gcm_driver/crypto" ] | 79 allow_circular_includes_from = [ "//components/gcm_driver/crypto" ] |
80 | 80 |
81 if (is_chromeos) { | 81 if (is_chromeos) { |
82 deps += [ "//components/timers" ] | 82 deps += [ "//components/timers" ] |
83 } | 83 } |
84 | 84 |
85 if (is_android) { | 85 if (is_android) { |
86 sources -= [ | 86 sources -= [ |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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/test:test_support", | 162 "//base/test:test_support", |
163 "//components/gcm_driver/crypto", | 163 "//components/gcm_driver/crypto", |
164 "//components/prefs:test_support", | 164 "//components/prefs:test_support", |
| 165 "//components/sync/protocol", |
165 "//google_apis:test_support", | 166 "//google_apis:test_support", |
166 "//google_apis/gcm:test_support", | 167 "//google_apis/gcm:test_support", |
167 "//net:test_support", | 168 "//net:test_support", |
168 "//sync/protocol", | |
169 "//testing/gtest", | 169 "//testing/gtest", |
170 "//third_party/protobuf:protobuf_lite", | 170 "//third_party/protobuf:protobuf_lite", |
171 ] | 171 ] |
172 | 172 |
173 if (is_android) { | 173 if (is_android) { |
174 sources -= [ | 174 sources -= [ |
175 "gcm_account_mapper_unittest.cc", | 175 "gcm_account_mapper_unittest.cc", |
176 "gcm_channel_status_request_unittest.cc", | 176 "gcm_channel_status_request_unittest.cc", |
177 "gcm_client_impl_unittest.cc", | 177 "gcm_client_impl_unittest.cc", |
178 "gcm_driver_desktop_unittest.cc", | 178 "gcm_driver_desktop_unittest.cc", |
179 "gcm_stats_recorder_impl_unittest.cc", | 179 "gcm_stats_recorder_impl_unittest.cc", |
180 ] | 180 ] |
181 } | 181 } |
182 } | 182 } |
OLD | NEW |