| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 "gcm_driver_constants.cc", | 42 "gcm_driver_constants.cc", |
| 43 "gcm_driver_constants.h", | 43 "gcm_driver_constants.h", |
| 44 "gcm_driver_desktop.cc", | 44 "gcm_driver_desktop.cc", |
| 45 "gcm_driver_desktop.h", | 45 "gcm_driver_desktop.h", |
| 46 "gcm_internals_constants.cc", | 46 "gcm_internals_constants.cc", |
| 47 "gcm_internals_constants.h", | 47 "gcm_internals_constants.h", |
| 48 "gcm_internals_helper.cc", | 48 "gcm_internals_helper.cc", |
| 49 "gcm_internals_helper.h", | 49 "gcm_internals_helper.h", |
| 50 "gcm_profile_service.cc", | 50 "gcm_profile_service.cc", |
| 51 "gcm_profile_service.h", | 51 "gcm_profile_service.h", |
| 52 "gcm_stats_recorder_android.cc", |
| 53 "gcm_stats_recorder_android.h", |
| 52 "gcm_stats_recorder_impl.cc", | 54 "gcm_stats_recorder_impl.cc", |
| 53 "gcm_stats_recorder_impl.h", | 55 "gcm_stats_recorder_impl.h", |
| 54 "registration_info.cc", | 56 "registration_info.cc", |
| 55 "registration_info.h", | 57 "registration_info.h", |
| 56 "system_encryptor.cc", | 58 "system_encryptor.cc", |
| 57 "system_encryptor.h", | 59 "system_encryptor.h", |
| 58 ] | 60 ] |
| 59 | 61 |
| 60 deps = [ | 62 deps = [ |
| 61 "//base", | 63 "//base", |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 "fake_gcm_client_factory.h", | 138 "fake_gcm_client_factory.h", |
| 137 ] | 139 ] |
| 138 deps -= [ "//google_apis/gcm:test_support" ] | 140 deps -= [ "//google_apis/gcm:test_support" ] |
| 139 } | 141 } |
| 140 } | 142 } |
| 141 | 143 |
| 142 source_set("unit_tests") { | 144 source_set("unit_tests") { |
| 143 testonly = true | 145 testonly = true |
| 144 | 146 |
| 145 sources = [ | 147 sources = [ |
| 148 "gcm_account_mapper_unittest.cc", |
| 146 "gcm_account_tracker_unittest.cc", | 149 "gcm_account_tracker_unittest.cc", |
| 150 "gcm_channel_status_request_unittest.cc", |
| 151 "gcm_client_impl_unittest.cc", |
| 152 "gcm_delayed_task_controller_unittest.cc", |
| 153 "gcm_driver_desktop_unittest.cc", |
| 154 "gcm_stats_recorder_android_unittest.cc", |
| 155 "gcm_stats_recorder_impl_unittest.cc", |
| 147 ] | 156 ] |
| 148 | 157 |
| 149 deps = [ | 158 deps = [ |
| 150 ":gcm_driver", | 159 ":gcm_driver", |
| 151 ":test_support", | 160 ":test_support", |
| 152 "//base", | 161 "//base", |
| 153 "//base:prefs_test_support", | 162 "//base:prefs_test_support", |
| 154 "//base/test:test_support", | 163 "//base/test:test_support", |
| 155 "//google_apis:test_support", | 164 "//google_apis:test_support", |
| 156 "//google_apis/gcm:test_support", | 165 "//google_apis/gcm:test_support", |
| 157 "//net:test_support", | 166 "//net:test_support", |
| 158 "//sync/protocol", | 167 "//sync/protocol", |
| 159 "//testing/gtest", | 168 "//testing/gtest", |
| 160 "//third_party/protobuf:protobuf_lite", | 169 "//third_party/protobuf:protobuf_lite", |
| 161 ] | 170 ] |
| 162 | 171 |
| 163 if (!is_android) { | 172 if (is_android) { |
| 164 sources += [ | 173 sources -= [ |
| 165 "gcm_account_mapper_unittest.cc", | 174 "gcm_account_mapper_unittest.cc", |
| 166 "gcm_channel_status_request_unittest.cc", | 175 "gcm_channel_status_request_unittest.cc", |
| 167 "gcm_client_impl_unittest.cc", | 176 "gcm_client_impl_unittest.cc", |
| 168 "gcm_delayed_task_controller_unittest.cc", | |
| 169 "gcm_driver_desktop_unittest.cc", | 177 "gcm_driver_desktop_unittest.cc", |
| 170 "gcm_stats_recorder_impl_unittest.cc", | 178 "gcm_stats_recorder_impl_unittest.cc", |
| 171 ] | 179 ] |
| 172 } | 180 } |
| 173 } | 181 } |
| OLD | NEW |