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 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 # GN version: //components/invalidation | 8 # GN version: //components/invalidation |
9 'target_name': 'invalidation', | 9 'target_name': 'invalidation', |
10 'type': 'static_library', | 10 'type': 'static_library', |
11 'dependencies': [ | 11 'dependencies': [ |
12 '../base/base.gyp:base', | 12 '../base/base.gyp:base', |
| 13 '../base/base.gyp:base_prefs', |
13 '../google_apis/google_apis.gyp:google_apis', | 14 '../google_apis/google_apis.gyp:google_apis', |
14 '../jingle/jingle.gyp:notifier', | 15 '../jingle/jingle.gyp:notifier', |
15 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n', | 16 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n', |
16 # TODO(akalin): Remove this (http://crbug.com/133352). | 17 # TODO(akalin): Remove this (http://crbug.com/133352). |
17 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n_proto_cpp', | 18 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n_proto_cpp', |
18 'gcm_driver', | 19 'gcm_driver', |
19 'keyed_service_core', | 20 'keyed_service_core', |
20 'pref_registry', | 21 'pref_registry', |
21 'signin_core_browser', | 22 'signin_core_browser', |
22 ], | 23 ], |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 'invalidation/sync_invalidation_listener.cc', | 95 'invalidation/sync_invalidation_listener.cc', |
95 'invalidation/sync_invalidation_listener.h', | 96 'invalidation/sync_invalidation_listener.h', |
96 'invalidation/sync_system_resources.cc', | 97 'invalidation/sync_system_resources.cc', |
97 'invalidation/sync_system_resources.h', | 98 'invalidation/sync_system_resources.h', |
98 'invalidation/ticl_invalidation_service.cc', | 99 'invalidation/ticl_invalidation_service.cc', |
99 'invalidation/ticl_invalidation_service.h', | 100 'invalidation/ticl_invalidation_service.h', |
100 'invalidation/ticl_settings_provider.cc', | 101 'invalidation/ticl_settings_provider.cc', |
101 'invalidation/ticl_settings_provider.h', | 102 'invalidation/ticl_settings_provider.h', |
102 ], | 103 ], |
103 }], | 104 }], |
| 105 ['OS == "android"', { |
| 106 'dependencies': [ |
| 107 'invalidation_jni_headers', |
| 108 ], |
| 109 'sources': [ |
| 110 'invalidation/android/component_jni_registrar.cc', |
| 111 'invalidation/android/component_jni_registrar.h', |
| 112 'invalidation/invalidation_service_android.cc', |
| 113 'invalidation/invalidation_service_android.h', |
| 114 ], |
| 115 }], |
104 ], | 116 ], |
105 }, | 117 }, |
106 | 118 |
107 { | 119 { |
108 # GN version: //components/invalidation:test_support | 120 # GN version: //components/invalidation:test_support |
109 'target_name': 'invalidation_test_support', | 121 'target_name': 'invalidation_test_support', |
110 'type': 'static_library', | 122 'type': 'static_library', |
111 'dependencies': [ | 123 'dependencies': [ |
112 '../base/base.gyp:base', | 124 '../base/base.gyp:base', |
113 '../google_apis/google_apis.gyp:google_apis', | 125 '../google_apis/google_apis.gyp:google_apis', |
(...skipping 29 matching lines...) Expand all Loading... |
143 'invalidation/unacked_invalidation_set_test_util.h', | 155 'invalidation/unacked_invalidation_set_test_util.h', |
144 ], | 156 ], |
145 'conditions': [ | 157 'conditions': [ |
146 ['OS != "android"', { | 158 ['OS != "android"', { |
147 'sources': [ | 159 'sources': [ |
148 # Note: sources list duplicated in GN build. | 160 # Note: sources list duplicated in GN build. |
149 'invalidation/p2p_invalidation_service.cc', | 161 'invalidation/p2p_invalidation_service.cc', |
150 'invalidation/p2p_invalidation_service.h', | 162 'invalidation/p2p_invalidation_service.h', |
151 ], | 163 ], |
152 }], | 164 }], |
| 165 ['OS == "android"', { |
| 166 'dependencies': [ |
| 167 'invalidation_jni_headers', |
| 168 ], |
| 169 }], |
153 ], | 170 ], |
154 }, | 171 }, |
155 ], | 172 ], |
| 173 'conditions': [ |
| 174 ['OS == "android"', { |
| 175 'targets': [ |
| 176 { |
| 177 'target_name': 'invalidation_java', |
| 178 'type': 'none', |
| 179 'dependencies': [ |
| 180 '../base/base.gyp:base', |
| 181 '../sync/sync.gyp:sync_java', |
| 182 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalid
ation_javalib', |
| 183 ], |
| 184 'variables': { |
| 185 'java_in_dir': 'invalidation/android/java', |
| 186 }, |
| 187 'includes': [ '../build/java.gypi' ], |
| 188 }, |
| 189 { |
| 190 'target_name': 'invalidation_javatests', |
| 191 'type': 'none', |
| 192 'dependencies': [ |
| 193 'invalidation_java', |
| 194 '../base/base.gyp:base_java_test_support', |
| 195 ], |
| 196 'variables': { |
| 197 'java_in_dir': 'invalidation/android/javatests', |
| 198 }, |
| 199 'includes': [ '../build/java.gypi' ], |
| 200 }, |
| 201 { |
| 202 'target_name': 'invalidation_jni_headers', |
| 203 'type': 'none', |
| 204 'sources': [ |
| 205 'invalidation/android/java/src/org/chromium/components/invalidation/
InvalidationService.java', |
| 206 ], |
| 207 'variables': { |
| 208 'jni_gen_package': 'components/invalidation', |
| 209 }, |
| 210 'includes': [ '../build/jni_generator.gypi' ], |
| 211 }, |
| 212 ], |
| 213 }, |
| 214 ], |
| 215 ], |
156 } | 216 } |
OLD | NEW |