| 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", |
| 11 "default_gcm_app_handler.h", | 11 "default_gcm_app_handler.h", |
| 12 "gcm_activity.cc", | 12 "gcm_activity.cc", |
| 13 "gcm_activity.h", | 13 "gcm_activity.h", |
| 14 "gcm_account_mapper.cc", |
| 15 "gcm_account_mapper.h", |
| 14 "gcm_app_handler.cc", | 16 "gcm_app_handler.cc", |
| 15 "gcm_app_handler.h", | 17 "gcm_app_handler.h", |
| 16 "gcm_backoff_policy.cc", | 18 "gcm_backoff_policy.cc", |
| 17 "gcm_backoff_policy.h", | 19 "gcm_backoff_policy.h", |
| 18 "gcm_channel_status_request.cc", | 20 "gcm_channel_status_request.cc", |
| 19 "gcm_channel_status_request.h", | 21 "gcm_channel_status_request.h", |
| 20 "gcm_channel_status_syncer.cc", | 22 "gcm_channel_status_syncer.cc", |
| 21 "gcm_channel_status_syncer.h", | 23 "gcm_channel_status_syncer.h", |
| 22 "gcm_client.cc", | 24 "gcm_client.cc", |
| 23 "gcm_client.h", | 25 "gcm_client.h", |
| (...skipping 20 matching lines...) Expand all Loading... |
| 44 deps = [ | 46 deps = [ |
| 45 "//base", | 47 "//base", |
| 46 "//components/gcm_driver/proto", | 48 "//components/gcm_driver/proto", |
| 47 "//components/os_crypt", | 49 "//components/os_crypt", |
| 48 "//google_apis/gcm", | 50 "//google_apis/gcm", |
| 49 "//net", | 51 "//net", |
| 50 ] | 52 ] |
| 51 | 53 |
| 52 if (is_android) { | 54 if (is_android) { |
| 53 sources -= [ | 55 sources -= [ |
| 56 "gcm_account_mapper.cc", |
| 57 "gcm_account_mapper.h", |
| 54 "gcm_channel_status_request.cc", | 58 "gcm_channel_status_request.cc", |
| 55 "gcm_channel_status_request.h", | 59 "gcm_channel_status_request.h", |
| 56 "gcm_channel_status_syncer.cc", | 60 "gcm_channel_status_syncer.cc", |
| 57 "gcm_channel_status_syncer.h", | 61 "gcm_channel_status_syncer.h", |
| 58 "gcm_client_factory.cc", | 62 "gcm_client_factory.cc", |
| 59 "gcm_client_factory.h", | 63 "gcm_client_factory.h", |
| 60 "gcm_client_impl.cc", | 64 "gcm_client_impl.cc", |
| 61 "gcm_client_impl.h", | 65 "gcm_client_impl.h", |
| 62 "gcm_delayed_task_controller.cc", | 66 "gcm_delayed_task_controller.cc", |
| 63 "gcm_delayed_task_controller.h", | 67 "gcm_delayed_task_controller.h", |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 import("//build/config/android/rules.gni") | 113 import("//build/config/android/rules.gni") |
| 110 | 114 |
| 111 # GYP version: components/gcm_driver.gypi:gcm_driver_jni_headers | 115 # GYP version: components/gcm_driver.gypi:gcm_driver_jni_headers |
| 112 generate_jni("jni_headers") { | 116 generate_jni("jni_headers") { |
| 113 sources = [ | 117 sources = [ |
| 114 "android/java/src/org/chromium/components/gcm_driver/GCMDriver.java", | 118 "android/java/src/org/chromium/components/gcm_driver/GCMDriver.java", |
| 115 ] | 119 ] |
| 116 jni_package = "components/gcm_driver" | 120 jni_package = "components/gcm_driver" |
| 117 } | 121 } |
| 118 } | 122 } |
| OLD | NEW |