| 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 28 matching lines...) Expand all Loading... |
| 39 "gcm_driver_desktop.h", | 39 "gcm_driver_desktop.h", |
| 40 "gcm_stats_recorder_impl.cc", | 40 "gcm_stats_recorder_impl.cc", |
| 41 "gcm_stats_recorder_impl.h", | 41 "gcm_stats_recorder_impl.h", |
| 42 "system_encryptor.cc", | 42 "system_encryptor.cc", |
| 43 "system_encryptor.h", | 43 "system_encryptor.h", |
| 44 ] | 44 ] |
| 45 | 45 |
| 46 deps = [ | 46 deps = [ |
| 47 "//base", | 47 "//base", |
| 48 "//components/os_crypt", | 48 "//components/os_crypt", |
| 49 "//components/timers", |
| 49 "//google_apis/gcm", | 50 "//google_apis/gcm", |
| 50 "//net", | 51 "//net", |
| 51 "//sync/protocol", | 52 "//sync/protocol", |
| 52 ] | 53 ] |
| 53 | 54 |
| 54 if (is_android) { | 55 if (is_android) { |
| 55 sources -= [ | 56 sources -= [ |
| 56 "gcm_account_mapper.cc", | 57 "gcm_account_mapper.cc", |
| 57 "gcm_account_mapper.h", | 58 "gcm_account_mapper.h", |
| 58 "gcm_channel_status_request.cc", | 59 "gcm_channel_status_request.cc", |
| 59 "gcm_channel_status_request.h", | 60 "gcm_channel_status_request.h", |
| 60 "gcm_channel_status_syncer.cc", | 61 "gcm_channel_status_syncer.cc", |
| 61 "gcm_channel_status_syncer.h", | 62 "gcm_channel_status_syncer.h", |
| 62 "gcm_client_factory.cc", | 63 "gcm_client_factory.cc", |
| 63 "gcm_client_factory.h", | 64 "gcm_client_factory.h", |
| 64 "gcm_client_impl.cc", | 65 "gcm_client_impl.cc", |
| 65 "gcm_client_impl.h", | 66 "gcm_client_impl.h", |
| 66 "gcm_delayed_task_controller.cc", | 67 "gcm_delayed_task_controller.cc", |
| 67 "gcm_delayed_task_controller.h", | 68 "gcm_delayed_task_controller.h", |
| 68 "gcm_driver_desktop.cc", | 69 "gcm_driver_desktop.cc", |
| 69 "gcm_driver_desktop.h", | 70 "gcm_driver_desktop.h", |
| 70 "gcm_stats_recorder_impl.cc", | 71 "gcm_stats_recorder_impl.cc", |
| 71 "gcm_stats_recorder_impl.h", | 72 "gcm_stats_recorder_impl.h", |
| 72 ] | 73 ] |
| 73 deps -= [ | 74 deps -= [ |
| 75 "//components/timers", |
| 74 "//google_apis/gcm", | 76 "//google_apis/gcm", |
| 75 ] | 77 ] |
| 76 deps += [ "android:jni_headers" ] | 78 deps += [ "android:jni_headers" ] |
| 77 } | 79 } |
| 78 } | 80 } |
| 79 | 81 |
| 80 static_library("test_support") { | 82 static_library("test_support") { |
| 81 testonly = true | 83 testonly = true |
| 82 sources = [ | 84 sources = [ |
| 83 "fake_gcm_app_handler.cc", | 85 "fake_gcm_app_handler.cc", |
| (...skipping 16 matching lines...) Expand all Loading... |
| 100 if (is_android) { | 102 if (is_android) { |
| 101 sources -= [ | 103 sources -= [ |
| 102 "fake_gcm_client.cc", | 104 "fake_gcm_client.cc", |
| 103 "fake_gcm_client.h", | 105 "fake_gcm_client.h", |
| 104 "fake_gcm_client_factory.cc", | 106 "fake_gcm_client_factory.cc", |
| 105 "fake_gcm_client_factory.h", | 107 "fake_gcm_client_factory.h", |
| 106 ] | 108 ] |
| 107 deps -= [ "//google_apis/gcm" ] | 109 deps -= [ "//google_apis/gcm" ] |
| 108 } | 110 } |
| 109 } | 111 } |
| OLD | NEW |