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': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 # Setting these two variables allows other targets to use the | 8 # Setting these two variables allows other targets to use the |
9 # sync_proto_sources variable as the list of sync protocol buffer files. | 9 # sync_proto_sources variable as the list of sync protocol buffer files. |
10 'sync_proto_sources_dir': 'sync/protocol', | 10 'sync_proto_sources_dir': 'sync/protocol', |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 'include_dirs': [ | 49 'include_dirs': [ |
50 '..', | 50 '..', |
51 ], | 51 ], |
52 'dependencies': [ | 52 'dependencies': [ |
53 '../base/base.gyp:base', | 53 '../base/base.gyp:base', |
54 '../base/base.gyp:base_i18n', | 54 '../base/base.gyp:base_i18n', |
55 '../crypto/crypto.gyp:crypto', | 55 '../crypto/crypto.gyp:crypto', |
56 '../google_apis/google_apis.gyp:google_apis', | 56 '../google_apis/google_apis.gyp:google_apis', |
57 '../net/net.gyp:net', | 57 '../net/net.gyp:net', |
58 '../sql/sql.gyp:sql', | 58 '../sql/sql.gyp:sql', |
| 59 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n', |
| 60 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n_proto_cpp', |
59 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', | 61 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', |
60 '../third_party/protobuf/protobuf.gyp:protobuf_lite', | 62 '../third_party/protobuf/protobuf.gyp:protobuf_lite', |
61 '../third_party/zlib/zlib.gyp:zlib', | 63 '../third_party/zlib/zlib.gyp:zlib', |
62 '../url/url.gyp:url_lib', | 64 '../url/url.gyp:url_lib', |
| 65 'components.gyp:data_use_measurement_core', |
| 66 'components.gyp:invalidation_public', |
| 67 'components.gyp:metrics', |
| 68 'components.gyp:os_crypt', |
| 69 'components.gyp:signin_core_browser', |
| 70 'components.gyp:version_info', |
63 'attachment_store_proto', | 71 'attachment_store_proto', |
64 'sync_proto', | 72 'sync_proto', |
65 ], | 73 ], |
66 'export_dependent_settings': [ | 74 'export_dependent_settings': [ |
67 '../net/net.gyp:net', | 75 '../net/net.gyp:net', |
68 'sync_proto', | 76 'sync_proto', |
69 ], | 77 ], |
70 'sources': [ | 78 'sources': [ |
71 'sync/api/attachments/attachment.cc', | 79 'sync/api/attachments/attachment.cc', |
72 'sync/api/attachments/attachment.h', | 80 'sync/api/attachments/attachment.h', |
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 'sync/base/get_session_name_mac.h', | 480 'sync/base/get_session_name_mac.h', |
473 'sync/base/get_session_name_mac.mm', | 481 'sync/base/get_session_name_mac.mm', |
474 'sync/base/get_session_name_win.cc', | 482 'sync/base/get_session_name_win.cc', |
475 'sync/base/get_session_name_win.h', | 483 'sync/base/get_session_name_win.h', |
476 'sync/base/logging.cc', | 484 'sync/base/logging.cc', |
477 'sync/base/logging.h', | 485 'sync/base/logging.h', |
478 'sync/base/nigori.cc', | 486 'sync/base/nigori.cc', |
479 'sync/base/nigori.h', | 487 'sync/base/nigori.h', |
480 'sync/base/time.cc', | 488 'sync/base/time.cc', |
481 'sync/base/time.h', | 489 'sync/base/time.h', |
| 490 'sync/driver/about_sync_util.cc', |
| 491 'sync/driver/about_sync_util.h', |
| 492 'sync/driver/backend_data_type_configurer.cc', |
| 493 'sync/driver/backend_data_type_configurer.h', |
| 494 'sync/driver/backend_migrator.cc', |
| 495 'sync/driver/backend_migrator.h', |
| 496 'sync/driver/change_processor.cc', |
| 497 'sync/driver/change_processor.h', |
| 498 'sync/driver/data_type_controller.cc', |
| 499 'sync/driver/data_type_controller.h', |
| 500 'sync/driver/data_type_encryption_handler.cc', |
| 501 'sync/driver/data_type_encryption_handler.h', |
| 502 'sync/driver/data_type_manager.cc', |
| 503 'sync/driver/data_type_manager.h', |
| 504 'sync/driver/data_type_manager_impl.cc', |
| 505 'sync/driver/data_type_manager_impl.h', |
| 506 'sync/driver/data_type_manager_observer.h', |
| 507 'sync/driver/data_type_status_table.cc', |
| 508 'sync/driver/data_type_status_table.h', |
| 509 'sync/driver/device_count_metrics_provider.cc', |
| 510 'sync/driver/device_count_metrics_provider.h', |
| 511 'sync/driver/device_info.cc', |
| 512 'sync/driver/device_info.h', |
| 513 'sync/driver/device_info_data_type_controller.cc', |
| 514 'sync/driver/device_info_data_type_controller.h', |
| 515 'sync/driver/device_info_service.cc', |
| 516 'sync/driver/device_info_service.h', |
| 517 'sync/driver/device_info_sync_service.cc', |
| 518 'sync/driver/device_info_sync_service.h', |
| 519 'sync/driver/device_info_tracker.h', |
| 520 'sync/driver/device_info_util.cc', |
| 521 'sync/driver/device_info_util.h', |
| 522 'sync/driver/directory_data_type_controller.cc', |
| 523 'sync/driver/directory_data_type_controller.h', |
| 524 'sync/driver/frontend_data_type_controller.cc', |
| 525 'sync/driver/frontend_data_type_controller.h', |
| 526 'sync/driver/generic_change_processor.cc', |
| 527 'sync/driver/generic_change_processor.h', |
| 528 'sync/driver/generic_change_processor_factory.cc', |
| 529 'sync/driver/generic_change_processor_factory.h', |
| 530 'sync/driver/glue/browser_thread_model_worker.cc', |
| 531 'sync/driver/glue/browser_thread_model_worker.h', |
| 532 'sync/driver/glue/chrome_report_unrecoverable_error.cc', |
| 533 'sync/driver/glue/chrome_report_unrecoverable_error.h', |
| 534 'sync/driver/glue/sync_backend_host.cc', |
| 535 'sync/driver/glue/sync_backend_host.h', |
| 536 'sync/driver/glue/sync_backend_host_core.cc', |
| 537 'sync/driver/glue/sync_backend_host_core.h', |
| 538 'sync/driver/glue/sync_backend_host_impl.cc', |
| 539 'sync/driver/glue/sync_backend_host_impl.h', |
| 540 'sync/driver/glue/sync_backend_registrar.cc', |
| 541 'sync/driver/glue/sync_backend_registrar.h', |
| 542 'sync/driver/glue/ui_model_worker.cc', |
| 543 'sync/driver/glue/ui_model_worker.h', |
| 544 'sync/driver/invalidation_adapter.cc', |
| 545 'sync/driver/invalidation_adapter.h', |
| 546 'sync/driver/invalidation_helper.cc', |
| 547 'sync/driver/invalidation_helper.h', |
| 548 'sync/driver/local_device_info_provider.h', |
| 549 'sync/driver/local_device_info_provider_impl.cc', |
| 550 'sync/driver/local_device_info_provider_impl.h', |
| 551 'sync/driver/model_association_manager.cc', |
| 552 'sync/driver/model_association_manager.h', |
| 553 'sync/driver/model_associator.h', |
| 554 'sync/driver/non_blocking_data_type_controller.cc', |
| 555 'sync/driver/non_blocking_data_type_controller.h', |
| 556 'sync/driver/non_ui_data_type_controller.cc', |
| 557 'sync/driver/non_ui_data_type_controller.h', |
| 558 'sync/driver/non_ui_model_type_controller.cc', |
| 559 'sync/driver/non_ui_model_type_controller.h', |
| 560 'sync/driver/pref_names.cc', |
| 561 'sync/driver/pref_names.h', |
| 562 'sync/driver/profile_sync_auth_provider.cc', |
| 563 'sync/driver/profile_sync_auth_provider.h', |
| 564 'sync/driver/protocol_event_observer.cc', |
| 565 'sync/driver/protocol_event_observer.h', |
| 566 'sync/driver/proxy_data_type_controller.cc', |
| 567 'sync/driver/proxy_data_type_controller.h', |
| 568 'sync/driver/shared_change_processor.cc', |
| 569 'sync/driver/shared_change_processor.h', |
| 570 'sync/driver/shared_change_processor_ref.cc', |
| 571 'sync/driver/shared_change_processor_ref.h', |
| 572 'sync/driver/signin_manager_wrapper.cc', |
| 573 'sync/driver/signin_manager_wrapper.h', |
| 574 'sync/driver/startup_controller.cc', |
| 575 'sync/driver/startup_controller.h', |
| 576 'sync/driver/sync_api_component_factory.h', |
| 577 'sync/driver/sync_client.cc', |
| 578 'sync/driver/sync_client.h', |
| 579 'sync/driver/sync_driver_switches.cc', |
| 580 'sync/driver/sync_driver_switches.h', |
| 581 'sync/driver/sync_error_controller.cc', |
| 582 'sync/driver/sync_error_controller.h', |
| 583 'sync/driver/sync_frontend.cc', |
| 584 'sync/driver/sync_frontend.h', |
| 585 'sync/driver/sync_prefs.cc', |
| 586 'sync/driver/sync_prefs.h', |
| 587 'sync/driver/sync_service.cc', |
| 588 'sync/driver/sync_service.h', |
| 589 'sync/driver/sync_service_observer.cc', |
| 590 'sync/driver/sync_service_observer.h', |
| 591 'sync/driver/sync_service_utils.cc', |
| 592 'sync/driver/sync_service_utils.h', |
| 593 'sync/driver/sync_stopped_reporter.cc', |
| 594 'sync/driver/sync_stopped_reporter.h', |
| 595 'sync/driver/sync_type_preference_provider.h', |
| 596 'sync/driver/sync_util.cc', |
| 597 'sync/driver/sync_util.h', |
| 598 'sync/driver/system_encryptor.cc', |
| 599 'sync/driver/system_encryptor.h', |
| 600 'sync/driver/ui_data_type_controller.cc', |
| 601 'sync/driver/ui_data_type_controller.h', |
| 602 'sync/driver/ui_model_type_controller.cc', |
| 603 'sync/driver/ui_model_type_controller.h', |
| 604 'sync/driver/user_selectable_sync_type.h', |
482 ], | 605 ], |
483 | 606 |
484 'conditions': [ | 607 'conditions': [ |
485 ['OS=="linux" and chromeos==1', { | 608 ['OS=="linux" and chromeos==1', { |
486 # Required by get_session_name.cc on Chrome OS. | 609 # Required by get_session_name.cc on Chrome OS. |
487 'dependencies': [ | 610 'dependencies': [ |
488 '../chromeos/chromeos.gyp:chromeos', | 611 '../chromeos/chromeos.gyp:chromeos', |
489 ], | 612 ], |
490 }], | 613 }], |
491 ['OS=="mac"', { | 614 ['OS=="mac"', { |
492 'link_settings': { | 615 'link_settings': { |
493 'libraries': [ | 616 'libraries': [ |
494 # Required by get_session_name_mac.mm on Mac. | 617 # Required by get_session_name_mac.mm on Mac. |
495 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framewor
k', | 618 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framewor
k', |
496 ] | 619 ] |
497 }, | 620 }, |
498 }], | 621 }], |
499 ['OS=="android"', { | 622 ['OS=="android"', { |
500 'dependencies': [ | 623 'dependencies': [ |
501 'sync_jni_headers', | 624 'sync_jni_headers', |
502 ], | 625 ], |
503 'sources': [ | 626 'sources': [ |
504 'sync/android/model_type_helper.cc', | 627 'sync/android/model_type_helper.cc', |
505 'sync/android/model_type_helper.h', | 628 'sync/android/model_type_helper.h', |
506 'sync/android/sync_jni_registrar.cc', | 629 'sync/android/sync_jni_registrar.cc', |
507 'sync/android/sync_jni_registrar.h', | 630 'sync/android/sync_jni_registrar.h', |
508 ], | 631 ], |
509 }], | 632 }], |
| 633 ['configuration_policy==1', { |
| 634 'dependencies': [ |
| 635 'components.gyp:policy', |
| 636 'components.gyp:policy_component', |
| 637 ], |
| 638 'sources': [ |
| 639 'sync/driver/sync_policy_handler.cc', |
| 640 'sync/driver/sync_policy_handler.h', |
| 641 ], |
| 642 }], |
510 ], | 643 ], |
511 }, | 644 }, |
512 { | 645 { |
513 # Contains sync protobuf definitions. Do not depend on this directly. | 646 # Contains sync protobuf definitions. Do not depend on this directly. |
514 # Depend on the 'sync' target to get the relevant C++ code, too. | 647 # Depend on the 'sync' target to get the relevant C++ code, too. |
515 # | 648 # |
516 # GN version: //components/sync/protocol | 649 # GN version: //components/sync/protocol |
517 'target_name': 'sync_proto', | 650 'target_name': 'sync_proto', |
518 'type': '<(component)', | 651 'type': '<(component)', |
519 'include_dirs': [ | 652 'include_dirs': [ |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
560 }, | 693 }, |
561 'includes': [ | 694 'includes': [ |
562 '../build/protoc.gypi' | 695 '../build/protoc.gypi' |
563 ], | 696 ], |
564 'defines': [ | 697 'defines': [ |
565 'SYNC_IMPLEMENTATION' | 698 'SYNC_IMPLEMENTATION' |
566 ], | 699 ], |
567 }, | 700 }, |
568 ], | 701 ], |
569 } | 702 } |
OLD | NEW |