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 15 matching lines...) Expand all Loading... |
26 "gcm_client.cc", | 26 "gcm_client.cc", |
27 "gcm_client.h", | 27 "gcm_client.h", |
28 "gcm_client_factory.cc", | 28 "gcm_client_factory.cc", |
29 "gcm_client_factory.h", | 29 "gcm_client_factory.h", |
30 "gcm_client_impl.cc", | 30 "gcm_client_impl.cc", |
31 "gcm_client_impl.h", | 31 "gcm_client_impl.h", |
32 "gcm_connection_observer.cc", | 32 "gcm_connection_observer.cc", |
33 "gcm_connection_observer.h", | 33 "gcm_connection_observer.h", |
34 "gcm_delayed_task_controller.cc", | 34 "gcm_delayed_task_controller.cc", |
35 "gcm_delayed_task_controller.h", | 35 "gcm_delayed_task_controller.h", |
36 "gcm_desktop_utils.cc", | |
37 "gcm_desktop_utils.h", | |
38 "gcm_driver.cc", | 36 "gcm_driver.cc", |
39 "gcm_driver.h", | 37 "gcm_driver.h", |
40 "gcm_driver_android.cc", | 38 "gcm_driver_android.cc", |
41 "gcm_driver_android.h", | 39 "gcm_driver_android.h", |
42 "gcm_driver_desktop.cc", | 40 "gcm_driver_desktop.cc", |
43 "gcm_driver_desktop.h", | 41 "gcm_driver_desktop.h", |
44 "gcm_stats_recorder_impl.cc", | 42 "gcm_stats_recorder_impl.cc", |
45 "gcm_stats_recorder_impl.h", | 43 "gcm_stats_recorder_impl.h", |
46 "registration_info.cc", | 44 "registration_info.cc", |
47 "registration_info.h", | 45 "registration_info.h", |
48 "system_encryptor.cc", | 46 "system_encryptor.cc", |
49 "system_encryptor.h", | 47 "system_encryptor.h", |
50 ] | 48 ] |
51 | 49 |
52 deps = [ | 50 deps = [ |
53 "crypto", | 51 "crypto", |
54 "//base", | 52 "//base", |
55 "//components/gcm_driver/common", | 53 "//components/gcm_driver/common", |
56 "//components/os_crypt", | 54 "//components/os_crypt", |
57 "//components/sync_driver", | |
58 "//google_apis/gcm", | 55 "//google_apis/gcm", |
59 "//net", | 56 "//net", |
60 "//sync/protocol", | 57 "//sync/protocol", |
61 "//url:url", | |
62 ] | 58 ] |
63 | 59 |
64 if (is_chromeos) { | 60 if (is_chromeos) { |
65 deps += [ "//components/timers" ] | 61 deps += [ "//components/timers" ] |
66 } | 62 } |
67 | 63 |
68 if (is_android) { | 64 if (is_android) { |
69 sources -= [ | 65 sources -= [ |
70 "gcm_account_mapper.cc", | 66 "gcm_account_mapper.cc", |
71 "gcm_account_mapper.h", | 67 "gcm_account_mapper.h", |
72 "gcm_channel_status_request.cc", | 68 "gcm_channel_status_request.cc", |
73 "gcm_channel_status_request.h", | 69 "gcm_channel_status_request.h", |
74 "gcm_channel_status_syncer.cc", | 70 "gcm_channel_status_syncer.cc", |
75 "gcm_channel_status_syncer.h", | 71 "gcm_channel_status_syncer.h", |
76 "gcm_client_factory.cc", | 72 "gcm_client_factory.cc", |
77 "gcm_client_factory.h", | 73 "gcm_client_factory.h", |
78 "gcm_client_impl.cc", | 74 "gcm_client_impl.cc", |
79 "gcm_client_impl.h", | 75 "gcm_client_impl.h", |
80 "gcm_desktop_utils.cc", | |
81 "gcm_desktop_utils.h", | |
82 "gcm_driver_desktop.cc", | 76 "gcm_driver_desktop.cc", |
83 "gcm_driver_desktop.h", | 77 "gcm_driver_desktop.h", |
84 "gcm_stats_recorder_impl.cc", | 78 "gcm_stats_recorder_impl.cc", |
85 "gcm_stats_recorder_impl.h", | 79 "gcm_stats_recorder_impl.h", |
86 ] | 80 ] |
87 deps -= [ "//google_apis/gcm" ] | 81 deps -= [ "//google_apis/gcm" ] |
88 deps += [ "android:jni_headers" ] | 82 deps += [ "android:jni_headers" ] |
89 } | 83 } |
90 } | 84 } |
91 | 85 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 ] | 129 ] |
136 | 130 |
137 deps = [ | 131 deps = [ |
138 ":gcm_driver", | 132 ":gcm_driver", |
139 ":test_support", | 133 ":test_support", |
140 "//testing/gtest", | 134 "//testing/gtest", |
141 "//third_party/protobuf:protobuf_lite", | 135 "//third_party/protobuf:protobuf_lite", |
142 ] | 136 ] |
143 } | 137 } |
144 } | 138 } |
OLD | NEW |