Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(345)

Side by Side Diff: sync/sync_tests.gypi

Issue 998373004: Sync: Generalize entity injection in Android tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 # before submit:
473 # create GN version
pval...(no longer on Chromium) 2015/03/26 21:17:57 Do you consider this a requirement for this CL? I
nyquist 2015/04/01 00:01:00 I'd trust you to follow up on a TODO.
pval...(no longer on Chromium) 2015/04/09 18:01:18 todo+bug added
474 'target_name': 'test_support_sync_proto_java',
475 'type': 'none',
476 'variables': {
477 'proto_in_dir': '<(INTERMEDIATE_DIR)/sync_protos',
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)'
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698