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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 '../testing/gmock.gyp:gmock', | 104 '../testing/gmock.gyp:gmock', |
105 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n_proto_cpp', | 105 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n_proto_cpp', |
106 'sync', | 106 'sync', |
107 ], | 107 ], |
108 'export_dependent_settings': [ | 108 'export_dependent_settings': [ |
109 '../testing/gmock.gyp:gmock', | 109 '../testing/gmock.gyp:gmock', |
110 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n_proto_cpp', | 110 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n_proto_cpp', |
111 'sync', | 111 'sync', |
112 ], | 112 ], |
113 'sources': [ | 113 'sources': [ |
| 114 'notifier/fake_invalidation_handler.cc', |
| 115 'notifier/fake_invalidation_handler.h', |
114 'notifier/fake_invalidation_state_tracker.cc', | 116 'notifier/fake_invalidation_state_tracker.cc', |
115 'notifier/fake_invalidation_state_tracker.h', | 117 'notifier/fake_invalidation_state_tracker.h', |
116 'notifier/fake_invalidator.cc', | 118 'notifier/fake_invalidator.cc', |
117 'notifier/fake_invalidator.h', | 119 'notifier/fake_invalidator.h', |
118 'notifier/fake_invalidation_handler.cc', | |
119 'notifier/fake_invalidation_handler.h', | |
120 'notifier/invalidator_test_template.cc', | 120 'notifier/invalidator_test_template.cc', |
121 'notifier/invalidator_test_template.h', | 121 'notifier/invalidator_test_template.h', |
122 'notifier/object_id_invalidation_map_test_util.cc', | |
123 'notifier/object_id_invalidation_map_test_util.h', | |
124 ], | 122 ], |
125 }, | 123 }, |
126 | 124 |
127 # Test support files for the 'sync_internal_api' target. | 125 # Test support files for the 'sync_internal_api' target. |
128 { | 126 { |
129 'target_name': 'test_support_sync_internal_api', | 127 'target_name': 'test_support_sync_internal_api', |
130 'type': 'static_library', | 128 'type': 'static_library', |
131 'variables': { 'enable_wexit_time_destructors': 1, }, | 129 'variables': { 'enable_wexit_time_destructors': 1, }, |
132 'include_dirs': [ | 130 'include_dirs': [ |
133 '..', | 131 '..', |
134 ], | 132 ], |
135 'defines': [ | 133 'defines': [ |
136 'SYNC_TEST' | 134 'SYNC_TEST' |
137 ], | 135 ], |
138 'dependencies': [ | 136 'dependencies': [ |
139 '../base/base.gyp:base', | 137 '../base/base.gyp:base', |
140 '../testing/gtest.gyp:gtest', | 138 '../testing/gtest.gyp:gtest', |
141 'sync', | 139 'sync', |
142 'test_support_sync_core', | 140 'test_support_sync_core', |
143 ], | 141 ], |
144 'export_dependent_settings': [ | 142 'export_dependent_settings': [ |
145 '../testing/gtest.gyp:gtest', | 143 '../testing/gtest.gyp:gtest', |
146 'sync', | 144 'sync', |
147 'test_support_sync_core', | 145 'test_support_sync_core', |
148 ], | 146 ], |
149 'sources': [ | 147 'sources': [ |
150 'internal_api/public/base/invalidation_test_util.cc', | 148 'internal_api/public/base/invalidation_test_util.cc', |
151 'internal_api/public/base/invalidation_test_util.h', | 149 'internal_api/public/base/invalidation_test_util.h', |
| 150 'internal_api/public/base/object_id_invalidation_map_test_util.cc', |
| 151 'internal_api/public/base/object_id_invalidation_map_test_util.h', |
152 'internal_api/public/test/fake_sync_manager.h', | 152 'internal_api/public/test/fake_sync_manager.h', |
153 'internal_api/public/test/test_entry_factory.h', | 153 'internal_api/public/test/test_entry_factory.h', |
154 'internal_api/public/test/test_internal_components_factory.h', | 154 'internal_api/public/test/test_internal_components_factory.h', |
155 'internal_api/public/test/test_user_share.h', | 155 'internal_api/public/test/test_user_share.h', |
156 'internal_api/test/fake_sync_manager.cc', | 156 'internal_api/test/fake_sync_manager.cc', |
157 'internal_api/test/test_entry_factory.cc', | 157 'internal_api/test/test_entry_factory.cc', |
158 'internal_api/test/test_internal_components_factory.cc', | 158 'internal_api/test/test_internal_components_factory.cc', |
159 'internal_api/test/test_user_share.cc', | 159 'internal_api/test/test_user_share.cc', |
160 ], | 160 ], |
161 }, | 161 }, |
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
628 'variables': { | 628 'variables': { |
629 'test_suite_name': 'sync_unit_tests', | 629 'test_suite_name': 'sync_unit_tests', |
630 '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)', |
631 }, | 631 }, |
632 'includes': [ '../build/apk_test.gypi' ], | 632 'includes': [ '../build/apk_test.gypi' ], |
633 }, | 633 }, |
634 ], | 634 ], |
635 }], | 635 }], |
636 ], | 636 ], |
637 } | 637 } |
OLD | NEW |