| 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', |
| 11 'variables': { 'enable_wexit_time_destructors': 1, }, | 11 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 12 'include_dirs': [ | 12 'include_dirs': [ |
| 13 '..', | 13 '..', |
| 14 ], | 14 ], |
| 15 'defines': [ | 15 'defines': [ |
| 16 'SYNC_TEST' | 16 'SYNC_TEST' |
| 17 ], | 17 ], |
| 18 'dependencies': [ | 18 'dependencies': [ |
| 19 '../base/base.gyp:base', | 19 '../base/base.gyp:base', |
| 20 '../testing/gmock.gyp:gmock', | 20 '../testing/gmock.gyp:gmock', |
| 21 '../testing/gtest.gyp:gtest', | 21 '../testing/gtest.gyp:gtest', |
| 22 'sync', | 22 'sync', |
| 23 ], | 23 ], |
| 24 'export_dependent_settings': [ | 24 'export_dependent_settings': [ |
| 25 '../testing/gmock.gyp:gmock', | 25 '../testing/gmock.gyp:gmock', |
| 26 '../testing/gtest.gyp:gtest', | 26 '../testing/gtest.gyp:gtest', |
| 27 'sync', | 27 'sync', |
| 28 ], | 28 ], |
| 29 'sources': [ | 29 'sources': [ |
| 30 'internal_api/public/base/model_type_test_util.cc', |
| 31 'internal_api/public/base/model_type_test_util.h', |
| 30 'js/js_test_util.cc', | 32 'js/js_test_util.cc', |
| 31 'js/js_test_util.h', | 33 'js/js_test_util.h', |
| 32 'sessions/test_util.cc', | 34 'sessions/test_util.cc', |
| 33 'sessions/test_util.h', | 35 'sessions/test_util.h', |
| 34 'test/callback_counter.h', | 36 'test/callback_counter.h', |
| 35 'test/engine/fake_model_worker.cc', | 37 'test/engine/fake_model_worker.cc', |
| 36 'test/engine/fake_model_worker.h', | 38 'test/engine/fake_model_worker.h', |
| 37 'test/engine/fake_sync_scheduler.cc', | 39 'test/engine/fake_sync_scheduler.cc', |
| 38 'test/engine/fake_sync_scheduler.h', | 40 'test/engine/fake_sync_scheduler.h', |
| 39 'test/engine/mock_connection_manager.cc', | 41 'test/engine/mock_connection_manager.cc', |
| 40 'test/engine/mock_connection_manager.h', | 42 'test/engine/mock_connection_manager.h', |
| 41 'test/engine/syncer_command_test.cc', | 43 'test/engine/syncer_command_test.cc', |
| 42 'test/engine/syncer_command_test.h', | 44 'test/engine/syncer_command_test.h', |
| 43 'test/engine/test_directory_setter_upper.cc', | 45 'test/engine/test_directory_setter_upper.cc', |
| 44 'test/engine/test_directory_setter_upper.h', | 46 'test/engine/test_directory_setter_upper.h', |
| 45 'test/engine/test_id_factory.h', | 47 'test/engine/test_id_factory.h', |
| 46 'test/engine/test_syncable_utils.cc', | 48 'test/engine/test_syncable_utils.cc', |
| 47 'test/engine/test_syncable_utils.h', | 49 'test/engine/test_syncable_utils.h', |
| 48 'test/fake_encryptor.cc', | 50 'test/fake_encryptor.cc', |
| 49 'test/fake_encryptor.h', | 51 'test/fake_encryptor.h', |
| 52 'test/fake_sync_encryption_handler.cc', |
| 50 'test/fake_sync_encryption_handler.h', | 53 'test/fake_sync_encryption_handler.h', |
| 51 'test/fake_sync_encryption_handler.cc', | |
| 52 'test/test_transaction_observer.cc', | |
| 53 'test/test_transaction_observer.h', | |
| 54 'test/null_directory_change_delegate.cc', | 54 'test/null_directory_change_delegate.cc', |
| 55 'test/null_directory_change_delegate.h', | 55 'test/null_directory_change_delegate.h', |
| 56 'test/null_transaction_observer.cc', | 56 'test/null_transaction_observer.cc', |
| 57 'test/null_transaction_observer.h', | 57 'test/null_transaction_observer.h', |
| 58 'test/sessions/test_scoped_session_event_listener.h', | 58 'test/sessions/test_scoped_session_event_listener.h', |
| 59 'test/test_directory_backing_store.cc', | 59 'test/test_directory_backing_store.cc', |
| 60 'test/test_directory_backing_store.h', | 60 'test/test_directory_backing_store.h', |
| 61 'test/test_transaction_observer.cc', |
| 62 'test/test_transaction_observer.h', |
| 61 'util/test_unrecoverable_error_handler.cc', | 63 'util/test_unrecoverable_error_handler.cc', |
| 62 'util/test_unrecoverable_error_handler.h', | 64 'util/test_unrecoverable_error_handler.h', |
| 63 ], | 65 ], |
| 64 }, | 66 }, |
| 65 | 67 |
| 66 # Test support files for the python sync test server. | 68 # Test support files for the python sync test server. |
| 67 { | 69 { |
| 68 'target_name': 'test_support_sync_testserver', | 70 'target_name': 'test_support_sync_testserver', |
| 69 'type': 'static_library', | 71 'type': 'static_library', |
| 70 'variables': { 'enable_wexit_time_destructors': 1, }, | 72 'variables': { 'enable_wexit_time_destructors': 1, }, |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 'test_support_sync_core', | 142 'test_support_sync_core', |
| 141 ], | 143 ], |
| 142 'export_dependent_settings': [ | 144 'export_dependent_settings': [ |
| 143 '../testing/gtest.gyp:gtest', | 145 '../testing/gtest.gyp:gtest', |
| 144 'sync', | 146 'sync', |
| 145 'test_support_sync_core', | 147 'test_support_sync_core', |
| 146 ], | 148 ], |
| 147 'sources': [ | 149 'sources': [ |
| 148 'internal_api/public/base/invalidation_test_util.cc', | 150 'internal_api/public/base/invalidation_test_util.cc', |
| 149 'internal_api/public/base/invalidation_test_util.h', | 151 'internal_api/public/base/invalidation_test_util.h', |
| 150 'internal_api/public/base/model_type_invalidation_map_test_util.cc', | |
| 151 'internal_api/public/base/model_type_invalidation_map_test_util.h', | |
| 152 'internal_api/public/base/model_type_test_util.cc', | |
| 153 'internal_api/public/base/model_type_test_util.h', | |
| 154 'internal_api/public/test/fake_sync_manager.h', | 152 'internal_api/public/test/fake_sync_manager.h', |
| 155 'internal_api/public/test/test_entry_factory.h', | 153 'internal_api/public/test/test_entry_factory.h', |
| 156 'internal_api/public/test/test_internal_components_factory.h', | 154 'internal_api/public/test/test_internal_components_factory.h', |
| 157 'internal_api/public/test/test_user_share.h', | 155 'internal_api/public/test/test_user_share.h', |
| 158 'internal_api/test/fake_sync_manager.cc', | 156 'internal_api/test/fake_sync_manager.cc', |
| 159 'internal_api/test/test_entry_factory.cc', | 157 'internal_api/test/test_entry_factory.cc', |
| 160 'internal_api/test/test_internal_components_factory.cc', | 158 'internal_api/test/test_internal_components_factory.cc', |
| 161 'internal_api/test/test_user_share.cc', | 159 'internal_api/test/test_user_share.cc', |
| 162 ], | 160 ], |
| 163 }, | 161 }, |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 '../testing/gtest.gyp:gtest', | 220 '../testing/gtest.gyp:gtest', |
| 223 'sync', | 221 'sync', |
| 224 'test_support_sync_core', | 222 'test_support_sync_core', |
| 225 ], | 223 ], |
| 226 'direct_dependent_settings': { | 224 'direct_dependent_settings': { |
| 227 'include_dirs': [ | 225 'include_dirs': [ |
| 228 '..', | 226 '..', |
| 229 ], | 227 ], |
| 230 'sources': [ | 228 'sources': [ |
| 231 'internal_api/public/base/enum_set_unittest.cc', | 229 'internal_api/public/base/enum_set_unittest.cc', |
| 232 'internal_api/public/base/model_type_invalidation_map_unittest.cc', | |
| 233 'internal_api/public/base/node_ordinal_unittest.cc', | 230 'internal_api/public/base/node_ordinal_unittest.cc', |
| 234 'internal_api/public/base/ordinal_unittest.cc', | 231 'internal_api/public/base/ordinal_unittest.cc', |
| 235 'internal_api/public/base/unique_position_unittest.cc', | 232 'internal_api/public/base/unique_position_unittest.cc', |
| 236 'internal_api/public/engine/model_safe_worker_unittest.cc', | 233 'internal_api/public/engine/model_safe_worker_unittest.cc', |
| 237 'internal_api/public/util/immutable_unittest.cc', | 234 'internal_api/public/util/immutable_unittest.cc', |
| 238 'internal_api/public/util/weak_handle_unittest.cc', | 235 'internal_api/public/util/weak_handle_unittest.cc', |
| 239 'engine/apply_control_data_updates_unittest.cc', | 236 'engine/apply_control_data_updates_unittest.cc', |
| 240 'engine/apply_updates_and_resolve_conflicts_command_unittest.cc', | 237 'engine/apply_updates_and_resolve_conflicts_command_unittest.cc', |
| 241 'engine/backoff_delay_provider_unittest.cc', | 238 'engine/backoff_delay_provider_unittest.cc', |
| 242 'engine/download_unittest.cc', | 239 'engine/download_unittest.cc', |
| (...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 631 'variables': { | 628 'variables': { |
| 632 'test_suite_name': 'sync_unit_tests', | 629 'test_suite_name': 'sync_unit_tests', |
| 633 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit
_tests<(SHARED_LIB_SUFFIX)', | 630 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit
_tests<(SHARED_LIB_SUFFIX)', |
| 634 }, | 631 }, |
| 635 'includes': [ '../build/apk_test.gypi' ], | 632 'includes': [ '../build/apk_test.gypi' ], |
| 636 }, | 633 }, |
| 637 ], | 634 ], |
| 638 }], | 635 }], |
| 639 ], | 636 ], |
| 640 } | 637 } |
| OLD | NEW |