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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 'instance_id', | 207 'instance_id', |
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 'gcm_driver/instance_id/scoped_use_fake_instance_id_android.cc', |
| 218 'gcm_driver/instance_id/scoped_use_fake_instance_id_android.h', |
| 219 ], |
| 220 'conditions': [ |
| 221 ['OS == "android"', { |
| 222 'dependencies': [ |
| 223 'instance_id_driver_test_support_jni_headers', |
| 224 ], |
| 225 }], |
217 ], | 226 ], |
218 }, | 227 }, |
219 { | 228 { |
220 # GN version: //components/gcm_driver/crypto | 229 # GN version: //components/gcm_driver/crypto |
221 'target_name': 'gcm_driver_crypto', | 230 'target_name': 'gcm_driver_crypto', |
222 'type': 'static_library', | 231 'type': 'static_library', |
223 'dependencies': [ | 232 'dependencies': [ |
224 'gcm_driver_crypto_proto', | 233 'gcm_driver_crypto_proto', |
225 '../base/base.gyp:base', | 234 '../base/base.gyp:base', |
226 '../components/components.gyp:leveldb_proto', | 235 '../components/components.gyp:leveldb_proto', |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 'dependencies': [ | 325 'dependencies': [ |
317 '../base/base.gyp:base_java', | 326 '../base/base.gyp:base_java', |
318 '../third_party/android_tools/android_tools.gyp:google_play_services
_javalib', | 327 '../third_party/android_tools/android_tools.gyp:google_play_services
_javalib', |
319 ], | 328 ], |
320 'variables': { | 329 'variables': { |
321 'java_in_dir': 'gcm_driver/instance_id/android/java', | 330 'java_in_dir': 'gcm_driver/instance_id/android/java', |
322 }, | 331 }, |
323 'includes': [ '../build/java.gypi' ], | 332 'includes': [ '../build/java.gypi' ], |
324 }, | 333 }, |
325 { | 334 { |
| 335 # GN version: //components/gcm_driver/instance_id/android:instance_id_
driver_test_support_java |
| 336 'target_name': 'instance_id_driver_test_support_java', |
| 337 'type': 'none', |
| 338 'dependencies': [ |
| 339 'instance_id_driver_java', |
| 340 ], |
| 341 'variables': { |
| 342 'java_in_dir': 'gcm_driver/instance_id/android/javatests', |
| 343 }, |
| 344 'includes': [ '../build/java.gypi' ], |
| 345 }, |
| 346 { |
326 # GN version: //components/gcm_driver/instance_id/android:jni_headers | 347 # GN version: //components/gcm_driver/instance_id/android:jni_headers |
327 'target_name': 'instance_id_driver_jni_headers', | 348 'target_name': 'instance_id_driver_jni_headers', |
328 'type': 'none', | 349 'type': 'none', |
329 'sources': [ | 350 'sources': [ |
330 'gcm_driver/instance_id/android/java/src/org/chromium/components/gcm
_driver/instance_id/InstanceIDBridge.java', | 351 'gcm_driver/instance_id/android/java/src/org/chromium/components/gcm
_driver/instance_id/InstanceIDBridge.java', |
331 ], | 352 ], |
332 'variables': { | 353 'variables': { |
333 'jni_gen_package': 'components/gcm_driver/instance_id', | 354 'jni_gen_package': 'components/gcm_driver/instance_id', |
334 }, | 355 }, |
335 'includes': [ '../build/jni_generator.gypi' ], | 356 'includes': [ '../build/jni_generator.gypi' ], |
336 }, | 357 }, |
| 358 { |
| 359 # GN version: //components/gcm_driver/instance_id/android:test_support
_jni_headers |
| 360 'target_name': 'instance_id_driver_test_support_jni_headers', |
| 361 'type': 'none', |
| 362 'sources': [ |
| 363 'gcm_driver/instance_id/android/javatests/src/org/chromium/component
s/gcm_driver/instance_id/FakeInstanceIDWithSubtype.java', |
| 364 ], |
| 365 'variables': { |
| 366 'jni_gen_package': 'components/gcm_driver/instance_id', |
| 367 }, |
| 368 'includes': [ '../build/jni_generator.gypi' ], |
| 369 }, |
337 ], | 370 ], |
338 }, | 371 }, |
339 ], | 372 ], |
340 ], | 373 ], |
341 } | 374 } |
OLD | NEW |