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 'variables': { | |
7 'chromium_code': 1, | |
8 }, | |
9 'targets': [ | 6 'targets': [ |
10 # The core sync library. | |
11 { | |
12 'target_name': 'sync_core', | |
13 'type': 'static_library', | |
14 'variables': { 'enable_wexit_time_destructors': 1, }, | |
15 'include_dirs': [ | |
16 '..', | |
17 ], | |
18 'defines': [ | |
19 'SYNC_IMPLEMENTATION', | |
20 ], | |
21 'dependencies': [ | |
22 '../base/base.gyp:base', | |
23 '../build/temp_gyp/googleurl.gyp:googleurl', | |
24 '../crypto/crypto.gyp:crypto', | |
25 '../google_apis/google_apis.gyp:google_apis', | |
26 '../net/net.gyp:net', | |
27 '../sql/sql.gyp:sql', | |
28 'protocol/sync_proto.gyp:sync_proto', | |
29 ], | |
30 'conditions': [ | |
31 ['OS=="linux" and chromeos==1', { | |
32 # Required by get_session_name.cc on Chrome OS. | |
33 'dependencies': [ | |
34 '../chromeos/chromeos.gyp:chromeos', | |
35 ], | |
36 }], | |
37 ], | |
38 'export_dependent_settings': [ | |
39 # Propagate sync_proto since our headers include its generated | |
40 # files. | |
41 'protocol/sync_proto.gyp:sync_proto', | |
42 ], | |
43 'sources': [ | |
44 'base/sync_export.h', | |
45 'engine/all_status.cc', | |
46 'engine/all_status.h', | |
47 'engine/apply_control_data_updates.cc', | |
48 'engine/apply_control_data_updates.h', | |
49 'engine/apply_updates_and_resolve_conflicts_command.cc', | |
50 'engine/apply_updates_and_resolve_conflicts_command.h', | |
51 'engine/backoff_delay_provider.cc', | |
52 'engine/backoff_delay_provider.h', | |
53 'engine/build_commit_command.cc', | |
54 'engine/build_commit_command.h', | |
55 'engine/commit.cc', | |
56 'engine/commit.h', | |
57 'engine/conflict_resolver.cc', | |
58 'engine/conflict_resolver.h', | |
59 'engine/conflict_util.cc', | |
60 'engine/conflict_util.h', | |
61 'engine/download_updates_command.cc', | |
62 'engine/download_updates_command.h', | |
63 'engine/get_commit_ids_command.cc', | |
64 'engine/get_commit_ids_command.h', | |
65 'engine/model_changing_syncer_command.cc', | |
66 'engine/model_changing_syncer_command.h', | |
67 'engine/net/server_connection_manager.cc', | |
68 'engine/net/server_connection_manager.h', | |
69 'engine/net/url_translator.cc', | |
70 'engine/net/url_translator.h', | |
71 'engine/nudge_source.cc', | |
72 'engine/nudge_source.h', | |
73 'engine/process_commit_response_command.cc', | |
74 'engine/process_commit_response_command.h', | |
75 'engine/process_updates_command.cc', | |
76 'engine/process_updates_command.h', | |
77 'engine/store_timestamps_command.cc', | |
78 'engine/store_timestamps_command.h', | |
79 'engine/sync_engine_event.cc', | |
80 'engine/sync_engine_event.h', | |
81 'engine/sync_scheduler.cc', | |
82 'engine/sync_scheduler.h', | |
83 'engine/sync_scheduler_impl.cc', | |
84 'engine/sync_scheduler_impl.h', | |
85 'engine/sync_session_job.cc', | |
86 'engine/sync_session_job.h', | |
87 'engine/syncer.cc', | |
88 'engine/syncer.h', | |
89 'engine/syncer_command.cc', | |
90 'engine/syncer_command.h', | |
91 'engine/syncer_proto_util.cc', | |
92 'engine/syncer_proto_util.h', | |
93 'engine/syncer_types.h', | |
94 'engine/syncer_util.cc', | |
95 'engine/syncer_util.h', | |
96 'engine/throttled_data_type_tracker.cc', | |
97 'engine/throttled_data_type_tracker.h', | |
98 'engine/traffic_logger.cc', | |
99 'engine/traffic_logger.h', | |
100 'engine/traffic_recorder.cc', | |
101 'engine/traffic_recorder.h', | |
102 'engine/update_applicator.cc', | |
103 'engine/update_applicator.h', | |
104 'js/js_arg_list.cc', | |
105 'js/js_arg_list.h', | |
106 'js/js_backend.h', | |
107 'js/js_controller.h', | |
108 'js/js_event_details.cc', | |
109 'js/js_event_details.h', | |
110 'js/js_event_handler.h', | |
111 'js/js_reply_handler.h', | |
112 'js/sync_js_controller.cc', | |
113 'js/sync_js_controller.h', | |
114 'protocol/proto_enum_conversions.cc', | |
115 'protocol/proto_enum_conversions.h', | |
116 'protocol/proto_value_conversions.cc', | |
117 'protocol/proto_value_conversions.h', | |
118 'protocol/sync_protocol_error.cc', | |
119 'protocol/sync_protocol_error.h', | |
120 'sessions/debug_info_getter.h', | |
121 'sessions/ordered_commit_set.cc', | |
122 'sessions/ordered_commit_set.h', | |
123 'sessions/status_controller.cc', | |
124 'sessions/status_controller.h', | |
125 'sessions/sync_session.cc', | |
126 'sessions/sync_session.h', | |
127 'sessions/sync_session_context.cc', | |
128 'sessions/sync_session_context.h', | |
129 'syncable/blob.h', | |
130 'syncable/dir_open_result.h', | |
131 'syncable/directory.cc', | |
132 'syncable/directory.h', | |
133 'syncable/directory_backing_store.cc', | |
134 'syncable/directory_backing_store.h', | |
135 'syncable/directory_change_delegate.h', | |
136 'syncable/entry.cc', | |
137 'syncable/entry.h', | |
138 'syncable/entry_kernel.cc', | |
139 'syncable/entry_kernel.h', | |
140 'syncable/in_memory_directory_backing_store.cc', | |
141 'syncable/in_memory_directory_backing_store.h', | |
142 'syncable/invalid_directory_backing_store.cc', | |
143 'syncable/invalid_directory_backing_store.h', | |
144 'syncable/metahandle_set.h', | |
145 'syncable/model_type.cc', | |
146 'syncable/mutable_entry.cc', | |
147 'syncable/mutable_entry.h', | |
148 'syncable/nigori_handler.cc', | |
149 'syncable/nigori_handler.h', | |
150 'syncable/nigori_util.cc', | |
151 'syncable/nigori_util.h', | |
152 'syncable/on_disk_directory_backing_store.cc', | |
153 'syncable/on_disk_directory_backing_store.h', | |
154 'syncable/scoped_kernel_lock.h', | |
155 'syncable/syncable-inl.h', | |
156 'syncable/syncable_base_transaction.cc', | |
157 'syncable/syncable_base_transaction.h', | |
158 'syncable/syncable_changes_version.h', | |
159 'syncable/syncable_columns.h', | |
160 'syncable/syncable_delete_journal.cc', | |
161 'syncable/syncable_delete_journal.h', | |
162 'syncable/syncable_enum_conversions.cc', | |
163 'syncable/syncable_enum_conversions.h', | |
164 'syncable/syncable_id.cc', | |
165 'syncable/syncable_id.h', | |
166 'syncable/syncable_proto_util.cc', | |
167 'syncable/syncable_proto_util.h', | |
168 'syncable/syncable_read_transaction.cc', | |
169 'syncable/syncable_read_transaction.h', | |
170 'syncable/syncable_util.cc', | |
171 'syncable/syncable_util.h', | |
172 'syncable/syncable_write_transaction.cc', | |
173 'syncable/syncable_write_transaction.h', | |
174 'syncable/transaction_observer.h', | |
175 'syncable/write_transaction_info.cc', | |
176 'syncable/write_transaction_info.h', | |
177 'util/cryptographer.cc', | |
178 'util/cryptographer.h', | |
179 | |
180 # TODO(akalin): Figure out a better place to put | |
181 # data_encryption_win*; it's also used by autofill. | |
182 'util/data_encryption_win.cc', | |
183 'util/data_encryption_win.h', | |
184 | |
185 'util/data_type_histogram.h', | |
186 'util/encryptor.h', | |
187 'util/extensions_activity_monitor.cc', | |
188 'util/extensions_activity_monitor.h', | |
189 'util/get_session_name.cc', | |
190 'util/get_session_name.h', | |
191 'util/get_session_name_ios.mm', | |
192 'util/get_session_name_ios.h', | |
193 'util/get_session_name_mac.mm', | |
194 'util/get_session_name_mac.h', | |
195 'util/get_session_name_win.cc', | |
196 'util/get_session_name_win.h', | |
197 'util/logging.cc', | |
198 'util/logging.h', | |
199 'util/nigori.cc', | |
200 'util/nigori.h', | |
201 'util/time.cc', | |
202 'util/time.h', | |
203 ], | |
204 }, | |
205 | |
206 # The sync notifications library. | |
207 { | |
208 'target_name': 'sync_notifier', | |
209 'type': 'static_library', | |
210 'variables': { 'enable_wexit_time_destructors': 1, }, | |
211 'include_dirs': [ | |
212 '..', | |
213 ], | |
214 'dependencies': [ | |
215 '../base/base.gyp:base', | |
216 '../jingle/jingle.gyp:jingle_glue', | |
217 '../jingle/jingle.gyp:notifier', | |
218 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n', | |
219 # TODO(akalin): Remove this (http://crbug.com/133352). | |
220 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n_proto_cpp', | |
221 '../third_party/libjingle/libjingle.gyp:libjingle', | |
222 'sync_core', | |
223 ], | |
224 'export_dependent_settings': [ | |
225 '../jingle/jingle.gyp:notifier', | |
226 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n', | |
227 ], | |
228 'sources': [ | |
229 'notifier/invalidation_handler.h', | |
230 'notifier/invalidation_state_tracker.cc', | |
231 'notifier/invalidation_state_tracker.h', | |
232 'notifier/invalidation_util.cc', | |
233 'notifier/invalidation_util.h', | |
234 'notifier/invalidator_factory.cc', | |
235 'notifier/invalidator_factory.h', | |
236 'notifier/invalidator.h', | |
237 'notifier/invalidator_registrar.cc', | |
238 'notifier/invalidator_registrar.h', | |
239 'notifier/invalidator_state.cc', | |
240 'notifier/invalidator_state.h', | |
241 'notifier/object_id_invalidation_map.cc', | |
242 'notifier/object_id_invalidation_map.h', | |
243 ], | |
244 'conditions': [ | |
245 ['OS != "android"', { | |
246 'sources': [ | |
247 'notifier/ack_tracker.cc', | |
248 'notifier/ack_tracker.h', | |
249 'notifier/invalidation_notifier.cc', | |
250 'notifier/invalidation_notifier.h', | |
251 'notifier/non_blocking_invalidator.cc', | |
252 'notifier/non_blocking_invalidator.h', | |
253 'notifier/p2p_invalidator.cc', | |
254 'notifier/p2p_invalidator.h', | |
255 'notifier/push_client_channel.cc', | |
256 'notifier/push_client_channel.h', | |
257 'notifier/registration_manager.cc', | |
258 'notifier/registration_manager.h', | |
259 'notifier/state_writer.h', | |
260 'notifier/sync_invalidation_listener.cc', | |
261 'notifier/sync_invalidation_listener.h', | |
262 'notifier/sync_system_resources.cc', | |
263 'notifier/sync_system_resources.h', | |
264 ], | |
265 }], | |
266 ], | |
267 }, | |
268 # The sync internal API library. | |
269 { | |
270 'target_name': 'sync_internal_api', | |
271 'type': 'static_library', | |
272 'variables': { 'enable_wexit_time_destructors': 1, }, | |
273 'include_dirs': [ | |
274 '..', | |
275 ], | |
276 'dependencies': [ | |
277 '../base/base.gyp:base', | |
278 '../build/temp_gyp/googleurl.gyp:googleurl', | |
279 '../net/net.gyp:net', | |
280 'protocol/sync_proto.gyp:sync_proto', | |
281 'sync_core', | |
282 'sync_notifier', | |
283 ], | |
284 'export_dependent_settings': [ | |
285 # Propagate sync_proto since our headers include its generated | |
286 # files. | |
287 'protocol/sync_proto.gyp:sync_proto', | |
288 'sync_core', | |
289 ], | |
290 'sources': [ | |
291 'internal_api/base_node.cc', | |
292 'internal_api/base_transaction.cc', | |
293 'internal_api/change_record.cc', | |
294 'internal_api/change_reorder_buffer.cc', | |
295 'internal_api/change_reorder_buffer.h', | |
296 'internal_api/debug_info_event_listener.cc', | |
297 'internal_api/debug_info_event_listener.h', | |
298 'internal_api/http_bridge.cc', | |
299 'internal_api/internal_components_factory_impl.cc', | |
300 'internal_api/js_mutation_event_observer.cc', | |
301 'internal_api/js_mutation_event_observer.h', | |
302 'internal_api/js_sync_encryption_handler_observer.cc', | |
303 'internal_api/js_sync_encryption_handler_observer.h', | |
304 'internal_api/js_sync_manager_observer.cc', | |
305 'internal_api/js_sync_manager_observer.h', | |
306 'internal_api/public/base/enum_set.h', | |
307 'internal_api/public/base/invalidation.cc', | |
308 'internal_api/public/base/invalidation.h', | |
309 'internal_api/public/base/model_type.h', | |
310 'internal_api/public/base/model_type_invalidation_map.cc', | |
311 'internal_api/public/base/model_type_invalidation_map.h', | |
312 'internal_api/public/base/node_ordinal.cc', | |
313 'internal_api/public/base/node_ordinal.h', | |
314 'internal_api/public/base/ordinal.h', | |
315 'internal_api/public/base/progress_marker_map.cc', | |
316 'internal_api/public/base/progress_marker_map.h', | |
317 'internal_api/public/base/unique_position.cc', | |
318 'internal_api/public/base/unique_position.h', | |
319 'internal_api/public/base_node.h', | |
320 'internal_api/public/base_transaction.h', | |
321 'internal_api/public/change_record.h', | |
322 'internal_api/public/configure_reason.h', | |
323 'internal_api/public/data_type_association_stats.cc', | |
324 'internal_api/public/data_type_association_stats.h', | |
325 'internal_api/public/data_type_debug_info_listener.h', | |
326 'internal_api/public/engine/model_safe_worker.cc', | |
327 'internal_api/public/engine/model_safe_worker.h', | |
328 'internal_api/public/engine/passive_model_worker.cc', | |
329 'internal_api/public/engine/passive_model_worker.h', | |
330 'internal_api/public/engine/polling_constants.cc', | |
331 'internal_api/public/engine/polling_constants.h', | |
332 'internal_api/public/engine/sync_status.cc', | |
333 'internal_api/public/engine/sync_status.h', | |
334 'internal_api/public/http_bridge.h', | |
335 'internal_api/public/http_post_provider_factory.h', | |
336 'internal_api/public/http_post_provider_interface.h', | |
337 'internal_api/public/internal_components_factory_impl.h', | |
338 'internal_api/public/internal_components_factory.h', | |
339 'internal_api/public/delete_journal.h', | |
340 'internal_api/public/read_node.h', | |
341 'internal_api/public/read_transaction.h', | |
342 'internal_api/public/sessions/model_neutral_state.cc', | |
343 'internal_api/public/sessions/model_neutral_state.h', | |
344 'internal_api/public/sessions/sync_session_snapshot.cc', | |
345 'internal_api/public/sessions/sync_session_snapshot.h', | |
346 'internal_api/public/sessions/sync_source_info.cc', | |
347 'internal_api/public/sessions/sync_source_info.h', | |
348 'internal_api/public/sync_encryption_handler.cc', | |
349 'internal_api/public/sync_encryption_handler.h', | |
350 'internal_api/public/sync_manager_factory.h', | |
351 'internal_api/public/sync_manager.cc', | |
352 'internal_api/public/sync_manager.h', | |
353 'internal_api/public/user_share.h', | |
354 'internal_api/public/util/experiments.h', | |
355 'internal_api/public/util/immutable.h', | |
356 'internal_api/public/util/report_unrecoverable_error_function.h', | |
357 'internal_api/public/util/sync_string_conversions.cc', | |
358 'internal_api/public/util/sync_string_conversions.h', | |
359 'internal_api/public/util/syncer_error.cc', | |
360 'internal_api/public/util/syncer_error.h', | |
361 'internal_api/public/util/unrecoverable_error_handler.h', | |
362 'internal_api/public/util/unrecoverable_error_info.cc', | |
363 'internal_api/public/util/unrecoverable_error_info.h', | |
364 'internal_api/public/util/weak_handle.cc', | |
365 'internal_api/public/util/weak_handle.h', | |
366 'internal_api/public/write_node.h', | |
367 'internal_api/public/write_transaction.h', | |
368 'internal_api/delete_journal.cc', | |
369 'internal_api/read_node.cc', | |
370 'internal_api/read_transaction.cc', | |
371 'internal_api/sync_encryption_handler_impl.cc', | |
372 'internal_api/sync_encryption_handler_impl.h', | |
373 'internal_api/sync_manager_factory.cc', | |
374 'internal_api/sync_manager_impl.cc', | |
375 'internal_api/sync_manager_impl.h', | |
376 'internal_api/syncapi_internal.cc', | |
377 'internal_api/syncapi_internal.h', | |
378 'internal_api/syncapi_server_connection_manager.cc', | |
379 'internal_api/syncapi_server_connection_manager.h', | |
380 'internal_api/user_share.cc', | |
381 'internal_api/write_node.cc', | |
382 'internal_api/write_transaction.cc', | |
383 ], | |
384 }, | |
385 | |
386 # The sync external API library. | |
387 { | |
388 'target_name': 'sync_api', | |
389 'type': 'static_library', | |
390 'variables': { 'enable_wexit_time_destructors': 1, }, | |
391 'include_dirs': [ | |
392 '..', | |
393 ], | |
394 'dependencies': [ | |
395 '../base/base.gyp:base', | |
396 'protocol/sync_proto.gyp:sync_proto', | |
397 'sync_internal_api', | |
398 ], | |
399 # We avoid including header files from sync_proto in our public | |
400 # header files so we don't need to export its settings. | |
401 'sources': [ | |
402 'api/string_ordinal.h', | |
403 'api/syncable_service.cc', | |
404 'api/syncable_service.h', | |
405 'api/sync_data.h', | |
406 'api/sync_data.cc', | |
407 'api/sync_change.h', | |
408 'api/sync_change.cc', | |
409 'api/sync_change_processor.h', | |
410 'api/sync_change_processor.cc', | |
411 'api/sync_error.h', | |
412 'api/sync_error.cc', | |
413 'api/sync_error_factory.h', | |
414 'api/sync_error_factory.cc', | |
415 'api/sync_merge_result.h', | |
416 'api/sync_merge_result.cc', | |
417 'api/time.h', | |
418 ], | |
419 }, | |
420 | |
421 # The componentized sync library. | |
422 { | |
423 'target_name': 'sync_component', | |
424 # TODO(rsimha): Change the type of this target to '<(component)' after | |
425 # exporting dependencies on 'sync_proto'. | |
426 'type': 'none', | |
427 'dependencies': [ | |
428 'sync_api', | |
429 'sync_core', | |
430 'sync_notifier', | |
431 'sync_internal_api', | |
432 ], | |
433 'export_dependent_settings': [ | |
434 'sync_api', | |
435 'sync_core', | |
436 'sync_notifier', | |
437 'sync_internal_api', | |
438 ], | |
439 }, | |
440 | |
441 # The public sync target. This depends on 'sync_component' and | |
442 # 'sync_proto' separately since 'sync_proto' isn't exportable from | |
443 # 'sync_component' (for now). | |
444 { | |
445 'target_name': 'sync', | |
446 'type': 'none', | |
447 'dependencies': [ | |
448 'sync_component', | |
449 'protocol/sync_proto.gyp:sync_proto', | |
450 ], | |
451 'export_dependent_settings': [ | |
452 'sync_component', | |
453 'protocol/sync_proto.gyp:sync_proto', | |
454 ], | |
455 }, | |
456 | |
457 # Test support files for the 'sync_core' target. | 7 # Test support files for the 'sync_core' target. |
458 { | 8 { |
459 'target_name': 'test_support_sync_core', | 9 'target_name': 'test_support_sync_core', |
460 'type': 'static_library', | 10 'type': 'static_library', |
461 'variables': { 'enable_wexit_time_destructors': 1, }, | 11 'variables': { 'enable_wexit_time_destructors': 1, }, |
462 'include_dirs': [ | 12 'include_dirs': [ |
463 '..', | 13 '..', |
464 ], | 14 ], |
| 15 'defines': [ |
| 16 'SYNC_TEST' |
| 17 ], |
465 'dependencies': [ | 18 'dependencies': [ |
466 '../base/base.gyp:base', | 19 '../base/base.gyp:base', |
467 '../testing/gmock.gyp:gmock', | 20 '../testing/gmock.gyp:gmock', |
468 '../testing/gtest.gyp:gtest', | 21 '../testing/gtest.gyp:gtest', |
469 'protocol/sync_proto.gyp:sync_proto', | 22 'sync', |
470 'sync_core', | |
471 ], | 23 ], |
472 'export_dependent_settings': [ | 24 'export_dependent_settings': [ |
473 '../testing/gmock.gyp:gmock', | 25 '../testing/gmock.gyp:gmock', |
474 '../testing/gtest.gyp:gtest', | 26 '../testing/gtest.gyp:gtest', |
475 'protocol/sync_proto.gyp:sync_proto', | 27 'sync', |
476 'sync_core', | |
477 ], | 28 ], |
478 'sources': [ | 29 'sources': [ |
479 'js/js_test_util.cc', | 30 'js/js_test_util.cc', |
480 'js/js_test_util.h', | 31 'js/js_test_util.h', |
481 'sessions/test_util.cc', | 32 'sessions/test_util.cc', |
482 'sessions/test_util.h', | 33 'sessions/test_util.h', |
483 'syncable/syncable_mock.cc', | 34 'syncable/syncable_mock.cc', |
484 'syncable/syncable_mock.h', | 35 'syncable/syncable_mock.h', |
485 'test/callback_counter.h', | 36 'test/callback_counter.h', |
486 'test/engine/fake_model_worker.cc', | 37 'test/engine/fake_model_worker.cc', |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
520 { | 71 { |
521 'target_name': 'test_support_sync_testserver', | 72 'target_name': 'test_support_sync_testserver', |
522 'type': 'static_library', | 73 'type': 'static_library', |
523 'variables': { 'enable_wexit_time_destructors': 1, }, | 74 'variables': { 'enable_wexit_time_destructors': 1, }, |
524 'include_dirs': [ | 75 'include_dirs': [ |
525 '..', | 76 '..', |
526 ], | 77 ], |
527 'dependencies': [ | 78 'dependencies': [ |
528 '../base/base.gyp:base', | 79 '../base/base.gyp:base', |
529 '../net/net.gyp:net_test_support', | 80 '../net/net.gyp:net_test_support', |
530 | |
531 # The sync test server uses Python modules generated by the sync protos. | 81 # The sync test server uses Python modules generated by the sync protos. |
532 '../third_party/protobuf/protobuf.gyp:py_proto', | 82 '../third_party/protobuf/protobuf.gyp:py_proto', |
533 'protocol/sync_proto.gyp:sync_proto', | 83 'sync', |
534 ], | 84 ], |
535 'export_dependent_settings': [ | 85 'export_dependent_settings': [ |
536 '../base/base.gyp:base', | 86 '../base/base.gyp:base', |
537 '../net/net.gyp:net_test_support', | 87 '../net/net.gyp:net_test_support', |
538 ], | 88 ], |
539 'sources': [ | 89 'sources': [ |
540 'test/local_sync_test_server.cc', | 90 'test/local_sync_test_server.cc', |
541 'test/local_sync_test_server.h', | 91 'test/local_sync_test_server.h', |
542 ], | 92 ], |
543 }, | 93 }, |
544 | 94 |
545 # Test support files for the 'sync_notifier' target. | 95 # Test support files for the 'sync_notifier' target. |
546 { | 96 { |
547 'target_name': 'test_support_sync_notifier', | 97 'target_name': 'test_support_sync_notifier', |
548 'type': 'static_library', | 98 'type': 'static_library', |
549 'include_dirs': [ | 99 'include_dirs': [ |
550 '..', | 100 '..', |
551 ], | 101 ], |
| 102 'defines': [ |
| 103 'SYNC_TEST' |
| 104 ], |
552 'dependencies': [ | 105 'dependencies': [ |
553 '../testing/gmock.gyp:gmock', | 106 '../testing/gmock.gyp:gmock', |
554 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n_proto_cpp', | 107 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n_proto_cpp', |
555 'sync_internal_api', | 108 'sync', |
556 'sync_notifier', | |
557 ], | 109 ], |
558 'export_dependent_settings': [ | 110 'export_dependent_settings': [ |
559 '../testing/gmock.gyp:gmock', | 111 '../testing/gmock.gyp:gmock', |
560 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n_proto_cpp', | 112 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n_proto_cpp', |
561 'sync_internal_api', | 113 'sync', |
562 'sync_notifier', | |
563 ], | 114 ], |
564 'sources': [ | 115 'sources': [ |
565 'notifier/fake_invalidation_state_tracker.cc', | 116 'notifier/fake_invalidation_state_tracker.cc', |
566 'notifier/fake_invalidation_state_tracker.h', | 117 'notifier/fake_invalidation_state_tracker.h', |
567 'notifier/fake_invalidator.cc', | 118 'notifier/fake_invalidator.cc', |
568 'notifier/fake_invalidator.h', | 119 'notifier/fake_invalidator.h', |
569 'notifier/fake_invalidation_handler.cc', | 120 'notifier/fake_invalidation_handler.cc', |
570 'notifier/fake_invalidation_handler.h', | 121 'notifier/fake_invalidation_handler.h', |
571 'notifier/invalidator_test_template.cc', | 122 'notifier/invalidator_test_template.cc', |
572 'notifier/invalidator_test_template.h', | 123 'notifier/invalidator_test_template.h', |
573 'notifier/object_id_invalidation_map_test_util.cc', | 124 'notifier/object_id_invalidation_map_test_util.cc', |
574 'notifier/object_id_invalidation_map_test_util.h', | 125 'notifier/object_id_invalidation_map_test_util.h', |
575 ], | 126 ], |
576 }, | 127 }, |
577 | 128 |
578 # Test support files for the 'sync_internal_api' target. | 129 # Test support files for the 'sync_internal_api' target. |
579 { | 130 { |
580 'target_name': 'test_support_sync_internal_api', | 131 'target_name': 'test_support_sync_internal_api', |
581 'type': 'static_library', | 132 'type': 'static_library', |
582 'variables': { 'enable_wexit_time_destructors': 1, }, | 133 'variables': { 'enable_wexit_time_destructors': 1, }, |
583 'include_dirs': [ | 134 'include_dirs': [ |
584 '..', | 135 '..', |
585 ], | 136 ], |
| 137 'defines': [ |
| 138 'SYNC_TEST' |
| 139 ], |
586 'dependencies': [ | 140 'dependencies': [ |
587 '../base/base.gyp:base', | 141 '../base/base.gyp:base', |
588 '../testing/gtest.gyp:gtest', | 142 '../testing/gtest.gyp:gtest', |
589 'protocol/sync_proto.gyp:sync_proto', | 143 'sync', |
590 'sync_core', | |
591 'sync_internal_api', | |
592 'sync_notifier', | |
593 'test_support_sync_core', | 144 'test_support_sync_core', |
594 ], | 145 ], |
595 'export_dependent_settings': [ | 146 'export_dependent_settings': [ |
596 '../testing/gtest.gyp:gtest', | 147 '../testing/gtest.gyp:gtest', |
597 'protocol/sync_proto.gyp:sync_proto', | 148 'sync', |
598 'sync_core', | |
599 'sync_internal_api', | |
600 'sync_notifier', | |
601 'test_support_sync_core', | 149 'test_support_sync_core', |
602 ], | 150 ], |
603 'sources': [ | 151 'sources': [ |
604 'internal_api/public/base/invalidation_test_util.cc', | 152 'internal_api/public/base/invalidation_test_util.cc', |
605 'internal_api/public/base/invalidation_test_util.h', | 153 'internal_api/public/base/invalidation_test_util.h', |
606 'internal_api/public/base/model_type_invalidation_map_test_util.cc', | 154 'internal_api/public/base/model_type_invalidation_map_test_util.cc', |
607 'internal_api/public/base/model_type_invalidation_map_test_util.h', | 155 'internal_api/public/base/model_type_invalidation_map_test_util.h', |
608 'internal_api/public/base/model_type_test_util.cc', | 156 'internal_api/public/base/model_type_test_util.cc', |
609 'internal_api/public/base/model_type_test_util.h', | 157 'internal_api/public/base/model_type_test_util.h', |
610 'internal_api/public/test/fake_sync_manager.h', | 158 'internal_api/public/test/fake_sync_manager.h', |
611 'internal_api/public/test/test_entry_factory.h', | 159 'internal_api/public/test/test_entry_factory.h', |
612 'internal_api/public/test/test_internal_components_factory.h', | 160 'internal_api/public/test/test_internal_components_factory.h', |
613 'internal_api/public/test/test_user_share.h', | 161 'internal_api/public/test/test_user_share.h', |
614 'internal_api/test/fake_sync_manager.cc', | 162 'internal_api/test/fake_sync_manager.cc', |
615 'internal_api/test/test_entry_factory.cc', | 163 'internal_api/test/test_entry_factory.cc', |
616 'internal_api/test/test_internal_components_factory.cc', | 164 'internal_api/test/test_internal_components_factory.cc', |
617 'internal_api/test/test_user_share.cc', | 165 'internal_api/test/test_user_share.cc', |
618 ], | 166 ], |
619 }, | 167 }, |
620 | 168 |
621 # Test support files for the 'sync_api' target. | 169 # Test support files for the 'sync_api' target. |
622 { | 170 { |
623 'target_name': 'test_support_sync_api', | 171 'target_name': 'test_support_sync_api', |
624 'type': 'static_library', | 172 'type': 'static_library', |
625 'include_dirs': [ | 173 'include_dirs': [ |
626 '..', | 174 '..', |
627 ], | 175 ], |
| 176 'defines': [ |
| 177 'SYNC_TEST' |
| 178 ], |
628 'dependencies': [ | 179 'dependencies': [ |
629 '../testing/gmock.gyp:gmock', | 180 '../testing/gmock.gyp:gmock', |
630 'sync_api', | 181 'sync', |
631 ], | 182 ], |
632 'export_dependent_settings': [ | 183 'export_dependent_settings': [ |
633 '../testing/gmock.gyp:gmock', | 184 '../testing/gmock.gyp:gmock', |
634 'sync_api', | 185 'sync', |
635 ], | 186 ], |
636 'sources': [ | 187 'sources': [ |
637 'api/fake_syncable_service.cc', | 188 'api/fake_syncable_service.cc', |
638 'api/fake_syncable_service.h', | 189 'api/fake_syncable_service.h', |
639 'api/sync_error_factory_mock.cc', | 190 'api/sync_error_factory_mock.cc', |
640 'api/sync_error_factory_mock.h', | 191 'api/sync_error_factory_mock.h', |
641 ], | 192 ], |
642 }, | 193 }, |
643 | 194 |
644 # Unit tests for the 'sync_core' target. This cannot be a static | 195 # Unit tests for the 'sync_core' target. This cannot be a static |
645 # library because the unit test files have to be compiled directly | 196 # library because the unit test files have to be compiled directly |
646 # into the executable, so we push the target files to the | 197 # into the executable, so we push the target files to the |
647 # depending executable target via direct_dependent_settings. | 198 # depending executable target via direct_dependent_settings. |
648 { | 199 { |
649 'target_name': 'sync_core_tests', | 200 'target_name': 'sync_core_tests', |
650 'type': 'none', | 201 'type': 'none', |
651 # We only want unit test executables to include this target. | 202 # We only want unit test executables to include this target. |
652 'suppress_wildcard': 1, | 203 'suppress_wildcard': 1, |
653 'dependencies': [ | 204 'dependencies': [ |
654 '../base/base.gyp:base', | 205 '../base/base.gyp:base', |
| 206 '../sql/sql.gyp:sql', |
655 '../testing/gmock.gyp:gmock', | 207 '../testing/gmock.gyp:gmock', |
656 '../testing/gtest.gyp:gtest', | 208 '../testing/gtest.gyp:gtest', |
657 'protocol/sync_proto.gyp:sync_proto', | 209 'sync', |
658 'sync_core', | |
659 'test_support_sync_core', | 210 'test_support_sync_core', |
660 ], | 211 ], |
| 212 'conditions': [ |
| 213 ['OS=="linux" and chromeos==1', { |
| 214 # Required by get_session_name_unittest.cc on Chrome OS. |
| 215 'dependencies': [ |
| 216 '../chromeos/chromeos.gyp:chromeos', |
| 217 ], |
| 218 }], |
| 219 ], |
661 # Propagate all dependencies since the actual compilation | 220 # Propagate all dependencies since the actual compilation |
662 # happens in the dependents. | 221 # happens in the dependents. |
663 'export_dependent_settings': [ | 222 'export_dependent_settings': [ |
664 '../base/base.gyp:base', | 223 '../base/base.gyp:base', |
| 224 '../sql/sql.gyp:sql', |
665 '../testing/gmock.gyp:gmock', | 225 '../testing/gmock.gyp:gmock', |
666 '../testing/gtest.gyp:gtest', | 226 '../testing/gtest.gyp:gtest', |
667 'protocol/sync_proto.gyp:sync_proto', | 227 'sync', |
668 'sync_core', | |
669 'test_support_sync_core', | 228 'test_support_sync_core', |
670 ], | 229 ], |
671 'direct_dependent_settings': { | 230 'direct_dependent_settings': { |
672 'include_dirs': [ | 231 'include_dirs': [ |
673 '..', | 232 '..', |
674 ], | 233 ], |
675 'sources': [ | 234 'sources': [ |
676 'internal_api/public/base/enum_set_unittest.cc', | 235 'internal_api/public/base/enum_set_unittest.cc', |
677 'internal_api/public/base/model_type_invalidation_map_unittest.cc', | 236 'internal_api/public/base/model_type_invalidation_map_unittest.cc', |
678 'internal_api/public/base/node_ordinal_unittest.cc', | 237 'internal_api/public/base/node_ordinal_unittest.cc', |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
746 # We only want unit test executables to include this target. | 305 # We only want unit test executables to include this target. |
747 'suppress_wildcard': 1, | 306 'suppress_wildcard': 1, |
748 'dependencies': [ | 307 'dependencies': [ |
749 '../base/base.gyp:base', | 308 '../base/base.gyp:base', |
750 '../jingle/jingle.gyp:notifier_test_util', | 309 '../jingle/jingle.gyp:notifier_test_util', |
751 '../net/net.gyp:net_test_support', | 310 '../net/net.gyp:net_test_support', |
752 '../testing/gmock.gyp:gmock', | 311 '../testing/gmock.gyp:gmock', |
753 '../testing/gtest.gyp:gtest', | 312 '../testing/gtest.gyp:gtest', |
754 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n', | 313 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n', |
755 '../third_party/libjingle/libjingle.gyp:libjingle', | 314 '../third_party/libjingle/libjingle.gyp:libjingle', |
756 'sync_core', | 315 'sync', |
757 'sync_notifier', | |
758 'test_support_sync_notifier', | 316 'test_support_sync_notifier', |
759 ], | 317 ], |
760 # Propagate all dependencies since the actual compilation | 318 # Propagate all dependencies since the actual compilation |
761 # happens in the dependents. | 319 # happens in the dependents. |
762 'export_dependent_settings': [ | 320 'export_dependent_settings': [ |
763 '../base/base.gyp:base', | 321 '../base/base.gyp:base', |
764 '../jingle/jingle.gyp:notifier_test_util', | 322 '../jingle/jingle.gyp:notifier_test_util', |
765 '../net/net.gyp:net_test_support', | 323 '../net/net.gyp:net_test_support', |
766 '../testing/gmock.gyp:gmock', | 324 '../testing/gmock.gyp:gmock', |
767 '../testing/gtest.gyp:gtest', | 325 '../testing/gtest.gyp:gtest', |
768 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n', | 326 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n', |
769 '../third_party/libjingle/libjingle.gyp:libjingle', | 327 '../third_party/libjingle/libjingle.gyp:libjingle', |
770 'sync_core', | 328 'sync', |
771 'sync_notifier', | |
772 'test_support_sync_notifier', | 329 'test_support_sync_notifier', |
773 ], | 330 ], |
774 'direct_dependent_settings': { | 331 'direct_dependent_settings': { |
775 'include_dirs': [ | 332 'include_dirs': [ |
776 '..', | 333 '..', |
777 ], | 334 ], |
778 'sources': [ | 335 'sources': [ |
779 'notifier/invalidator_factory_unittest.cc', | 336 'notifier/invalidator_factory_unittest.cc', |
780 ], | 337 ], |
781 'conditions': [ | 338 'conditions': [ |
(...skipping 23 matching lines...) Expand all Loading... |
805 'target_name': 'sync_internal_api_tests', | 362 'target_name': 'sync_internal_api_tests', |
806 'type': 'none', | 363 'type': 'none', |
807 # We only want unit test executables to include this target. | 364 # We only want unit test executables to include this target. |
808 'suppress_wildcard': 1, | 365 'suppress_wildcard': 1, |
809 'dependencies': [ | 366 'dependencies': [ |
810 '../base/base.gyp:base', | 367 '../base/base.gyp:base', |
811 '../net/net.gyp:net', | 368 '../net/net.gyp:net', |
812 '../net/net.gyp:net_test_support', | 369 '../net/net.gyp:net_test_support', |
813 '../testing/gmock.gyp:gmock', | 370 '../testing/gmock.gyp:gmock', |
814 '../testing/gtest.gyp:gtest', | 371 '../testing/gtest.gyp:gtest', |
815 'protocol/sync_proto.gyp:sync_proto', | 372 'sync', |
816 'sync_core', | |
817 'sync_internal_api', | |
818 'sync_notifier', | |
819 'test_support_sync_internal_api', | 373 'test_support_sync_internal_api', |
820 ], | 374 ], |
821 # Propagate all dependencies since the actual compilation | 375 # Propagate all dependencies since the actual compilation |
822 # happens in the dependents. | 376 # happens in the dependents. |
823 'export_dependent_settings': [ | 377 'export_dependent_settings': [ |
824 '../base/base.gyp:base', | 378 '../base/base.gyp:base', |
825 '../net/net.gyp:net', | 379 '../net/net.gyp:net', |
826 '../net/net.gyp:net_test_support', | 380 '../net/net.gyp:net_test_support', |
827 '../testing/gmock.gyp:gmock', | 381 '../testing/gmock.gyp:gmock', |
828 '../testing/gtest.gyp:gtest', | 382 '../testing/gtest.gyp:gtest', |
829 'protocol/sync_proto.gyp:sync_proto', | 383 'sync', |
830 'sync_core', | |
831 'sync_internal_api', | |
832 'sync_notifier', | |
833 'test_support_sync_internal_api', | 384 'test_support_sync_internal_api', |
834 ], | 385 ], |
835 'direct_dependent_settings': { | 386 'direct_dependent_settings': { |
836 'include_dirs': [ | 387 'include_dirs': [ |
837 '..', | 388 '..', |
838 ], | 389 ], |
839 'sources': [ | 390 'sources': [ |
840 'internal_api/debug_info_event_listener_unittest.cc', | 391 'internal_api/debug_info_event_listener_unittest.cc', |
841 'internal_api/http_bridge_unittest.cc', | 392 'internal_api/http_bridge_unittest.cc', |
842 'internal_api/js_mutation_event_observer_unittest.cc', | 393 'internal_api/js_mutation_event_observer_unittest.cc', |
(...skipping 21 matching lines...) Expand all Loading... |
864 # into the executable, so we push the target files to the | 415 # into the executable, so we push the target files to the |
865 # depending executable target via direct_dependent_settings. | 416 # depending executable target via direct_dependent_settings. |
866 { | 417 { |
867 'target_name': 'sync_api_tests', | 418 'target_name': 'sync_api_tests', |
868 'type': 'none', | 419 'type': 'none', |
869 # We only want unit test executables to include this target. | 420 # We only want unit test executables to include this target. |
870 'suppress_wildcard': 1, | 421 'suppress_wildcard': 1, |
871 'dependencies': [ | 422 'dependencies': [ |
872 '../base/base.gyp:base', | 423 '../base/base.gyp:base', |
873 '../testing/gtest.gyp:gtest', | 424 '../testing/gtest.gyp:gtest', |
874 'protocol/sync_proto.gyp:sync_proto', | 425 'sync', |
875 'sync_core', | |
876 'sync_internal_api', | |
877 'test_support_sync_internal_api', | 426 'test_support_sync_internal_api', |
878 ], | 427 ], |
879 # Propagate all dependencies since the actual compilation | 428 # Propagate all dependencies since the actual compilation |
880 # happens in the dependents. | 429 # happens in the dependents. |
881 'export_dependent_settings': [ | 430 'export_dependent_settings': [ |
882 '../base/base.gyp:base', | 431 '../base/base.gyp:base', |
883 '../testing/gtest.gyp:gtest', | 432 '../testing/gtest.gyp:gtest', |
884 'protocol/sync_proto.gyp:sync_proto', | 433 'sync', |
885 'sync_core', | |
886 'sync_internal_api', | |
887 'test_support_sync_internal_api', | 434 'test_support_sync_internal_api', |
888 ], | 435 ], |
889 'direct_dependent_settings': { | 436 'direct_dependent_settings': { |
890 'include_dirs': [ | 437 'include_dirs': [ |
891 '..', | 438 '..', |
892 ], | 439 ], |
893 'sources': [ | 440 'sources': [ |
894 'api/sync_change_unittest.cc', | 441 'api/sync_change_unittest.cc', |
895 'api/sync_error_unittest.cc', | 442 'api/sync_error_unittest.cc', |
896 'api/sync_merge_result_unittest.cc', | 443 'api/sync_merge_result_unittest.cc', |
897 ], | 444 ], |
898 }, | 445 }, |
899 }, | 446 }, |
900 | 447 |
901 # The unit test executable for sync tests. | 448 # The unit test executable for sync tests. |
902 { | 449 { |
903 'target_name': 'sync_unit_tests', | 450 'target_name': 'sync_unit_tests', |
904 'type': '<(gtest_target_type)', | 451 'type': '<(gtest_target_type)', |
905 # Typed-parametrized tests generate exit-time destructors. | 452 # Typed-parametrized tests generate exit-time destructors. |
906 'variables': { 'enable_wexit_time_destructors': 0, }, | 453 'variables': { 'enable_wexit_time_destructors': 0, }, |
| 454 'defines': [ |
| 455 'SYNC_TEST', |
| 456 ], |
907 'dependencies': [ | 457 'dependencies': [ |
908 '../base/base.gyp:run_all_unittests', | 458 '../base/base.gyp:run_all_unittests', |
909 'sync', | |
910 'sync_api_tests', | 459 'sync_api_tests', |
911 'sync_core_tests', | 460 'sync_core_tests', |
912 'sync_internal_api_tests', | 461 'sync_internal_api_tests', |
913 'sync_notifier_tests', | 462 'sync_notifier_tests', |
914 ], | 463 ], |
915 'conditions': [ | 464 'conditions': [ |
916 # TODO(akalin): This is needed because histogram.cc uses | 465 # TODO(akalin): This is needed because histogram.cc uses |
917 # leak_annotations.h, which pulls this in. Make 'base' | 466 # leak_annotations.h, which pulls this in. Make 'base' |
918 # propagate this dependency. | 467 # propagate this dependency. |
919 ['OS=="linux" and linux_use_tcmalloc==1', { | 468 ['OS=="linux" and linux_use_tcmalloc==1', { |
920 'dependencies': [ | 469 'dependencies': [ |
921 '../base/allocator/allocator.gyp:allocator', | 470 '../base/allocator/allocator.gyp:allocator', |
922 ], | 471 ], |
923 }], | 472 }], |
924 ['OS == "android" and gtest_target_type == "shared_library"', { | 473 ['OS == "android" and gtest_target_type == "shared_library"', { |
925 'dependencies': [ | 474 'dependencies': [ |
926 '../testing/android/native_test.gyp:native_test_native_code', | 475 '../testing/android/native_test.gyp:native_test_native_code', |
927 ], | 476 ], |
928 }], | 477 }], |
929 ], | 478 ], |
930 }, | 479 }, |
931 ], | 480 ], |
932 'conditions': [ | 481 'conditions': [ |
933 ['OS != "ios"', { | 482 ['OS != "ios"', { |
934 'targets': [ | 483 'targets': [ |
935 { | 484 { |
936 'target_name': 'sync_tools_helper', | 485 'target_name': 'sync_tools_helper', |
937 'type': 'static_library', | 486 'type': 'static_library', |
| 487 'defines': [ |
| 488 'SYNC_IMPLEMENTATION', |
| 489 ], |
938 'include_dirs': [ | 490 'include_dirs': [ |
939 '..', | 491 '..', |
940 ], | 492 ], |
941 'dependencies': [ | 493 'dependencies': [ |
942 '../base/base.gyp:base', | 494 '../base/base.gyp:base', |
943 'sync_notifier', | 495 'sync', |
944 ], | 496 ], |
945 'export_dependent_settings': [ | 497 'export_dependent_settings': [ |
946 '../base/base.gyp:base', | 498 '../base/base.gyp:base', |
947 'sync_notifier', | 499 'sync', |
948 ], | 500 ], |
949 'sources': [ | 501 'sources': [ |
950 'tools/null_invalidation_state_tracker.cc', | 502 'tools/null_invalidation_state_tracker.cc', |
951 'tools/null_invalidation_state_tracker.h', | 503 'tools/null_invalidation_state_tracker.h', |
952 ], | 504 ], |
953 }, | 505 }, |
954 | 506 |
955 # A tool that can be used to launch a python sync server instance. | 507 # A tool that can be used to launch a python sync server instance. |
956 { | 508 { |
957 'target_name': 'run_sync_testserver', | 509 'target_name': 'run_sync_testserver', |
958 'type': 'executable', | 510 'type': 'executable', |
959 'dependencies': [ | 511 'dependencies': [ |
960 '../base/base.gyp:base', | 512 '../base/base.gyp:base', |
961 '../base/base.gyp:test_support_base', | 513 '../base/base.gyp:test_support_base', |
962 '../net/net.gyp:net_test_support', | 514 '../net/net.gyp:net_test_support', |
963 '../testing/gtest.gyp:gtest', | 515 '../testing/gtest.gyp:gtest', |
964 'test_support_sync_testserver', | 516 'test_support_sync_testserver', |
965 ], | 517 ], |
966 'sources': [ | 518 'sources': [ |
967 'tools/testserver/run_sync_testserver.cc', | 519 'tools/testserver/run_sync_testserver.cc', |
968 ], | 520 ], |
969 }, | 521 }, |
970 | 522 |
971 # A tool to listen to sync notifications and print them out. | 523 # A tool to listen to sync notifications and print them out. |
972 { | 524 { |
973 'target_name': 'sync_listen_notifications', | 525 'target_name': 'sync_listen_notifications', |
974 'type': 'executable', | 526 'type': 'executable', |
| 527 'defines': [ |
| 528 'SYNC_TEST', |
| 529 ], |
975 'dependencies': [ | 530 'dependencies': [ |
976 '../base/base.gyp:base', | 531 '../base/base.gyp:base', |
977 '../jingle/jingle.gyp:notifier', | 532 '../jingle/jingle.gyp:notifier', |
978 '../net/net.gyp:net', | 533 '../net/net.gyp:net', |
979 '../net/net.gyp:net_test_support', | 534 '../net/net.gyp:net_test_support', |
980 'sync', | 535 'sync', |
981 'sync_tools_helper', | 536 'sync_tools_helper', |
982 ], | 537 ], |
983 'sources': [ | 538 'sources': [ |
984 'tools/sync_listen_notifications.cc', | 539 'tools/sync_listen_notifications.cc', |
985 ], | 540 ], |
986 }, | 541 }, |
987 | 542 |
988 # A standalone command-line sync client. | 543 # A standalone command-line sync client. |
989 { | 544 { |
990 'target_name': 'sync_client', | 545 'target_name': 'sync_client', |
991 'type': 'executable', | 546 'type': 'executable', |
992 'defines': [ | 547 'defines': [ |
993 'SYNC_TEST', | 548 'SYNC_TEST', |
994 ], | 549 ], |
995 'dependencies': [ | 550 'dependencies': [ |
996 '../base/base.gyp:base', | 551 '../base/base.gyp:base', |
997 '../jingle/jingle.gyp:notifier', | 552 '../jingle/jingle.gyp:notifier', |
998 '../net/net.gyp:net', | 553 '../net/net.gyp:net', |
999 '../net/net.gyp:net_test_support', | 554 '../net/net.gyp:net_test_support', |
1000 'sync', | 555 'sync', |
1001 'sync_tools_helper', | 556 'sync_tools_helper', |
| 557 'test_support_sync_core' |
1002 ], | 558 ], |
1003 'sources': [ | 559 'sources': [ |
1004 'tools/sync_client.cc', | 560 'tools/sync_client.cc', |
1005 ], | 561 ], |
1006 }, | 562 }, |
1007 ], | 563 ], |
1008 }], | 564 }], |
1009 ['OS == "android"', { | 565 ['OS == "android"', { |
1010 'targets': [ | 566 'targets': [ |
1011 { | 567 { |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1052 'variables': { | 608 'variables': { |
1053 'test_suite_name': 'sync_unit_tests', | 609 'test_suite_name': 'sync_unit_tests', |
1054 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit
_tests<(SHARED_LIB_SUFFIX)', | 610 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sync_unit
_tests<(SHARED_LIB_SUFFIX)', |
1055 }, | 611 }, |
1056 'includes': [ '../build/apk_test.gypi' ], | 612 'includes': [ '../build/apk_test.gypi' ], |
1057 }, | 613 }, |
1058 ], | 614 ], |
1059 }], | 615 }], |
1060 ], | 616 ], |
1061 } | 617 } |
OLD | NEW |