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 27 matching lines...) Expand all Loading... |
38 "gcm_driver_desktop.cc", | 38 "gcm_driver_desktop.cc", |
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/gcm_driver/proto", | |
49 "//components/os_crypt", | 48 "//components/os_crypt", |
50 "//google_apis/gcm", | 49 "//google_apis/gcm", |
51 "//net", | 50 "//net", |
| 51 "//sync/protocol", |
52 ] | 52 ] |
53 | 53 |
54 if (is_android) { | 54 if (is_android) { |
55 sources -= [ | 55 sources -= [ |
56 "gcm_account_mapper.cc", | 56 "gcm_account_mapper.cc", |
57 "gcm_account_mapper.h", | 57 "gcm_account_mapper.h", |
58 "gcm_channel_status_request.cc", | 58 "gcm_channel_status_request.cc", |
59 "gcm_channel_status_request.h", | 59 "gcm_channel_status_request.h", |
60 "gcm_channel_status_syncer.cc", | 60 "gcm_channel_status_syncer.cc", |
61 "gcm_channel_status_syncer.h", | 61 "gcm_channel_status_syncer.h", |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 import("//build/config/android/rules.gni") | 113 import("//build/config/android/rules.gni") |
114 | 114 |
115 # GYP version: components/gcm_driver.gypi:gcm_driver_jni_headers | 115 # GYP version: components/gcm_driver.gypi:gcm_driver_jni_headers |
116 generate_jni("jni_headers") { | 116 generate_jni("jni_headers") { |
117 sources = [ | 117 sources = [ |
118 "android/java/src/org/chromium/components/gcm_driver/GCMDriver.java", | 118 "android/java/src/org/chromium/components/gcm_driver/GCMDriver.java", |
119 ] | 119 ] |
120 jni_package = "components/gcm_driver" | 120 jni_package = "components/gcm_driver" |
121 } | 121 } |
122 } | 122 } |
OLD | NEW |