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 { | 8 { |
9 'target_name': 'test_support_sync_core', | 9 'target_name': 'test_support_sync_core', |
10 'type': 'static_library', | 10 'type': 'static_library', |
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
564 ], | 564 ], |
565 'sources': [ | 565 'sources': [ |
566 'test/accounts_client/test_accounts_client_unittest.cc', | 566 'test/accounts_client/test_accounts_client_unittest.cc', |
567 ], | 567 ], |
568 }, | 568 }, |
569 | 569 |
570 ], | 570 ], |
571 'conditions': [ | 571 'conditions': [ |
572 ['OS != "ios"', { | 572 ['OS != "ios"', { |
573 'targets': [ | 573 'targets': [ |
574 { | |
575 'target_name': 'sync_tools_helper', | |
576 'type': 'static_library', | |
577 'defines': [ | |
578 'SYNC_IMPLEMENTATION', | |
579 ], | |
580 'include_dirs': [ | |
581 '..', | |
582 ], | |
583 'dependencies': [ | |
584 '../base/base.gyp:base', | |
585 'sync', | |
586 ], | |
587 'export_dependent_settings': [ | |
588 '../base/base.gyp:base', | |
589 'sync', | |
590 ], | |
591 'sources': [ | |
592 'tools/null_invalidation_state_tracker.cc', | |
593 'tools/null_invalidation_state_tracker.h', | |
594 ], | |
595 }, | |
596 | |
597 # A tool that can be used to launch a python sync server instance. | 574 # A tool that can be used to launch a python sync server instance. |
598 { | 575 { |
599 'target_name': 'run_sync_testserver', | 576 'target_name': 'run_sync_testserver', |
600 'type': 'executable', | 577 'type': 'executable', |
601 'dependencies': [ | 578 'dependencies': [ |
602 '../base/base.gyp:base', | 579 '../base/base.gyp:base', |
603 '../base/base.gyp:test_support_base', | 580 '../base/base.gyp:test_support_base', |
604 '../net/net.gyp:net_test_support', | 581 '../net/net.gyp:net_test_support', |
605 '../testing/gtest.gyp:gtest', | 582 '../testing/gtest.gyp:gtest', |
606 'test_support_sync_testserver', | 583 'test_support_sync_testserver', |
607 ], | 584 ], |
608 'sources': [ | 585 'sources': [ |
609 'tools/testserver/run_sync_testserver.cc', | 586 'tools/testserver/run_sync_testserver.cc', |
610 ], | 587 ], |
611 }, | 588 }, |
612 | |
613 # A tool to listen to sync notifications and print them out. | |
614 { | |
615 'target_name': 'sync_listen_notifications', | |
616 'type': 'executable', | |
617 'defines': [ | |
618 'SYNC_TEST', | |
619 ], | |
620 'dependencies': [ | |
621 '../base/base.gyp:base', | |
622 '../jingle/jingle.gyp:notifier', | |
623 '../net/net.gyp:net', | |
624 '../net/net.gyp:net_test_support', | |
625 'sync', | |
626 'sync_tools_helper', | |
627 ], | |
628 'sources': [ | |
629 'tools/sync_listen_notifications.cc', | |
630 ], | |
631 }, | |
632 | |
633 # A standalone command-line sync client. | |
634 { | |
635 'target_name': 'sync_client', | |
636 'type': 'executable', | |
637 'defines': [ | |
638 'SYNC_TEST', | |
639 ], | |
640 'dependencies': [ | |
641 '../base/base.gyp:base', | |
642 '../jingle/jingle.gyp:notifier', | |
643 '../net/net.gyp:net', | |
644 '../net/net.gyp:net_test_support', | |
645 'sync', | |
646 'sync_tools_helper', | |
647 'test_support_sync_core' | |
648 ], | |
649 'sources': [ | |
650 'tools/sync_client.cc', | |
651 ], | |
652 }, | |
653 ], | 589 ], |
654 }], | 590 }], |
655 ['OS == "android"', { | 591 ['OS == "android"', { |
656 'targets': [ | 592 'targets': [ |
657 { | 593 { |
658 'target_name': 'sync_javatests', | 594 'target_name': 'sync_javatests', |
659 'type': 'none', | 595 'type': 'none', |
660 'variables': { | 596 'variables': { |
661 'java_in_dir': '../sync/android/javatests', | 597 'java_in_dir': '../sync/android/javatests', |
662 }, | 598 }, |
(...skipping 28 matching lines...) Expand all Loading... |
691 ], | 627 ], |
692 'variables': { | 628 'variables': { |
693 'test_suite_name': 'sync_unit_tests', | 629 'test_suite_name': 'sync_unit_tests', |
694 }, | 630 }, |
695 'includes': [ '../build/apk_test.gypi' ], | 631 'includes': [ '../build/apk_test.gypi' ], |
696 }, | 632 }, |
697 ], | 633 ], |
698 }], | 634 }], |
699 ], | 635 ], |
700 } | 636 } |
OLD | NEW |