OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 # The core sync library. | 10 # The core sync library. |
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
456 'target_name': 'test_support_sync_core', | 456 'target_name': 'test_support_sync_core', |
457 'type': 'static_library', | 457 'type': 'static_library', |
458 'variables': { 'enable_wexit_time_destructors': 1, }, | 458 'variables': { 'enable_wexit_time_destructors': 1, }, |
459 'include_dirs': [ | 459 'include_dirs': [ |
460 '..', | 460 '..', |
461 ], | 461 ], |
462 'dependencies': [ | 462 'dependencies': [ |
463 '../base/base.gyp:base', | 463 '../base/base.gyp:base', |
464 '../testing/gmock.gyp:gmock', | 464 '../testing/gmock.gyp:gmock', |
465 '../testing/gtest.gyp:gtest', | 465 '../testing/gtest.gyp:gtest', |
| 466 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n', |
466 'protocol/sync_proto.gyp:sync_proto', | 467 'protocol/sync_proto.gyp:sync_proto', |
467 'sync_core', | 468 'sync_core', |
468 ], | 469 ], |
469 'export_dependent_settings': [ | 470 'export_dependent_settings': [ |
470 '../testing/gmock.gyp:gmock', | 471 '../testing/gmock.gyp:gmock', |
471 '../testing/gtest.gyp:gtest', | 472 '../testing/gtest.gyp:gtest', |
| 473 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n', |
472 'protocol/sync_proto.gyp:sync_proto', | 474 'protocol/sync_proto.gyp:sync_proto', |
473 'sync_core', | 475 'sync_core', |
474 ], | 476 ], |
475 'sources': [ | 477 'sources': [ |
476 'js/js_test_util.cc', | 478 'js/js_test_util.cc', |
477 'js/js_test_util.h', | 479 'js/js_test_util.h', |
478 'sessions/test_util.cc', | 480 'sessions/test_util.cc', |
479 'sessions/test_util.h', | 481 'sessions/test_util.h', |
480 'syncable/syncable_mock.cc', | 482 'syncable/syncable_mock.cc', |
481 'syncable/syncable_mock.h', | 483 'syncable/syncable_mock.h', |
(...skipping 14 matching lines...) Expand all Loading... |
496 'test/fake_encryptor.cc', | 498 'test/fake_encryptor.cc', |
497 'test/fake_encryptor.h', | 499 'test/fake_encryptor.h', |
498 'test/fake_sync_encryption_handler.h', | 500 'test/fake_sync_encryption_handler.h', |
499 'test/fake_sync_encryption_handler.cc', | 501 'test/fake_sync_encryption_handler.cc', |
500 'test/fake_extensions_activity_monitor.cc', | 502 'test/fake_extensions_activity_monitor.cc', |
501 'test/fake_extensions_activity_monitor.h', | 503 'test/fake_extensions_activity_monitor.h', |
502 'test/test_transaction_observer.cc', | 504 'test/test_transaction_observer.cc', |
503 'test/test_transaction_observer.h', | 505 'test/test_transaction_observer.h', |
504 'test/null_directory_change_delegate.cc', | 506 'test/null_directory_change_delegate.cc', |
505 'test/null_directory_change_delegate.h', | 507 'test/null_directory_change_delegate.h', |
| 508 'test/null_invalidation_state_tracker.cc', |
| 509 'test/null_invalidation_state_tracker.h', |
506 'test/null_transaction_observer.cc', | 510 'test/null_transaction_observer.cc', |
507 'test/null_transaction_observer.h', | 511 'test/null_transaction_observer.h', |
508 'test/sessions/test_scoped_session_event_listener.h', | 512 'test/sessions/test_scoped_session_event_listener.h', |
509 'test/test_directory_backing_store.cc', | 513 'test/test_directory_backing_store.cc', |
510 'test/test_directory_backing_store.h', | 514 'test/test_directory_backing_store.h', |
511 'util/test_unrecoverable_error_handler.cc', | 515 'util/test_unrecoverable_error_handler.cc', |
512 'util/test_unrecoverable_error_handler.h', | 516 'util/test_unrecoverable_error_handler.h', |
513 ], | 517 ], |
514 }, | 518 }, |
515 | 519 |
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
926 # A tool to listen to sync notifications and print them out. | 930 # A tool to listen to sync notifications and print them out. |
927 { | 931 { |
928 'target_name': 'sync_listen_notifications', | 932 'target_name': 'sync_listen_notifications', |
929 'type': 'executable', | 933 'type': 'executable', |
930 'dependencies': [ | 934 'dependencies': [ |
931 '../base/base.gyp:base', | 935 '../base/base.gyp:base', |
932 '../jingle/jingle.gyp:notifier', | 936 '../jingle/jingle.gyp:notifier', |
933 '../net/net.gyp:net', | 937 '../net/net.gyp:net', |
934 '../net/net.gyp:net_test_support', | 938 '../net/net.gyp:net_test_support', |
935 'sync', | 939 'sync', |
| 940 'test_support_sync_core', |
936 ], | 941 ], |
937 'sources': [ | 942 'sources': [ |
938 'tools/sync_listen_notifications.cc', | 943 'tools/sync_listen_notifications.cc', |
939 ], | 944 ], |
940 }, | 945 }, |
941 | 946 |
942 # A standalone command-line sync client. | 947 # A standalone command-line sync client. |
943 { | 948 { |
944 'target_name': 'sync_client', | 949 'target_name': 'sync_client', |
945 'type': 'executable', | 950 'type': 'executable', |
946 'defines': [ | 951 'defines': [ |
947 'SYNC_TEST', | 952 'SYNC_TEST', |
948 ], | 953 ], |
949 'dependencies': [ | 954 'dependencies': [ |
950 '../base/base.gyp:base', | 955 '../base/base.gyp:base', |
951 '../jingle/jingle.gyp:notifier', | 956 '../jingle/jingle.gyp:notifier', |
952 '../net/net.gyp:net', | 957 '../net/net.gyp:net', |
953 '../net/net.gyp:net_test_support', | 958 '../net/net.gyp:net_test_support', |
954 'sync', | 959 'sync', |
| 960 'test_support_sync_core', |
955 ], | 961 ], |
956 'sources': [ | 962 'sources': [ |
957 'tools/sync_client.cc', | 963 'tools/sync_client.cc', |
958 ], | 964 ], |
959 }, | 965 }, |
960 ], | 966 ], |
961 }], | 967 }], |
962 | 968 |
963 # Special target to wrap a gtest_target_type==shared_library | 969 # Special target to wrap a gtest_target_type==shared_library |
964 # sync_unit_tests into an android apk for execution. | 970 # sync_unit_tests into an android apk for execution. |
965 ['OS == "android" and gtest_target_type == "shared_library"', { | 971 ['OS == "android" and gtest_target_type == "shared_library"', { |
966 'targets': [ | 972 'targets': [ |
967 { | 973 { |
968 'target_name': 'sync_unit_tests_apk', | 974 'target_name': 'sync_unit_tests_apk', |
969 'type': 'none', | 975 'type': 'none', |
970 'dependencies': [ | 976 'dependencies': [ |
971 'sync_unit_tests', | 977 'sync_unit_tests', |
972 ], | 978 ], |
973 'variables': { | 979 'variables': { |
974 'test_suite_name': 'sync_unit_tests', | 980 'test_suite_name': 'sync_unit_tests', |
975 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit
_tests<(SHARED_LIB_SUFFIX)', | 981 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit
_tests<(SHARED_LIB_SUFFIX)', |
976 }, | 982 }, |
977 'includes': [ '../build/apk_test.gypi' ], | 983 'includes': [ '../build/apk_test.gypi' ], |
978 }, | 984 }, |
979 ], | 985 ], |
980 }], | 986 }], |
981 ], | 987 ], |
982 } | 988 } |
OLD | NEW |