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/gcm_driver/common | 8 # GN version: //components/gcm_driver/common |
9 'target_name': 'gcm_driver_common', | 9 'target_name': 'gcm_driver_common', |
10 'type': '<(component)', | 10 'type': '<(component)', |
11 'include_dirs': [ | 11 'include_dirs': [ |
12 '..', | 12 '..', |
13 ], | 13 ], |
14 'defines': [ | 14 'defines': [ |
15 'GCM_DRIVER_IMPLEMENTATION', | 15 'GCM_DRIVER_IMPLEMENTATION', |
16 ], | 16 ], |
17 'sources': [ | 17 'sources': [ |
18 # Note: file list duplicated in GN build. | 18 # Note: file list duplicated in GN build. |
19 'gcm_driver/common/gcm_driver_export.h', | 19 'gcm_driver/common/gcm_driver_export.h', |
20 'gcm_driver/common/gcm_messages.cc', | 20 'gcm_driver/common/gcm_messages.cc', |
21 'gcm_driver/common/gcm_messages.h', | 21 'gcm_driver/common/gcm_messages.h', |
22 ], | 22 ], |
23 }, | 23 }, |
24 { | 24 { |
25 # GN version: //components/gcm_driver | 25 # GN version: //components/gcm_driver |
26 'target_name': 'gcm_driver', | 26 'target_name': 'gcm_driver', |
27 'type': 'static_library', | 27 'type': 'static_library', |
28 'dependencies': [ | 28 'dependencies': [ |
| 29 'gcm_driver_common', |
| 30 'gcm_driver_crypto', |
29 'os_crypt', | 31 'os_crypt', |
30 '../base/base.gyp:base', | 32 '../base/base.gyp:base', |
31 '../google_apis/gcm/gcm.gyp:gcm', | 33 '../google_apis/gcm/gcm.gyp:gcm', |
32 '../net/net.gyp:net', | 34 '../net/net.gyp:net', |
33 '../sync/sync.gyp:sync_proto', | 35 '../sync/sync.gyp:sync_proto', |
34 'gcm_driver_common', | |
35 ], | 36 ], |
36 'include_dirs': [ | 37 'include_dirs': [ |
37 '..', | 38 '..', |
38 ], | 39 ], |
39 'sources': [ | 40 'sources': [ |
40 # Note: file list duplicated in GN build. | 41 # Note: file list duplicated in GN build. |
41 'gcm_driver/android/component_jni_registrar.cc', | 42 'gcm_driver/android/component_jni_registrar.cc', |
42 'gcm_driver/android/component_jni_registrar.h', | 43 'gcm_driver/android/component_jni_registrar.h', |
43 'gcm_driver/default_gcm_app_handler.cc', | 44 'gcm_driver/default_gcm_app_handler.cc', |
44 'gcm_driver/default_gcm_app_handler.h', | 45 'gcm_driver/default_gcm_app_handler.h', |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 'gcm_driver_crypto_proto', | 201 'gcm_driver_crypto_proto', |
201 '../base/base.gyp:base', | 202 '../base/base.gyp:base', |
202 '../components/components.gyp:leveldb_proto', | 203 '../components/components.gyp:leveldb_proto', |
203 '../crypto/crypto.gyp:crypto', | 204 '../crypto/crypto.gyp:crypto', |
204 ], | 205 ], |
205 'include_dirs': [ | 206 'include_dirs': [ |
206 '..', | 207 '..', |
207 ], | 208 ], |
208 'sources': [ | 209 'sources': [ |
209 # Note: file list duplicated in GN build. | 210 # Note: file list duplicated in GN build. |
| 211 'gcm_driver/crypto/gcm_encryption_provider.cc', |
| 212 'gcm_driver/crypto/gcm_encryption_provider.h', |
210 'gcm_driver/crypto/gcm_key_store.cc', | 213 'gcm_driver/crypto/gcm_key_store.cc', |
211 'gcm_driver/crypto/gcm_key_store.h', | 214 'gcm_driver/crypto/gcm_key_store.h', |
212 'gcm_driver/crypto/gcm_message_cryptographer.cc', | 215 'gcm_driver/crypto/gcm_message_cryptographer.cc', |
213 'gcm_driver/crypto/gcm_message_cryptographer.h', | 216 'gcm_driver/crypto/gcm_message_cryptographer.h', |
214 'gcm_driver/crypto/gcm_message_cryptographer_nss.cc', | 217 'gcm_driver/crypto/gcm_message_cryptographer_nss.cc', |
215 'gcm_driver/crypto/gcm_message_cryptographer_openssl.cc', | 218 'gcm_driver/crypto/gcm_message_cryptographer_openssl.cc', |
216 ], | 219 ], |
217 'conditions': [ | 220 'conditions': [ |
218 ['use_openssl==1', { | 221 ['use_openssl==1', { |
219 'sources!': [ | 222 'sources!': [ |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 'variables': { | 274 'variables': { |
272 'jni_gen_package': 'components/gcm_driver', | 275 'jni_gen_package': 'components/gcm_driver', |
273 }, | 276 }, |
274 'includes': [ '../build/jni_generator.gypi' ], | 277 'includes': [ '../build/jni_generator.gypi' ], |
275 }, | 278 }, |
276 ], | 279 ], |
277 }, | 280 }, |
278 ], | 281 ], |
279 ], | 282 ], |
280 } | 283 } |
OLD | NEW |