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)', |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 '../testing/gtest.gyp:gtest', | 208 '../testing/gtest.gyp:gtest', |
209 ], | 209 ], |
210 'include_dirs': [ | 210 'include_dirs': [ |
211 '..', | 211 '..', |
212 ], | 212 ], |
213 'sources': [ | 213 'sources': [ |
214 # Note: file list duplicated in GN build. | 214 # Note: file list duplicated in GN build. |
215 'gcm_driver/instance_id/fake_gcm_driver_for_instance_id.cc', | 215 'gcm_driver/instance_id/fake_gcm_driver_for_instance_id.cc', |
216 'gcm_driver/instance_id/fake_gcm_driver_for_instance_id.h', | 216 'gcm_driver/instance_id/fake_gcm_driver_for_instance_id.h', |
217 ], | 217 ], |
| 218 'conditions': [ |
| 219 ['OS == "android"', { |
| 220 'dependencies': [ |
| 221 'instance_id_driver_test_support_jni_headers', |
| 222 ], |
| 223 }], |
| 224 ], |
218 }, | 225 }, |
219 { | 226 { |
220 # GN version: //components/gcm_driver/crypto | 227 # GN version: //components/gcm_driver/crypto |
221 'target_name': 'gcm_driver_crypto', | 228 'target_name': 'gcm_driver_crypto', |
222 'type': 'static_library', | 229 'type': 'static_library', |
223 'dependencies': [ | 230 'dependencies': [ |
224 'gcm_driver_crypto_proto', | 231 'gcm_driver_crypto_proto', |
225 '../base/base.gyp:base', | 232 '../base/base.gyp:base', |
226 '../components/components.gyp:leveldb_proto', | 233 '../components/components.gyp:leveldb_proto', |
227 '../crypto/crypto.gyp:crypto', | 234 '../crypto/crypto.gyp:crypto', |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 'type': 'none', | 339 'type': 'none', |
333 'dependencies': [ | 340 'dependencies': [ |
334 '../base/base.gyp:base_java', | 341 '../base/base.gyp:base_java', |
335 ], | 342 ], |
336 'variables': { | 343 'variables': { |
337 'java_in_dir': 'gcm_driver/instance_id/android/java', | 344 'java_in_dir': 'gcm_driver/instance_id/android/java', |
338 }, | 345 }, |
339 'includes': [ '../build/java.gypi' ], | 346 'includes': [ '../build/java.gypi' ], |
340 }, | 347 }, |
341 { | 348 { |
| 349 # GN version: //components/gcm_driver/instance_id/android:instance_id_
driver_test_support_java |
| 350 'target_name': 'instance_id_driver_test_support_java', |
| 351 'type': 'none', |
| 352 'dependencies': [ |
| 353 'instance_id_driver_java', |
| 354 ], |
| 355 'variables': { |
| 356 'java_in_dir': 'gcm_driver/instance_id/android/javatests', |
| 357 }, |
| 358 'includes': [ '../build/java.gypi' ], |
| 359 }, |
| 360 { |
342 # GN version: //components/gcm_driver/instance_id/android:jni_headers | 361 # GN version: //components/gcm_driver/instance_id/android:jni_headers |
343 'target_name': 'instance_id_driver_jni_headers', | 362 'target_name': 'instance_id_driver_jni_headers', |
344 'type': 'none', | 363 'type': 'none', |
345 'sources': [ | 364 'sources': [ |
346 'gcm_driver/instance_id/android/java/src/org/chromium/components/gcm
_driver/instance_id/InstanceIDBridge.java', | 365 'gcm_driver/instance_id/android/java/src/org/chromium/components/gcm
_driver/instance_id/InstanceIDBridge.java', |
347 ], | 366 ], |
348 'variables': { | 367 'variables': { |
349 'jni_gen_package': 'components/gcm_driver/instance_id', | 368 'jni_gen_package': 'components/gcm_driver/instance_id', |
350 }, | 369 }, |
351 'includes': [ '../build/jni_generator.gypi' ], | 370 'includes': [ '../build/jni_generator.gypi' ], |
352 }, | 371 }, |
| 372 { |
| 373 # GN version: //components/gcm_driver/instance_id/android:test_support
_jni_headers |
| 374 'target_name': 'instance_id_driver_test_support_jni_headers', |
| 375 'type': 'none', |
| 376 'sources': [ |
| 377 'gcm_driver/instance_id/android/javatests/src/org/chromium/component
s/gcm_driver/instance_id/FakeInstanceIDWithSubtype.java', |
| 378 ], |
| 379 'variables': { |
| 380 'jni_gen_package': 'components/gcm_driver/instance_id', |
| 381 }, |
| 382 'includes': [ '../build/jni_generator.gypi' ], |
| 383 }, |
353 ], | 384 ], |
354 }, | 385 }, |
355 ], | 386 ], |
356 ], | 387 ], |
357 } | 388 } |
OLD | NEW |