| 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 sources -= [ | 116 sources -= [ |
| 117 "fake_gcm_client.cc", | 117 "fake_gcm_client.cc", |
| 118 "fake_gcm_client.h", | 118 "fake_gcm_client.h", |
| 119 "fake_gcm_client_factory.cc", | 119 "fake_gcm_client_factory.cc", |
| 120 "fake_gcm_client_factory.h", | 120 "fake_gcm_client_factory.h", |
| 121 ] | 121 ] |
| 122 deps -= [ "//google_apis/gcm:test_support" ] | 122 deps -= [ "//google_apis/gcm:test_support" ] |
| 123 } | 123 } |
| 124 } | 124 } |
| 125 | 125 |
| 126 if (!is_android) { | 126 source_set("unit_tests") { |
| 127 source_set("unit_tests") { | 127 testonly = true |
| 128 testonly = true | 128 |
| 129 sources = [ | 129 sources = [ |
| 130 "gcm_account_tracker_unittest.cc", |
| 131 ] |
| 132 |
| 133 deps = [ |
| 134 ":gcm_driver", |
| 135 ":test_support", |
| 136 "//testing/gtest", |
| 137 "//third_party/protobuf:protobuf_lite", |
| 138 ] |
| 139 |
| 140 if (!is_android) { |
| 141 sources += [ |
| 130 "gcm_account_mapper_unittest.cc", | 142 "gcm_account_mapper_unittest.cc", |
| 131 "gcm_account_tracker_unittest.cc", | |
| 132 "gcm_channel_status_request_unittest.cc", | 143 "gcm_channel_status_request_unittest.cc", |
| 133 "gcm_client_impl_unittest.cc", | 144 "gcm_client_impl_unittest.cc", |
| 134 "gcm_delayed_task_controller_unittest.cc", | 145 "gcm_delayed_task_controller_unittest.cc", |
| 135 "gcm_driver_desktop_unittest.cc", | 146 "gcm_driver_desktop_unittest.cc", |
| 136 "gcm_stats_recorder_impl_unittest.cc", | 147 "gcm_stats_recorder_impl_unittest.cc", |
| 137 ] | 148 ] |
| 138 | |
| 139 deps = [ | |
| 140 ":gcm_driver", | |
| 141 ":test_support", | |
| 142 "//testing/gtest", | |
| 143 "//third_party/protobuf:protobuf_lite", | |
| 144 ] | |
| 145 } | 149 } |
| 146 } | 150 } |
| OLD | NEW |