| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 "gcm_stats_recorder_android.cc", | 52 "gcm_stats_recorder_android.cc", |
| 53 "gcm_stats_recorder_android.h", | 53 "gcm_stats_recorder_android.h", |
| 54 "gcm_stats_recorder_impl.cc", | 54 "gcm_stats_recorder_impl.cc", |
| 55 "gcm_stats_recorder_impl.h", | 55 "gcm_stats_recorder_impl.h", |
| 56 "registration_info.cc", | 56 "registration_info.cc", |
| 57 "registration_info.h", | 57 "registration_info.h", |
| 58 "system_encryptor.cc", | 58 "system_encryptor.cc", |
| 59 "system_encryptor.h", | 59 "system_encryptor.h", |
| 60 ] | 60 ] |
| 61 | 61 |
| 62 deps = [ | 62 public_deps = [ |
| 63 "//base", | 63 "//base", |
| 64 "//components/crx_file", | |
| 65 "//components/gcm_driver/common", | 64 "//components/gcm_driver/common", |
| 66 "//components/gcm_driver/crypto", | 65 "//components/gcm_driver/crypto", |
| 66 "//components/gcm_driver/instance_id", |
| 67 ] |
| 68 deps = [ |
| 69 "//components/crx_file", |
| 67 "//components/keyed_service/core", | 70 "//components/keyed_service/core", |
| 68 "//components/os_crypt", | 71 "//components/os_crypt", |
| 69 "//components/pref_registry", | 72 "//components/pref_registry", |
| 70 "//components/prefs", | 73 "//components/prefs", |
| 71 "//components/signin/core/browser", | 74 "//components/signin/core/browser", |
| 72 "//components/sync", | 75 "//components/sync", |
| 73 "//components/version_info", | 76 "//components/version_info", |
| 74 "//google_apis", | 77 "//google_apis", |
| 75 "//google_apis/gcm", | 78 "//google_apis/gcm", |
| 76 "//net", | 79 "//net", |
| 77 "//url:url", | 80 "//url:url", |
| 78 ] | 81 ] |
| 79 allow_circular_includes_from = [ "//components/gcm_driver/crypto" ] | 82 |
| 83 # This target goes with these other deps and they can include headers from |
| 84 # each other. |
| 85 allow_circular_includes_from = [ |
| 86 "//components/gcm_driver/crypto", |
| 87 "//components/gcm_driver/instance_id", |
| 88 ] |
| 80 | 89 |
| 81 if (is_chromeos) { | 90 if (is_chromeos) { |
| 82 deps += [ "//components/timers" ] | 91 deps += [ "//components/timers" ] |
| 83 } | 92 } |
| 84 | 93 |
| 85 if (is_android) { | 94 if (is_android) { |
| 86 sources -= [ | 95 sources -= [ |
| 87 "gcm_account_mapper.cc", | 96 "gcm_account_mapper.cc", |
| 88 "gcm_account_mapper.h", | 97 "gcm_account_mapper.h", |
| 89 "gcm_channel_status_request.cc", | 98 "gcm_channel_status_request.cc", |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 if (is_android) { | 185 if (is_android) { |
| 177 sources -= [ | 186 sources -= [ |
| 178 "gcm_account_mapper_unittest.cc", | 187 "gcm_account_mapper_unittest.cc", |
| 179 "gcm_channel_status_request_unittest.cc", | 188 "gcm_channel_status_request_unittest.cc", |
| 180 "gcm_client_impl_unittest.cc", | 189 "gcm_client_impl_unittest.cc", |
| 181 "gcm_driver_desktop_unittest.cc", | 190 "gcm_driver_desktop_unittest.cc", |
| 182 "gcm_stats_recorder_impl_unittest.cc", | 191 "gcm_stats_recorder_impl_unittest.cc", |
| 183 ] | 192 ] |
| 184 } | 193 } |
| 185 } | 194 } |
| OLD | NEW |