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 'variables': { | 5 'variables': { |
6 'chromium_code': 1, | 6 'chromium_code': 1, |
7 | 7 |
8 'variables': { | 8 'variables': { |
9 'version_py_path': 'tools/build/version.py', | 9 'version_py_path': 'tools/build/version.py', |
10 'version_path': 'VERSION', | 10 'version_path': 'VERSION', |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 }], | 254 }], |
255 ], | 255 ], |
256 }, | 256 }, |
257 { | 257 { |
258 # Provides a syncapi dynamic library target from checked-in binaries, | 258 # Provides a syncapi dynamic library target from checked-in binaries, |
259 # or from compiling a stub implementation. | 259 # or from compiling a stub implementation. |
260 'target_name': 'syncapi_core', | 260 'target_name': 'syncapi_core', |
261 'type': 'static_library', | 261 'type': 'static_library', |
262 'variables': { 'enable_wexit_time_destructors': 1, }, | 262 'variables': { 'enable_wexit_time_destructors': 1, }, |
263 'sources': [ | 263 'sources': [ |
264 'browser/sync/engine/syncapi_internal.cc', | 264 'browser/sync/internal_api/all_status.cc', |
265 'browser/sync/engine/syncapi_internal.h', | 265 'browser/sync/internal_api/all_status.h', |
266 'browser/sync/internal_api/includes/syncer_error.cc', | 266 'browser/sync/internal_api/syncapi_internal.cc', |
267 'browser/sync/internal_api/includes/syncer_error.h', | 267 'browser/sync/internal_api/syncapi_internal.h', |
268 'browser/sync/internal_api/includes/report_unrecoverable_error_function.
h', | |
269 'browser/sync/internal_api/includes/unrecoverable_error_handler.h', | |
270 'browser/sync/internal_api/base_node.cc', | 268 'browser/sync/internal_api/base_node.cc', |
271 'browser/sync/internal_api/base_node.h', | 269 'browser/sync/internal_api/base_node.h', |
272 'browser/sync/internal_api/base_transaction.cc', | 270 'browser/sync/internal_api/base_transaction.cc', |
273 'browser/sync/internal_api/base_transaction.h', | 271 'browser/sync/internal_api/base_transaction.h', |
274 'browser/sync/internal_api/change_record.cc', | 272 'browser/sync/internal_api/change_record.cc', |
275 'browser/sync/internal_api/change_record.h', | 273 'browser/sync/internal_api/change_record.h', |
276 'browser/sync/internal_api/change_reorder_buffer.cc', | 274 'browser/sync/internal_api/change_reorder_buffer.cc', |
277 'browser/sync/internal_api/change_reorder_buffer.h', | 275 'browser/sync/internal_api/change_reorder_buffer.h', |
278 'browser/sync/internal_api/configure_reason.h', | 276 'browser/sync/internal_api/configure_reason.h', |
279 'browser/sync/internal_api/debug_info_event_listener.cc', | 277 'browser/sync/internal_api/debug_info_event_listener.cc', |
280 'browser/sync/internal_api/debug_info_event_listener.h', | 278 'browser/sync/internal_api/debug_info_event_listener.h', |
281 'browser/sync/internal_api/http_post_provider_factory.h', | 279 'browser/sync/internal_api/http_post_provider_factory.h', |
282 'browser/sync/internal_api/http_post_provider_interface.h', | 280 'browser/sync/internal_api/http_post_provider_interface.h', |
283 'browser/sync/internal_api/read_node.cc', | 281 'browser/sync/internal_api/read_node.cc', |
284 'browser/sync/internal_api/read_node.h', | 282 'browser/sync/internal_api/read_node.h', |
285 'browser/sync/internal_api/read_transaction.cc', | 283 'browser/sync/internal_api/read_transaction.cc', |
286 'browser/sync/internal_api/read_transaction.h', | 284 'browser/sync/internal_api/read_transaction.h', |
287 'browser/sync/internal_api/syncapi_server_connection_manager.cc', | 285 'browser/sync/internal_api/syncapi_server_connection_manager.cc', |
288 'browser/sync/internal_api/syncapi_server_connection_manager.h', | 286 'browser/sync/internal_api/syncapi_server_connection_manager.h', |
289 'browser/sync/internal_api/sync_manager.cc', | 287 'browser/sync/internal_api/sync_manager.cc', |
290 'browser/sync/internal_api/sync_manager.h', | 288 'browser/sync/internal_api/sync_manager.h', |
291 'browser/sync/internal_api/user_share.cc', | 289 'browser/sync/internal_api/user_share.cc', |
292 'browser/sync/internal_api/user_share.h', | 290 'browser/sync/internal_api/user_share.h', |
293 'browser/sync/internal_api/write_node.cc', | 291 'browser/sync/internal_api/write_node.cc', |
294 'browser/sync/internal_api/write_node.h', | 292 'browser/sync/internal_api/write_node.h', |
295 'browser/sync/internal_api/write_transaction.cc', | 293 'browser/sync/internal_api/write_transaction.cc', |
296 'browser/sync/internal_api/write_transaction.h', | 294 'browser/sync/internal_api/write_transaction.h', |
| 295 'browser/sync/internal_api/js_mutation_event_observer.cc', |
| 296 'browser/sync/internal_api/js_mutation_event_observer.h', |
| 297 'browser/sync/internal_api/js_sync_manager_observer.cc', |
| 298 'browser/sync/internal_api/js_sync_manager_observer.h', |
297 ], | 299 ], |
298 'include_dirs': [ | 300 'include_dirs': [ |
299 '..', | 301 '..', |
300 ], | 302 ], |
301 'defines' : [ | 303 'defines' : [ |
302 '_CRT_SECURE_NO_WARNINGS', | 304 '_CRT_SECURE_NO_WARNINGS', |
303 '_USE_32BIT_TIME_T', | 305 '_USE_32BIT_TIME_T', |
304 ], | 306 ], |
305 'dependencies': [ | 307 'dependencies': [ |
306 '../base/base.gyp:base', | 308 '../base/base.gyp:base', |
307 '../net/net.gyp:net', | 309 '../net/net.gyp:net', |
308 '../third_party/sqlite/sqlite.gyp:sqlite', | 310 '../third_party/sqlite/sqlite.gyp:sqlite', |
309 '../sync/protocol/sync_proto.gyp:sync_proto', | 311 '../sync/protocol/sync_proto.gyp:sync_proto', |
310 'sync', | 312 '../sync/sync.gyp:sync', |
311 'sync_notifier', | 313 'sync_notifier', |
312 ], | 314 ], |
313 'export_dependent_settings': [ | 315 'export_dependent_settings': [ |
314 '../sync/protocol/sync_proto.gyp:sync_proto', | 316 '../sync/protocol/sync_proto.gyp:sync_proto', |
315 'sync', | 317 '../sync/sync.gyp:sync', |
316 ], | 318 ], |
317 # This target exports a hard dependency because syncapi.h includes | 319 # This target exports a hard dependency because syncapi.h includes |
318 # generated proto header files from sync_proto. | 320 # generated proto header files from sync_proto. |
319 'hard_dependency': 1, | 321 'hard_dependency': 1, |
320 }, | 322 }, |
321 { | 323 { |
322 # Provides the API that Chrome services use to talk to sync. | 324 # Provides the API that Chrome services use to talk to sync. |
323 'target_name': 'syncapi_service', | 325 'target_name': 'syncapi_service', |
324 'type': 'static_library', | 326 'type': 'static_library', |
325 'variables': { 'enable_wexit_time_destructors': 1, }, | 327 'variables': { 'enable_wexit_time_destructors': 1, }, |
326 'sources': [ | 328 'sources': [ |
327 'browser/sync/api/syncable_service.cc', | 329 'browser/sync/api/syncable_service.cc', |
328 'browser/sync/api/syncable_service.h', | 330 'browser/sync/api/syncable_service.h', |
329 'browser/sync/api/sync_data.h', | 331 'browser/sync/api/sync_data.h', |
330 'browser/sync/api/sync_data.cc', | 332 'browser/sync/api/sync_data.cc', |
331 'browser/sync/api/sync_change.h', | 333 'browser/sync/api/sync_change.h', |
332 'browser/sync/api/sync_change.cc', | 334 'browser/sync/api/sync_change.cc', |
333 'browser/sync/api/sync_change_processor.h', | 335 'browser/sync/api/sync_change_processor.h', |
334 'browser/sync/api/sync_change_processor.cc', | 336 'browser/sync/api/sync_change_processor.cc', |
335 'browser/sync/api/sync_error.h', | 337 'browser/sync/api/sync_error.h', |
336 'browser/sync/api/sync_error.cc', | 338 'browser/sync/api/sync_error.cc', |
337 ], | 339 ], |
338 'include_dirs': [ | 340 'include_dirs': [ |
339 '..', | 341 '..', |
340 ], | 342 ], |
341 'dependencies': [ | 343 'dependencies': [ |
342 '../base/base.gyp:base', | 344 '../base/base.gyp:base', |
343 '../sync/protocol/sync_proto.gyp:sync_proto', | 345 '../sync/protocol/sync_proto.gyp:sync_proto', |
344 'sync', | 346 '../sync/sync.gyp:sync', |
345 ], | 347 ], |
346 'export_dependent_settings': [ | 348 'export_dependent_settings': [ |
347 '../base/base.gyp:base', | 349 '../base/base.gyp:base', |
348 '../sync/protocol/sync_proto.gyp:sync_proto', | 350 '../sync/protocol/sync_proto.gyp:sync_proto', |
349 'sync', | 351 '../sync/sync.gyp:sync', |
350 ], | 352 ], |
351 # Even though this target depends on sync_proto, it doesn't | 353 # Even though this target depends on sync_proto, it doesn't |
352 # need to export a hard dependency since we explicitly avoid | 354 # need to export a hard dependency since we explicitly avoid |
353 # including the generated proto header files from this target's | 355 # including the generated proto header files from this target's |
354 # header files. | 356 # header files. |
355 }, | 357 }, |
356 { | |
357 'target_name': 'sync', | |
358 'type': 'static_library', | |
359 'variables': { 'enable_wexit_time_destructors': 1, }, | |
360 'sources': [ | |
361 'browser/sync/engine/all_status.cc', | |
362 'browser/sync/engine/all_status.h', | |
363 'browser/sync/engine/apply_updates_command.cc', | |
364 'browser/sync/engine/apply_updates_command.h', | |
365 'browser/sync/engine/build_commit_command.cc', | |
366 'browser/sync/engine/build_commit_command.h', | |
367 'browser/sync/engine/cleanup_disabled_types_command.cc', | |
368 'browser/sync/engine/cleanup_disabled_types_command.h', | |
369 'browser/sync/engine/clear_data_command.cc', | |
370 'browser/sync/engine/clear_data_command.h', | |
371 'browser/sync/engine/conflict_resolver.cc', | |
372 'browser/sync/engine/conflict_resolver.h', | |
373 'browser/sync/engine/download_updates_command.cc', | |
374 'browser/sync/engine/download_updates_command.h', | |
375 'browser/sync/engine/get_commit_ids_command.cc', | |
376 'browser/sync/engine/get_commit_ids_command.h', | |
377 'browser/sync/engine/model_changing_syncer_command.cc', | |
378 'browser/sync/engine/model_changing_syncer_command.h', | |
379 'browser/sync/engine/model_safe_worker.cc', | |
380 'browser/sync/engine/model_safe_worker.h', | |
381 'browser/sync/engine/passive_model_worker.cc', | |
382 'browser/sync/engine/passive_model_worker.h', | |
383 'browser/sync/engine/net/server_connection_manager.cc', | |
384 'browser/sync/engine/net/server_connection_manager.h', | |
385 'browser/sync/engine/net/url_translator.cc', | |
386 'browser/sync/engine/net/url_translator.h', | |
387 'browser/sync/engine/nigori_util.cc', | |
388 'browser/sync/engine/nigori_util.h', | |
389 'browser/sync/engine/nudge_source.cc', | |
390 'browser/sync/engine/nudge_source.h', | |
391 'browser/sync/engine/polling_constants.cc', | |
392 'browser/sync/engine/polling_constants.h', | |
393 'browser/sync/engine/post_commit_message_command.cc', | |
394 'browser/sync/engine/post_commit_message_command.h', | |
395 'browser/sync/engine/process_commit_response_command.cc', | |
396 'browser/sync/engine/process_commit_response_command.h', | |
397 'browser/sync/engine/process_updates_command.cc', | |
398 'browser/sync/engine/process_updates_command.h', | |
399 'browser/sync/engine/resolve_conflicts_command.cc', | |
400 'browser/sync/engine/resolve_conflicts_command.h', | |
401 'browser/sync/engine/store_timestamps_command.cc', | |
402 'browser/sync/engine/store_timestamps_command.h', | |
403 'browser/sync/engine/syncer.cc', | |
404 'browser/sync/engine/syncer.h', | |
405 'browser/sync/engine/syncer_command.cc', | |
406 'browser/sync/engine/syncer_command.h', | |
407 'browser/sync/engine/syncer_proto_util.cc', | |
408 'browser/sync/engine/syncer_proto_util.h', | |
409 'browser/sync/engine/sync_scheduler.cc', | |
410 'browser/sync/engine/sync_scheduler.h', | |
411 'browser/sync/engine/syncer_types.cc', | |
412 'browser/sync/engine/syncer_types.h', | |
413 'browser/sync/engine/syncer_util.cc', | |
414 'browser/sync/engine/syncer_util.h', | |
415 'browser/sync/engine/syncproto.h', | |
416 'browser/sync/engine/update_applicator.cc', | |
417 'browser/sync/engine/update_applicator.h', | |
418 'browser/sync/engine/verify_updates_command.cc', | |
419 'browser/sync/engine/verify_updates_command.h', | |
420 'browser/sync/js/js_arg_list.cc', | |
421 'browser/sync/js/js_arg_list.h', | |
422 'browser/sync/js/js_backend.h', | |
423 'browser/sync/js/js_controller.h', | |
424 'browser/sync/js/js_event_details.cc', | |
425 'browser/sync/js/js_event_details.h', | |
426 'browser/sync/js/js_event_handler.h', | |
427 'browser/sync/js/js_reply_handler.h', | |
428 'browser/sync/js/js_mutation_event_observer.cc', | |
429 'browser/sync/js/js_mutation_event_observer.h', | |
430 'browser/sync/js/js_sync_manager_observer.cc', | |
431 'browser/sync/js/js_sync_manager_observer.h', | |
432 'browser/sync/protocol/proto_enum_conversions.cc', | |
433 'browser/sync/protocol/proto_enum_conversions.h', | |
434 'browser/sync/protocol/proto_value_conversions.cc', | |
435 'browser/sync/protocol/proto_value_conversions.h', | |
436 'browser/sync/protocol/service_constants.h', | |
437 'browser/sync/protocol/sync_protocol_error.cc', | |
438 'browser/sync/protocol/sync_protocol_error.h', | |
439 'browser/sync/sessions/debug_info_getter.h', | |
440 'browser/sync/sessions/ordered_commit_set.cc', | |
441 'browser/sync/sessions/ordered_commit_set.h', | |
442 'browser/sync/sessions/session_state.cc', | |
443 'browser/sync/sessions/session_state.h', | |
444 'browser/sync/sessions/status_controller.cc', | |
445 'browser/sync/sessions/status_controller.h', | |
446 'browser/sync/sessions/sync_session.cc', | |
447 'browser/sync/sessions/sync_session.h', | |
448 'browser/sync/sessions/sync_session_context.cc', | |
449 'browser/sync/sessions/sync_session_context.h', | |
450 'browser/sync/sync_js_controller.cc', | |
451 'browser/sync/sync_js_controller.h', | |
452 'browser/sync/syncable/blob.h', | |
453 'browser/sync/syncable/directory_backing_store.cc', | |
454 'browser/sync/syncable/directory_backing_store.h', | |
455 'browser/sync/syncable/directory_change_delegate.h', | |
456 'browser/sync/syncable/dir_open_result.h', | |
457 'browser/sync/syncable/in_memory_directory_backing_store.cc', | |
458 'browser/sync/syncable/in_memory_directory_backing_store.h', | |
459 'browser/sync/syncable/model_type.cc', | |
460 'browser/sync/syncable/model_type.h', | |
461 'browser/sync/syncable/model_type_payload_map.cc', | |
462 'browser/sync/syncable/model_type_payload_map.h', | |
463 'browser/sync/syncable/on_disk_directory_backing_store.cc', | |
464 'browser/sync/syncable/on_disk_directory_backing_store.h', | |
465 'browser/sync/syncable/syncable.cc', | |
466 'browser/sync/syncable/syncable_changes_version.h', | |
467 'browser/sync/syncable/syncable_columns.h', | |
468 'browser/sync/syncable/syncable_enum_conversions.cc', | |
469 'browser/sync/syncable/syncable_enum_conversions.h', | |
470 'browser/sync/syncable/syncable.h', | |
471 'browser/sync/syncable/syncable_id.cc', | |
472 'browser/sync/syncable/syncable_id.h', | |
473 'browser/sync/syncable/syncable-inl.h', | |
474 'browser/sync/syncable/transaction_observer.h', | |
475 'browser/sync/util/cryptographer.cc', | |
476 'browser/sync/util/cryptographer.h', | |
477 'browser/sync/util/data_type_histogram.h', | |
478 'browser/sync/util/encryptor.h', | |
479 'browser/sync/util/enum_set.h', | |
480 'browser/sync/util/extensions_activity_monitor.cc', | |
481 'browser/sync/util/extensions_activity_monitor.h', | |
482 'browser/sync/util/get_session_name.cc', | |
483 'browser/sync/util/get_session_name.h', | |
484 'browser/sync/util/get_session_name_mac.mm', | |
485 'browser/sync/util/get_session_name_mac.h', | |
486 'browser/sync/util/get_session_name_win.cc', | |
487 'browser/sync/util/get_session_name_win.h', | |
488 'browser/sync/util/immutable.h', | |
489 'browser/sync/util/logging.cc', | |
490 'browser/sync/util/logging.h', | |
491 'browser/sync/util/nigori.cc', | |
492 'browser/sync/util/nigori.h', | |
493 'browser/sync/util/time.cc', | |
494 'browser/sync/util/time.h', | |
495 'browser/sync/util/unrecoverable_error_info.h', | |
496 'browser/sync/util/unrecoverable_error_info.cc', | |
497 'browser/sync/util/weak_handle.cc', | |
498 'browser/sync/util/weak_handle.h', | |
499 ], | |
500 'include_dirs': [ | |
501 '..', | |
502 ], | |
503 'defines' : [ | |
504 'SYNC_ENGINE_VERSION_STRING="Unknown"', | |
505 '_CRT_SECURE_NO_WARNINGS', | |
506 '_USE_32BIT_TIME_T', | |
507 ], | |
508 'dependencies': [ | |
509 '../base/base.gyp:base', | |
510 '../crypto/crypto.gyp:crypto', | |
511 '../net/net.gyp:net', | |
512 '../sql/sql.gyp:sql', | |
513 '../sync/protocol/sync_proto.gyp:sync_proto', | |
514 ], | |
515 'export_dependent_settings': [ | |
516 '../base/base.gyp:base', | |
517 '../crypto/crypto.gyp:crypto', | |
518 '../sync/protocol/sync_proto.gyp:sync_proto', | |
519 ], | |
520 # This target exports a hard dependency because its header files include | |
521 # protobuf header files from sync_proto. | |
522 'hard_dependency': 1, | |
523 'conditions': [ | |
524 ['OS=="win"', { | |
525 'sources' : [ | |
526 'browser/sync/util/data_encryption.cc', | |
527 'browser/sync/util/data_encryption.h', | |
528 ], | |
529 }], | |
530 ['toolkit_uses_gtk == 1', { | |
531 'dependencies': [ | |
532 '../build/linux/system.gyp:gtk', | |
533 ], | |
534 'link_settings': { | |
535 'libraries': [ | |
536 '-lXss', | |
537 ], | |
538 }, | |
539 }], | |
540 ['OS=="linux" and chromeos==1', { | |
541 'include_dirs': [ | |
542 '<(grit_out_dir)', | |
543 ], | |
544 }], | |
545 ['OS=="mac"', { | |
546 'link_settings': { | |
547 'libraries': [ | |
548 '$(SDKROOT)/System/Library/Frameworks/IOKit.framework', | |
549 ], | |
550 }, | |
551 }], | |
552 ], | |
553 }, | |
554 # A library for sending and receiving server-issued notifications. | 358 # A library for sending and receiving server-issued notifications. |
555 { | 359 { |
556 'target_name': 'sync_notifier', | 360 'target_name': 'sync_notifier', |
557 'type': 'static_library', | 361 'type': 'static_library', |
558 'variables': { 'enable_wexit_time_destructors': 1, }, | 362 'variables': { 'enable_wexit_time_destructors': 1, }, |
559 'sources': [ | 363 'sources': [ |
560 'browser/sync/notifier/cache_invalidation_packet_handler.cc', | 364 'browser/sync/notifier/cache_invalidation_packet_handler.cc', |
561 'browser/sync/notifier/cache_invalidation_packet_handler.h', | 365 'browser/sync/notifier/cache_invalidation_packet_handler.h', |
562 'browser/sync/notifier/chrome_invalidation_client.cc', | 366 'browser/sync/notifier/chrome_invalidation_client.cc', |
563 'browser/sync/notifier/chrome_invalidation_client.h', | 367 'browser/sync/notifier/chrome_invalidation_client.h', |
(...skipping 12 matching lines...) Expand all Loading... |
576 'browser/sync/notifier/registration_manager.h', | 380 'browser/sync/notifier/registration_manager.h', |
577 'browser/sync/notifier/state_writer.h', | 381 'browser/sync/notifier/state_writer.h', |
578 'browser/sync/notifier/sync_notifier.h', | 382 'browser/sync/notifier/sync_notifier.h', |
579 'browser/sync/notifier/sync_notifier_factory.h', | 383 'browser/sync/notifier/sync_notifier_factory.h', |
580 'browser/sync/notifier/sync_notifier_factory.cc', | 384 'browser/sync/notifier/sync_notifier_factory.cc', |
581 ], | 385 ], |
582 'include_dirs': [ | 386 'include_dirs': [ |
583 '..', | 387 '..', |
584 ], | 388 ], |
585 'dependencies': [ | 389 'dependencies': [ |
586 'sync', | 390 '../sync/sync.gyp:sync', |
587 '../jingle/jingle.gyp:notifier', | 391 '../jingle/jingle.gyp:notifier', |
588 '../net/net.gyp:net', | 392 '../net/net.gyp:net', |
589 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n', | 393 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n', |
590 ], | 394 ], |
591 # This target exports a hard dependency because it depends on | 395 # This target exports a hard dependency because it depends on |
592 # cacheinvalidation (which itself has hard_dependency set). | 396 # cacheinvalidation (which itself has hard_dependency set). |
593 'hard_dependency': 1, | 397 'hard_dependency': 1, |
594 'export_dependent_settings': [ | 398 'export_dependent_settings': [ |
595 '../jingle/jingle.gyp:notifier', | 399 '../jingle/jingle.gyp:notifier', |
596 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n', | 400 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n', |
(...skipping 756 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1353 'sources': [ | 1157 'sources': [ |
1354 'browser/safe_browsing/signature_util.h', | 1158 'browser/safe_browsing/signature_util.h', |
1355 'browser/safe_browsing/signature_util_win.cc', | 1159 'browser/safe_browsing/signature_util_win.cc', |
1356 'tools/safe_browsing/sb_sigutil.cc', | 1160 'tools/safe_browsing/sb_sigutil.cc', |
1357 ], | 1161 ], |
1358 }, | 1162 }, |
1359 ]}, # 'targets' | 1163 ]}, # 'targets' |
1360 ], # OS=="win" | 1164 ], # OS=="win" |
1361 ], # 'conditions' | 1165 ], # 'conditions' |
1362 } | 1166 } |
OLD | NEW |