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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
46 "gcm_internals_constants.cc", | 46 "gcm_internals_constants.cc", |
47 "gcm_internals_constants.h", | 47 "gcm_internals_constants.h", |
48 "gcm_internals_helper.cc", | 48 "gcm_internals_helper.cc", |
49 "gcm_internals_helper.h", | 49 "gcm_internals_helper.h", |
50 "gcm_profile_service.cc", | 50 "gcm_profile_service.cc", |
51 "gcm_profile_service.h", | 51 "gcm_profile_service.h", |
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 "pref_names.cc", | |
57 "pref_names.h", | |
56 "registration_info.cc", | 58 "registration_info.cc", |
57 "registration_info.h", | 59 "registration_info.h", |
58 "system_encryptor.cc", | 60 "system_encryptor.cc", |
59 "system_encryptor.h", | 61 "system_encryptor.h", |
60 ] | 62 ] |
61 | 63 |
62 deps = [ | 64 deps = [ |
63 "//base", | 65 "//base", |
64 "//components/gcm_driver/common", | 66 "//components/gcm_driver/common", |
65 "//components/gcm_driver/crypto", | 67 "//components/gcm_driver/crypto", |
66 "//components/keyed_service/core", | 68 "//components/keyed_service/core", |
67 "//components/os_crypt", | 69 "//components/os_crypt", |
68 "//components/pref_registry", | 70 "//components/pref_registry", |
69 "//components/prefs", | 71 "//components/prefs", |
70 "//components/signin/core/browser", | 72 "//components/signin/core/browser", |
71 "//components/sync_driver", | 73 "//components/sync_driver", |
72 "//components/version_info", | 74 "//components/version_info", |
73 "//google_apis", | 75 "//google_apis", |
74 "//google_apis/gcm", | 76 "//google_apis/gcm", |
75 "//net", | 77 "//net", |
76 "//sync/protocol", | 78 "//sync/protocol", |
79 "//third_party/re2", | |
Peter Beverloo
2016/07/22 12:17:03
drop
johnme
2016/07/26 17:11:55
Oops done.
| |
77 "//url:url", | 80 "//url:url", |
78 ] | 81 ] |
79 allow_circular_includes_from = [ "//components/gcm_driver/crypto" ] | 82 allow_circular_includes_from = [ "//components/gcm_driver/crypto" ] |
80 | 83 |
81 if (is_chromeos) { | 84 if (is_chromeos) { |
82 deps += [ "//components/timers" ] | 85 deps += [ "//components/timers" ] |
83 } | 86 } |
84 | 87 |
85 if (is_android) { | 88 if (is_android) { |
86 sources -= [ | 89 sources -= [ |
87 "gcm_account_mapper.cc", | 90 "gcm_account_mapper.cc", |
88 "gcm_account_mapper.h", | 91 "gcm_account_mapper.h", |
89 "gcm_channel_status_request.cc", | 92 "gcm_channel_status_request.cc", |
90 "gcm_channel_status_request.h", | 93 "gcm_channel_status_request.h", |
91 "gcm_channel_status_syncer.cc", | 94 "gcm_channel_status_syncer.cc", |
92 "gcm_channel_status_syncer.h", | 95 "gcm_channel_status_syncer.h", |
93 "gcm_client_factory.cc", | 96 "gcm_client_factory.cc", |
94 "gcm_client_factory.h", | 97 "gcm_client_factory.h", |
95 "gcm_client_impl.cc", | 98 "gcm_client_impl.cc", |
96 "gcm_client_impl.h", | 99 "gcm_client_impl.h", |
97 "gcm_desktop_utils.cc", | 100 "gcm_desktop_utils.cc", |
98 "gcm_desktop_utils.h", | 101 "gcm_desktop_utils.h", |
99 "gcm_driver_desktop.cc", | 102 "gcm_driver_desktop.cc", |
100 "gcm_driver_desktop.h", | 103 "gcm_driver_desktop.h", |
101 "gcm_stats_recorder_impl.cc", | 104 "gcm_stats_recorder_impl.cc", |
102 "gcm_stats_recorder_impl.h", | 105 "gcm_stats_recorder_impl.h", |
106 "pref_names.cc", | |
107 "pref_names.h", | |
103 ] | 108 ] |
104 deps -= [ "//google_apis/gcm" ] | 109 deps -= [ "//google_apis/gcm" ] |
105 deps += [ "android:jni_headers" ] | 110 deps += [ "android:jni_headers" ] |
106 } | 111 } |
107 } | 112 } |
108 | 113 |
109 # GYP version: components/gcm_driver.gypi:gcm_driver_test_support | 114 # GYP version: components/gcm_driver.gypi:gcm_driver_test_support |
110 static_library("test_support") { | 115 static_library("test_support") { |
111 testonly = true | 116 testonly = true |
112 sources = [ | 117 sources = [ |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
173 if (is_android) { | 178 if (is_android) { |
174 sources -= [ | 179 sources -= [ |
175 "gcm_account_mapper_unittest.cc", | 180 "gcm_account_mapper_unittest.cc", |
176 "gcm_channel_status_request_unittest.cc", | 181 "gcm_channel_status_request_unittest.cc", |
177 "gcm_client_impl_unittest.cc", | 182 "gcm_client_impl_unittest.cc", |
178 "gcm_driver_desktop_unittest.cc", | 183 "gcm_driver_desktop_unittest.cc", |
179 "gcm_stats_recorder_impl_unittest.cc", | 184 "gcm_stats_recorder_impl_unittest.cc", |
180 ] | 185 ] |
181 } | 186 } |
182 } | 187 } |
OLD | NEW |