OLD | NEW |
---|---|
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 # Test support files for the 'sync_core' target. | 7 # Test support files for the 'sync_core' target. |
8 # GN version: //sync:test_support_sync_core | 8 # GN version: //sync:test_support_sync_core |
9 { | 9 { |
10 'target_name': 'test_support_sync_core', | 10 'target_name': 'test_support_sync_core', |
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
462 'sources': [ | 462 'sources': [ |
463 '../chrome/android/sync_shell/javatests/src/chromium/chrome/browser/ sync/FakeServerHelper.java', | 463 '../chrome/android/sync_shell/javatests/src/chromium/chrome/browser/ sync/FakeServerHelper.java', |
464 ], | 464 ], |
465 'variables': { | 465 'variables': { |
466 'jni_gen_package': 'sync/test/fake_server', | 466 'jni_gen_package': 'sync/test/fake_server', |
467 'jni_generator_ptr_type': 'long', | 467 'jni_generator_ptr_type': 'long', |
468 }, | 468 }, |
469 'includes': [ '../build/jni_generator.gypi' ], | 469 'includes': [ '../build/jni_generator.gypi' ], |
470 }, | 470 }, |
471 { | 471 { |
472 # TODO(pvalenzuela): Create GN version of this target. | |
473 # http://crbug.com/475612 | |
474 'target_name': 'test_support_sync_proto_java', | |
475 'type': 'none', | |
476 'variables': { | |
477 'proto_in_dir': '<(INTERMEDIATE_DIR)/sync_protos', | |
Nicolas Zea
2015/04/09 20:38:16
is this used for anything?
pval...(no longer on Chromium)
2015/04/09 21:28:05
yeah. see protoc_java.gypi (included in line 506 h
Nicolas Zea
2015/04/09 21:40:42
Acknowledged.
| |
478 # Set this variable so that sync_proto_source_paths refers to the | |
479 # temporary proto definitions created here. | |
480 'sync_proto_sources_dir': '<(INTERMEDIATE_DIR)/sync_protos', | |
481 }, | |
482 'actions': [ | |
483 { | |
484 'action_name': 'run_script', | |
485 'inputs': [ | |
486 'protocol/prepare_protos_for_java_tests.py', | |
487 # Use the original list of proto files (defined in sync.gyp). | |
488 '<@(sync_proto_sources)', | |
489 ], | |
490 'outputs': [ | |
491 '<@(sync_proto_source_paths)', | |
492 ], | |
493 'action': [ | |
494 'python', | |
495 'protocol/prepare_protos_for_java_tests.py', | |
496 '--output_dir', | |
497 '<(INTERMEDIATE_DIR)/sync_protos', | |
498 # Use the original list of proto files (defined in sync.gyp). | |
499 '<@(sync_proto_sources)' | |
Nicolas Zea
2015/04/09 20:38:16
This might be my lack of gyp experience, but sync_
pval...(no longer on Chromium)
2015/04/09 21:28:05
I believe the dir is in the path/can be accessed b
nyquist
2015/04/09 21:53:52
zea: sync_proto_sources is set to the expansion of
Nicolas Zea
2015/04/09 21:59:56
Right, it wasn't clear to me when the actual expan
pval...(no longer on Chromium)
2015/04/09 22:04:20
ah, I misread the question. I believe it happens i
| |
500 ], | |
501 }, | |
502 ], | |
503 'sources': [ | |
504 '<@(sync_proto_source_paths)', | |
505 ], | |
506 'includes': ['protocol/protocol.gypi', '../build/protoc_java.gypi'], | |
507 }, | |
508 { | |
472 # GN: //sync:test_support_sync_fake_server_android | 509 # GN: //sync:test_support_sync_fake_server_android |
473 'target_name': 'test_support_sync_fake_server_android', | 510 'target_name': 'test_support_sync_fake_server_android', |
474 'type': 'static_library', | 511 'type': 'static_library', |
475 'dependencies': [ | 512 'dependencies': [ |
476 'sync_fake_server_jni_headers', | 513 'sync_fake_server_jni_headers', |
477 'test_support_sync_fake_server', | 514 'test_support_sync_fake_server', |
478 '../testing/gtest.gyp:gtest', | 515 '../testing/gtest.gyp:gtest', |
479 '../base/base.gyp:base', | 516 '../base/base.gyp:base', |
480 ], | 517 ], |
481 'export_dependent_settings': [ | 518 'export_dependent_settings': [ |
(...skipping 13 matching lines...) Expand all Loading... | |
495 ], | 532 ], |
496 'variables': { | 533 'variables': { |
497 'test_suite_name': 'sync_unit_tests', | 534 'test_suite_name': 'sync_unit_tests', |
498 }, | 535 }, |
499 'includes': [ '../build/apk_test.gypi' ], | 536 'includes': [ '../build/apk_test.gypi' ], |
500 }, | 537 }, |
501 ], | 538 ], |
502 }], | 539 }], |
503 ], | 540 ], |
504 } | 541 } |
OLD | NEW |